Skip to main content
Glama

Answer a question from a call

answer_question
DestructiveIdempotent

Deliver the account holder's answer to a question an in-progress call is waiting on, identified by the call id and the question's request id from get_call_result; the request id is required, because it names which question is being answered when more than one is pending. The answer is spoken aloud to the person on the phone, so it carries the account holder's own words and facts, supplied by them. When they have not supplied an answer, the question is theirs to see rather than something to compose. A question that already expired or was answered returns delivered=false, which is safe to retry.

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>",
      "answer": "<answer>",
      "request_id": "<request_id>"
    },
    "name": "answer_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
answerYesThe account holder's answer, spoken aloud to the person on the call. 1 to 4000 characters.
call_idYesThe id of the call that is waiting on the question, as place_call returned it.
request_idYesThe request_id of the question being answered, from the call's pending_questions in get_call_result. Up to 64 characters.

Output Schema

NameRequiredDescriptionDefault
detailNoThe same outcome in plain words.
errorsNoOn a refused call request, every problem with target_phone and brief, each {field, error_code, message}; the first is error_code.
reasonNodelivered, or no_pending_request when no question was waiting.
statusYesok when the request was carried out. error when it was refused or failed; error_code and message say why.
call_idNoThe call the answer was for.
messageNoOn an error, what went wrong, in plain words.
deliveredNoTrue when the answer reached the call. False when the question had expired, was already answered, or the call ended; a retry with the same request_id is safe.
resume_atNoOn maintenance, when the announced pause ends (ISO 8601), when an end is set.
error_codeNoOn an error, a stable code for what went wrong, such as quota_exceeded, rate_limited, invalid_request, not_found, upstream_unavailable or internal_error. More codes may be added.
needed_creditsNoOn quota_exceeded, the credits the request needed, when known.
retry_after_secondsNoOn rate_limited, the seconds until the limit allows another request, when known.
user_action_requiredNoOn an error, true when the account holder has to do something first, such as add credits, wait out a limit or contact support; otherwise false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / errors
      Added value: +{
      +  "description": "On a refused call request, every problem with target_phone and brief, each {field, error_code, message}; the first is error_code.",
      +  "items": {
      +    "additionalProperties": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  "title": "Errors",
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Whether the account holder's answer reached the call, or an error with error_code and message.",
      +  "properties": {
      +    "call_id": {
      +      "description": "The call the answer was for.",
      +      "title": "Call Id",
      +      "type": "string"
      +    },
      +    "delivered": {
      +      "description": "True when the answer reached the call. False when the question had expired, was already answered, or the call ended; a retry with the same request_id is safe.",
      +      "title": "Delivered",
      +      "type": "boolean"
      +    },
      +    "detail": {
      +      "description": "The same outcome in plain words.",
      +      "title": "Detail",
      +      "type": "string"
      +    },
      +    "error_code": {
      +      "description": "On an error, a stable code for what went wrong, such as quota_exceeded, rate_limited, invalid_request, not_found, upstream_unavailable or internal_error. More codes may be added.",
      +      "title": "Error Code",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "On an error, what went wrong, in plain words.",
      +      "title": "Message",
      +      "type": "string"
      +    },
      +    "needed_credits": {
      +      "description": "On quota_exceeded, the credits the request needed, when known.",
      +      "title": "Needed Credits",
      +      "type": "integer"
      +    },
      +    "reason": {
      +      "description": "delivered, or no_pending_request when no question was waiting.",
      +      "title": "Reason",
      +      "type": "string"
      +    },
      +    "resume_at": {
      +      "description": "On maintenance, when the announced pause ends (ISO 8601), when an end is set.",
      +      "title": "Resume At",
      +      "type": "string"
      +    },
      +    "retry_after_seconds": {
      +      "description": "On rate_limited, the seconds until the limit allows another request, when known.",
      +      "title": "Retry After Seconds",
      +      "type": "integer"
      +    },
      +    "status": {
      +      "description": "ok when the request was carried out. error when it was refused or failed; error_code and message say why.",
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "title": "Status",
      +      "type": "string"
      +    },
      +    "user_action_required": {
      +      "description": "On an error, true when the account holder has to do something first, such as add credits, wait out a limit or contact support; otherwise false.",
      +      "title": "User Action Required",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "title": "AnswerQuestionResult",
      +  "type": "object"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / answer / description
      Added value: +"The account holder's answer, spoken aloud to the person on the call. 1 to 4000 characters."
    • addedInput schema / properties / call_id / description
      Added value: +"The id of the call that is waiting on the question, as place_call returned it."
    • addedInput schema / properties / request_id / description
      Added value: +"The request_id of the question being answered, from the call's pending_questions in get_call_result. Up to 64 characters."
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare destructive=true, openWorldHint=true and idempotent=true; the description earns credit by explaining why the action is consequential (the answer is spoken aloud to a live person, so it must be the account holder's own words) and by documenting the expired/already-answered case returning delivered=false as retry-safe, which is consistent with idempotentHint. It does not state what happens to competing pending questions or any authorization requirement, so it is strong but not exhaustive.

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 purpose and the required identifier come first, followed by the behavioral constraint and the retry semantics, so the ordering is front-loaded and logical. The semicolon-chained sentences are slightly dense and the 'theirs to see rather than something to compose' phrasing takes a beat to parse, but no sentence is filler.

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 full schema coverage, an output schema, and rich annotations already in place, the description supplies exactly the missing context: the real-world spoken delivery, the source of the request_id, and the outcome for stale or duplicate questions. Nothing an agent needs to call this correctly is absent.

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 the baseline is 3, but the description adds real meaning: request_id exists to disambiguate when multiple questions are pending, call_id ties back to place_call's return, and answer is characterized as verbatim speech rather than composed text. That is more than the schema fields alone convey.

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 and resource — deliver the account holder's answer to a pending question on an in-progress call — and pins down the identity pair (call_id + request_id) that scopes the action. It also names the sibling that produces the request_id (get_call_result), so an agent can distinguish this write from the read-side tools without opening a 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?

Usage context is explicit: it applies to an in-progress call waiting on a question, and the request_id is mandatory because multiple questions can be pending. It also gives a clear negative rule — if the account holder has not supplied an answer, do not compose one. It stops short of naming an alternative tool for that fallback case, which keeps it below a 5.

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.