Skip to main content
Glama

CallMeMCP: phone call and text notifications from your AI

Get call result

poll_result
Read-onlyIdempotent

Check on a call that came back "ringing", "in_call" or "playing". Waits up to ~25s for it to settle, then returns the same shape as call: the final status and transcript once they answer, decline, or the ring times out ("missed", within about a minute). Still not settled: call it again. For play_audio calls it reports listened_s and finished. Rings nothing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "call_id": "<call_id>",
      "session_token": "<session_token>"
    },
    "name": "poll_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
call_idYesThe call_id from the call or play_audio result.
session_tokenYesThe session_token from an earlier result. It keeps every call and text in one thread on their phone.

Output Schema

NameRequiredDescriptionDefault
fromNoYour own agent number. Never call or text it.
nextNoWhat to do next when the call has not settled.
openNoTrue while the line stays up for say or hang_up.
turnNoIndex of the answer within a conversation.
titleNoplay_audio: the recording's title.
statusYes"completed" (answered), "ringing" or "in_call" (not settled: poll_result), "missed", "declined", "ended", "hanging_up", "playing" (play_audio), or "setup_required" when no number was given.
textedNoTrue when the call was not rung but delivered as a text, because they had stopped picking up. Do not text it again.
call_idNoPass to poll_result, say and hang_up.
unheardNoPresent when their answer came back from speech recognition as noise in the wrong alphabet and was dropped: why, and what to do.
audio_idNoplay_audio: the recording that was offered.
back_offNoTrue when they have stopped picking up your calls: text instead, and call only when it cannot wait or they asked (urgent).
finishedNoplay_audio: whether they heard it to the end.
languageNoLanguage code the recognizer heard, information only.
listenedNoplay_audio: whether they chose to listen.
duration_sNoplay_audio: its length in seconds.
listened_sNoplay_audio: seconds they listened.
message_idNoThe text a call was delivered as, when texted is true.
transcriptNoWhat the human said; empty if they only listened.
audio_errorNoplay_audio: why the recording could not be played.
interruptedNoPresent when they cut in while you were still speaking: how much of your line they heard. Their answer is what they said when they cut in.
back_off_noteNoWhat back_off means for your next step, in a sentence.
language_nameNoThat language's name.
reached_phoneNoFalse when the ring could not reach their phone at all (an Android phone whose app was not running): not a call they ignored.
session_tokenNoReuse in later calls and texts to stay in one thread.
unanswered_callsNoHow many of your calls in a row they have not picked up; present from 3.
reached_phone_noteNoWhy the ring could not reach their phone, and what to do.
said_while_waitingNoWhat they said while you were thinking; each remark also reached you as a message when it was said.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedOutput schema / properties / back_off
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "True when they have stopped picking up your calls: text instead, and call only when it cannot wait or they asked (urgent).",
      +  "title": "Back Off"
      +}
    • addedOutput schema / properties / back_off_note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "What back_off means for your next step, in a sentence.",
      +  "title": "Back Off Note"
      +}
    • addedOutput schema / properties / interrupted
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present when they cut in while you were still speaking: how much of your line they heard. Their answer is what they said when they cut in.",
      +  "title": "Interrupted"
      +}
    • addedOutput schema / properties / message_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The text a call was delivered as, when texted is true.",
      +  "title": "Message Id"
      +}
    • addedOutput schema / properties / reached_phone
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "False when the ring could not reach their phone at all (an Android phone whose app was not running): not a call they ignored.",
      +  "title": "Reached Phone"
      +}
    • addedOutput schema / properties / reached_phone_note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Why the ring could not reach their phone, and what to do.",
      +  "title": "Reached Phone Note"
      +}
    • addedOutput schema / properties / texted
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "True when the call was not rung but delivered as a text, because they had stopped picking up. Do not text it again.",
      +  "title": "Texted"
      +}
    • addedOutput schema / properties / unanswered_calls
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "How many of your calls in a row they have not picked up; present from 3.",
      +  "title": "Unanswered Calls"
      +}
    • addedOutput schema / properties / unheard
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Present when their answer came back from speech recognition as noise in the wrong alphabet and was dropped: why, and what to do.",
      +  "title": "Unheard"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / said_while_waiting / description
      Previous value: -"What they said while you were thinking."New value: +"What they said while you were thinking; each remark also reached you as a message when it was said."
  3. Changed3 schema fields changed
    • addedInput schema / properties / call_id / description
      Added value: +"The call_id from the call or play_audio result."
    • addedInput schema / properties / session_token / description
      Added value: +"The session_token from an earlier result. It keeps every call and text in one thread on their phone."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "audio_error": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "play_audio: why the recording could not be played.",
      +      "title": "Audio Error"
      +    },
      +    "audio_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "play_audio: the recording that was offered.",
      +      "title": "Audio Id"
      +    },
      +    "call_id": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Pass to poll_result, say and hang_up.",
      +      "title": "Call Id"
      +    },
      +    "duration_s": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "play_audio: its length in seconds.",
      +      "title": "Duration S"
      +    },
      +    "finished": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "play_audio: whether they heard it to the end.",
      +      "title": "Finished"
      +    },
      +    "from": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Your own agent number. Never call or text it.",
      +      "title": "From"
      +    },
      +    "language": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Language code the recognizer heard, information only.",
      +      "title": "Language"
      +    },
      +    "language_name": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "That language's name.",
      +      "title": "Language Name"
      +    },
      +    "listened": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "play_audio: whether they chose to listen.",
      +      "title": "Listened"
      +    },
      +    "listened_s": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "play_audio: seconds they listened.",
      +      "title": "Listened S"
      +    },
      +    "next": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "What to do next when the call has not settled.",
      +      "title": "Next"
      +    },
      +    "open": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "True while the line stays up for say or hang_up.",
      +      "title": "Open"
      +    },
      +    "said_while_waiting": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "What they said while you were thinking.",
      +      "title": "Said While Waiting"
      +    },
      +    "session_token": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Reuse in later calls and texts to stay in one thread.",
      +      "title": "Session Token"
      +    },
      +    "status": {
      +      "description": "\"completed\" (answered), \"ringing\" or \"in_call\" (not settled: poll_result), \"missed\", \"declined\", \"ended\", \"hanging_up\", \"playing\" (play_audio), or \"setup_required\" when no number was given.",
      +      "title": "Status",
      +      "type": "string"
      +    },
      +    "title": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "play_audio: the recording's title.",
      +      "title": "Title"
      +    },
      +    "transcript": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "What the human said; empty if they only listened.",
      +      "title": "Transcript"
      +    },
      +    "turn": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "Index of the answer within a conversation.",
      +      "title": "Turn"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "title": "CallResult",
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses the blocking wait (~25s), the ring timeout window ("missed", within about a minute), retry semantics, and that play_audio results carry listened_s and finished. It also confirms no side effect ("Rings nothing"), which is exactly the kind of context annotations alone don't convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the preconditions, then the wait behavior, then the return shape and retry rule. Slightly cluttered by quoted status tokens and the fragment "Rings nothing", though that fragment does carry real meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a polling tool: it covers when to call, how long it blocks, what a settled vs. unsettled result means, and what to do next, despite an output schema already existing. No behavioral question an agent needs in order to call it correctly is left open.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both call_id and session_token are already documented with their provenance. The description adds little parameter-level detail beyond restating that call_id comes from a call or play_audio result, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (poll/check) and resource (an in-progress call) and names the exact states it applies to: "ringing", "in_call" or "playing". The phrase "Rings nothing" plus "returns the same shape as `call`" distinguishes it cleanly from the call-initiation sibling without requiring the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear triggering condition (only for calls in ringing/in_call/playing) and an explicit retry instruction when the result is still unsettled. It does not name alternative tools such as hang_up or wait_for_reply, so the agent must infer routing from state rather than from an explicit alternative list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.