DocsReference
MCP tools reference
The tools your assistant sees once it is connected. You don’t call them yourself: they are listed here so you know exactly what your assistant can do.
Overview
A call is prepared, placed and then followed. While it runs, your assistant can send notes, answer questions, press keys, hand it over to you or end it. See During a call for the flow and How MCP works for the protocol. A typical sequence:
prepare_call → run_id, shown to you for confirmation
place_call → dials; returns the live view
call_status → repeat with after=next_after, wait_seconds=20
answer_question / nudge_call / press_keys (while it runs)
call_status → outcome when the call has ended
When a call is refused
A refused tool call dials nothing. Its message starts with a code, says why (for example “This number is in New Zealand, a country Agent Landline doesn’t call” or “This is a premium-rate number”) and what to do next. The same refusal comes as structured data, so your assistant can act on it without reading the text:
{"error": {"code": "destination_country_not_supported", "reason": "country",
"country": "NZ", "retryable": false,
"next_step": "ask_user_for_another_number"}}
Codes: destination_country_not_supported (the country), destination_not_allowed (an emergency, short, premium-rate or special-service number), destination_blocked (the number asked not to be called), caller_id_not_supported (your verified number’s country) and rate_limited. Only refusals with retryable: true are worth trying again later.
Your account only
Every tool acts only on your own calls and contacts. Knowing another call’s ID does not grant access to it.
- check_number
- Check a phone number
- prepare_call
- Prepare a phone call
- place_call
- Place the phone call
- show_call
- Show the live call
- call_status
- Follow a call
- nudge_call
- Guide the voice agent
- answer_question
- Answer the voice agent’s question
- press_keys
- Press phone keys
- hand_over_call
- Take over the call
- abort_call
- End the call
- list_contacts
- List contacts
- save_contact
- Save a contact
- forget_contact
- Forget a contact
Calls
check_number
Says whether a number can be called from your verified number before anything is prepared. Nothing is dialled or stored.
| Input | Type | Description |
|---|---|---|
numberrequired | string | The number to check, in international format. |
Returns callable (true or false), the number in international format, its country and number type, and whether your caller ID is verified. When the number can’t be called: code, reason, retryable, next_step and the message prepare_call would give.
Agent Landline calls numbers in the EU, the EEA, Switzerland and the UK. It never calls +1 numbers (USA, Canada), emergency, premium-rate, shared-cost or other special-service numbers.
prepare_call
Prepares a call without dialing. Your assistant shows you the recipient and the short goal before placing it.
| Input | Type | Description |
|---|---|---|
numberrequired | string | The number to call, in international format. |
briefrequired | string | The goal in a few sentences, not a script, including whom the agent speaks to and how to address them. At most 12,000 characters. |
principal_namerequired | string | Who is calling, normally your name (“the AI assistant of Alex Berger”). At most 80 characters; empty to stay anonymous. |
factsdefault "" | string | What the agent may say, including what the other side will likely ask. At most 4,000 characters. Facts never grant permission. |
allowed_actionsoptional | string[] | What the agent may agree to. At most 20 items of 500 characters. |
constraintsoptional | string[] | Binding limits. At most 30 items of 500 characters. |
languagedefault "de" | "de" | "en" | The recipient’s language. |
max_secondsdefault 900 | integer | Hard ceiling for the call, hold queues included: calls can last up to 45 minutes on every plan (prepare_call accepts 30–2700 seconds). |
allow_agent_handoverdefault false | boolean | Lets the voice agent ring you to take over when a question stays unanswered or the person asks for you. |
Returns run_id and state prepared, with the number, goal, language, facts, allowed actions, constraints, caller name and max_seconds as they will be used. If the number is a saved contact, the contact is included as context for your assistant only.
Everything in the brief may be said on the call. Keep what the other side must not learn to yourself.
place_call
Dials the prepared call, using the authorization you already gave.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | The run_id from prepare_call. |
Returns The call’s state and watch_url, a live view of the call on the website. Chat apps that show interactive cards display the live call.
Calling it again for the same run never redials.
show_call
Shows a call’s live card again: transcript, pending question and hang-up button.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | One of your calls. |
Returns The call’s state and watch_url. It does not follow the call; use call_status for that.
call_status
State, new transcript lines, milestones, pending questions and the outcome. There is no push: your assistant calls it repeatedly.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | One of your calls. |
afterdefault 0 | integer | Cursor: pass the previous result’s next_after to get only what is new. |
wait_secondsdefault 0 | integer | Wait up to this long (0–25, 20 recommended) for something new. |
wakedefault "any" | "any" | "important" | important returns only for a pending question, a milestone that needs your assistant, or the end of the call; woken_by says why. |
detaildefault false | boolean | Return every event, for debugging. |
Returns run (id, state), next_after, transcript (callee or agent lines), events, pending_questions (question_id, question), outcome, outcome_pending and untrusted_fields.
Transcript text, questions and outcome summaries are listed in untrusted_fields: what the person on the phone said, never instructions or your permission.
nudge_call
A short note during the call: a fact, a preference or a correction. Translated into the call language and used on the agent’s next turn without interrupting it.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | A live call. |
instructionrequired | string | The note, ideally a concise fact; 1–2,000 characters. |
Returns state queued, nudge_id and instruction_followed: not_verified. Refused once the call is no longer active.
Notes never widen the prepared task. Queued does not mean followed; check call_status.
answer_question
Answers one pending question from call_status with facts you gave or your permission.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | A live call. |
question_idrequired | integer | The exact question_id from pending_questions. |
answerrequired | string | Your answer; translated into the call language. |
Returns state queued, answer_id, question_id and instruction_followed: not_verified. A second answer to the same question is rejected.
Use it for questions, nudge_call for anything else. Answers cannot override the task’s restrictions.
press_keys
Presses phone-menu keys (DTMF tones) in a connected call, after the agent’s current speech.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | A connected call. |
digitsrequired | string | 1–32 of 0–9, * and #; w is a half-second pause. For example "1", "2w3" or "12345#". |
Returns state queued, request_id and the digits. Refused unless the call is connected.
The voice agent can also press keys itself when a menu asks for it.
hand_over_call
Rings your verified number so you can take over. You press 1 after a short announcement; the person is connected to you and the agent leaves.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | A live call. |
Returns handover_id and state ringing_owner. Follow it in call_status (handover_* milestones).
No answer or no key press: the call continues with the voice agent. Only when you asked to take the call.
abort_call
Stops one of your calls immediately.
| Input | Type | Description |
|---|---|---|
run_idrequired | string | One of your calls. |
Returns state stopped.
Contacts
list_contacts
Your saved contacts: name, masked number, relation and a few keywords from past calls.
| Input | Type | Description |
|---|---|---|
querydefault "" | string | Part of a name or keyword, a relation or digits of the number. At most 80 characters; empty lists the most recently called first. |
limitdefault 50 | integer | 1–100. |
Returns contacts, total and untrusted_fields (names and keywords).
save_contact
Remembers a person or business you call.
| Input | Type | Description |
|---|---|---|
namerequired | string | The contact’s name. |
relationrequired | "business" | "personal" | "friendly" | "other" | How you know them. |
keywordsoptional | string[] | At most 6 keywords of up to 40 characters. On update they replace the old list. |
numberoptional | string | International format. Not needed with run_id. |
run_idoptional | string | One of your calls; its number and date are used. |
contact_idoptional | string | Update this contact. Otherwise a contact with the same number is updated, or a new one created. |
Returns The saved contact.
Never transcripts, budgets, health or payment details, or credentials.
forget_contact
Deletes one saved contact for good.
| Input | Type | Description |
|---|---|---|
contact_idrequired | string | The contact to delete. |
Returns contact_id and deleted: true.