Skip to main content
Glama

Submit verification

submit_phone_number_verification

Submit verification

Submits the identity, address and document proofs demanded for a regulated number. Upload the document files first and pass their identifiers in proofs; which document types are accepted and how many are needed comes from the requirement endpoint. The submission is forwarded to the registry and the number moves to the pending verification state, from where the status endpoint reports progress. A number that needs no verification is rejected with 400, and a number already approved or already awaiting review is rejected with 409, so a rejected submission must be corrected and sent again rather than duplicated.

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": {
      "phoneNumberId": "<phoneNumberId>",
      "body": "<body>"
    },
    "name": "submit_phone_number_verification"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe verification package. `identityType` picks between a personal and a business identity and decides which of the optional identity fields are mandatory, per the requirement set. `phoneNumberField` is the contact number of the identity, not the number being verified. `countryId` is the registry country identifier and is used for both the identity and the address. `addressLine`, `cityName` and `postalCode` are the registered address. Each entry in `proofs` names an uploaded file, the document type it satisfies and whether it proves the identity or the address.
phoneNumberIdYesIdentifier of the phone number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the state transition to `pending`, the forwarding of the submission to the registry, and the concrete 400/409 rejection semantics. The non-idempotent behaviour declared in annotations is reinforced with actionable meaning: a rejected submission must be fixed and resent rather than duplicated.

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?

A single dense paragraph that front-loads the action, then the prerequisite, then the state and error behaviour. No wasted sentences, though the duplicated title line 'Submit verification' adds nothing.

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 mutation with no output schema, it covers enough: where the number ends up (`pending`), how progress is read (status endpoint), and why submissions fail. It does not describe the immediate response payload, but it redirects the agent to the status endpoint, which is adequate.

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 description coverage is already 100%, including a thorough explanation of the nested `body`, so the baseline is 3. The description still adds value by tying `proofs` to a prior file-upload step and by naming the requirement endpoint as the authority on document types and counts, which the schema does not say.

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: submits identity, address and document proofs for a regulated phone number. It also distinguishes itself from the read-side siblings by pointing to the status endpoint for progress reporting and to the requirement endpoint for accepted document types.

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

Usage Guidelines5/5

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

Gives an explicit prerequisite (upload document files first, then pass their identifiers in `proofs`) and routes the agent to the requirement endpoint to learn which document types and how many are needed. It also explains the failure paths: 400 when verification is not needed, 409 when already approved or already pending, plus the instruction to correct and resubmit rather than duplicate.

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.