Skip to main content
Glama

CallMeMCP: phone call and text notifications from your AI

Wait for a text reply

wait_for_reply
Read-onlyIdempotent

Wait for the human to send something back to this session — texts and voicemail transcripts arrive here. Long-polls up to wait_s (max 30s); returns {events, cursor, session_token}. Pass the returned cursor next time to only see new events. An empty events list just means nothing yet — poll again if you are still waiting. To listen before you have texted or called, pass to (and from_label) instead of a session_token: this session's thread then shows on their phone with a call button, and nothing is sent or rung. Then name it with set_thread_title (a title and a one-line summary) once you know what the human wants.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wait_for_reply"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe human's 10-digit Call Me number, from My Number in the app (not a regular phone number). Local clients read it from ~/.aiphone/config.json user_number. In a host without file access, reuse a number given earlier in this chat, but do not claim it is saved across chats. Omit it only to get setup_required with the download links.
cursorNoThe cursor from the previous result; 0 the first time.
wait_sNoHow long to wait for something to arrive, 0 to 30 seconds.
from_labelNoWho is calling, shown on their phone and spoken: e.g. "Claude on my laptop".Someone's AI
session_tokenNoA session_token from an earlier result, to stay in that thread. Omit on first contact.

Output Schema

NameRequiredDescriptionDefault
cursorYesPass back as cursor next time to see only newer events.
eventsYesNew events since the cursor; empty means nothing yet.
session_tokenNoThis session's token, to pass to every later call, text and wait_for_reply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / from_label
      Added value: +{
      +  "default": "Someone's AI",
      +  "description": "Who is calling, shown on their phone and spoken: e.g. \"Claude on my laptop\".",
      +  "title": "From Label",
      +  "type": "string"
      +}
    • addedInput schema / properties / session_token / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / session_token / default
      Added value: +null
    • changedInput schema / properties / session_token / description
      Previous value: -"The session_token from an earlier result. It keeps every call and text in one thread on their phone."New value: +"A session_token from an earlier result, to stay in that thread. Omit on first contact."
    • removedInput schema / properties / session_token / type
      Removed value: -"string"
    • addedInput schema / properties / to
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The human's 10-digit Call Me number, from My Number in the app (not a regular phone number). Local clients read it from ~/.aiphone/config.json user_number. In a host without file access, reuse a number given earlier in this chat, but do not claim it is saved across chats. Omit it only to get setup_required with the download links.",
      +  "title": "To"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "session_token"
      -]
    • addedOutput schema / properties / session_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "This session's token, to pass to every later call, text and wait_for_reply.",
      +  "title": "Session Token"
      +}
  2. Changed4 schema fields changed
    • addedInput schema / properties / cursor / description
      Added value: +"The cursor from the previous result; 0 the first time."
    • 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."
    • addedInput schema / properties / wait_s / description
      Added value: +"How long to wait for something to arrive, 0 to 30 seconds."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "ReplyEvent": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "created_at": {
      +          "description": "When it arrived (ISO 8601, UTC).",
      +          "title": "Created At",
      +          "type": "string"
      +        },
      +        "id": {
      +          "description": "Event id; the cursor moves past it.",
      +          "title": "Id",
      +          "type": "integer"
      +        },
      +        "payload": {
      +          "additionalProperties": true,
      +          "description": "The event's content, e.g. the message body.",
      +          "title": "Payload",
      +          "type": "object"
      +        },
      +        "type": {
      +          "description": "What arrived, e.g. a text or a voicemail.",
      +          "title": "Type",
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "type",
      +        "payload",
      +        "created_at"
      +      ],
      +      "title": "ReplyEvent",
      +      "type": "object"
      +    }
      +  },
      +  "additionalProperties": true,
      +  "properties": {
      +    "cursor": {
      +      "description": "Pass back as cursor next time to see only newer events.",
      +      "title": "Cursor",
      +      "type": "integer"
      +    },
      +    "events": {
      +      "description": "New events since the cursor; empty means nothing yet.",
      +      "items": {
      +        "$ref": "#/$defs/ReplyEvent"
      +      },
      +      "title": "Events",
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "events",
      +    "cursor"
      +  ],
      +  "title": "RepliesResult",
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only/idempotent annotations, it discloses long-polling up to 30s, the returned event/cursor/session token fields, the meaning of an empty list, and the first-contact side effect that the thread appears on the human's phone with nothing sent or rung. That is substantive behavioral context.

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?

The description is front-loaded with the core wait behavior, then mechanics, then the first-contact alternative. It is somewhat dense and includes return-shape details already covered by the output schema, but the length is reasonable for a five-parameter tool with two modes.

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?

With annotations, full schema coverage, and an output schema, the definition supplies enough to call the tool correctly in both modes, including cursor reuse and follow-up naming. No critical behavior for this wait operation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so parameter definitions are already documented. The description still adds cross-parameter meaning: reusing cursor to see only new events, and using to/from_label instead of session_token for pre-contact listening. It does not deepen every parameter beyond the schema, so 4 rather than 5.

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?

The description states a specific verb ('wait') and resource ('human reply'), names the event types ('texts and voicemail transcripts'), and distinguishes the first-contact mode from the session-token mode. It also points to set_thread_title as the follow-up naming step, so an agent can separate this from at least one sibling.

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?

It gives clear usage conditions: call it while waiting, poll again on empty events, and use `to`/`from_label` before texting or calling. It does not explicitly state when not to use it or spell out a non-waiting alternative, so this is strong but not fully explicit.

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.