Skip to main content
Glama

Confirm a number with the SMS code

confirm_caller_id_verification
DestructiveIdempotent

Verify a number with the code from the SMS. declarationAccepted must be true and only the person who holds the number may confirm it: they accept the declaration returned by list_caller_ids (that they are entitled to use the number and will remove the verification once they stop using it). Never set it to true on your own. After 5 wrong codes request a new one with start_caller_id_verification. Same data as POST /v1/caller-ids/verify (response schema in /openapi.json).

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": {
      "number": "<number>",
      "code": "<code>",
      "declarationAccepted": "<declarationAccepted>"
    },
    "name": "confirm_caller_id_verification"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe six digits from the SMS.
numberYesThe number that received the code.
declarationAcceptedYestrue only when the holder of the number has accepted the declaration.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds genuinely new behavior the annotations cannot carry — the attempt limit of 5 wrong codes before a restart, and the human-attestation requirement that only the number's holder may accept the declaration. It does not explain why the operation counts as destructive (consuming/creating a verification record) or what a failed vs. successful response contains beyond pointing to /openapi.json, which keeps this below a 5.

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 action, then the constraint, then the fallback, then the API mapping — a sensible order with no filler sentences. The parenthetical declaration definition is dense and slightly nested, which costs a point on readability but nothing is truly wasted.

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

Completeness4/5

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

For a three-parameter mutation with no output schema, the description covers the safety-critical semantics, the retry path, and explicitly redirects to /openapi.json for the response schema, which resolves the missing return-value documentation. What remains unstated is the error/precondition behavior (e.g. expiry of the code), a minor gap given the annotations.

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 coverage is 100% and each parameter is already documented, including code's six-digit format and number's role. The description reinforces declarationAccepted with a strong constraint ('Never set it to true on your own') and elaborates what the declaration obligates, but that is closer to an instruction than new per-parameter meaning, so the baseline of 3 is right.

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 ('Verify a number with the code from the SMS') and immediately situates it against siblings, naming list_caller_ids as the source of the declaration and start_caller_id_verification as the retry path. An agent can distinguish this from start_caller_id_verification without opening either 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 operational rule for the retry case ('After 5 wrong codes request a new one with start_caller_id_verification') and names the alternative for that path. It does not spell out preconditions for a first-time call (e.g. that a verification must already be in progress), so a small gap remains, but the when-to-use context is solid.

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.