Skip to main content
Glama

Restore a verified number

restore_verified_number
DestructiveIdempotent

Staff only. Puts back a verified number on a seat after its row was lost. Updates the existing row when there is one, never adds a second. Set was_verified true only for a number that was verified before; otherwise nothing changes. forwarding_did_id records the pool number the SIM diverts into. The seat's login number is not changed. Without confirm it shows what would be restored.

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": {
      "consumer_user_id": "<consumer_user_id>",
      "phone_number": "<phone_number>",
      "was_verified": "<was_verified>"
    },
    "name": "restore_verified_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoStores the number.
phone_numberYesThe mobile number, international format.
was_verifiedYesTrue when this number was verified before.
consumer_user_idYesSeat that gets the number.
forwarding_did_idNoPool number the SIM diverts into, if any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=true), it discloses the auth requirement, the idempotent update-in-place guarantee, the preview-without-confirm behavior, and the explicit non-effect ('The seat's login number is not changed'). That is exactly the context an agent needs before invoking a destructive mutation.

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

Conciseness5/5

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

Five short sentences, front-loaded with the access restriction and the core action, with no restatement of the title or schema. Each sentence carries a distinct operational fact.

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 5-parameter destructive mutation with no output schema, it covers auth, idempotency, preview mode, and unaffected fields. The remaining gap is what happens to any number currently on the seat and what the preview response contains, which the agent can only infer.

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 a 3 would be baseline, but the description adds real meaning: the conditional semantics of was_verified, the meaning of forwarding_did_id as the pool number the SIM diverts into, and that confirm switches from preview to actual storage. Only consumer_user_id gets no elaboration beyond the schema text.

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 names a specific verb and resource ('Puts back a verified number on a seat') plus the triggering condition ('after its row was lost') and the access restriction ('Staff only'). It also pre-empts confusion with an add-style sibling by stating it 'never adds a second' row.

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 concrete when-to-use gating: staff-only, only when was_verified is truly true ('otherwise nothing changes'), and the dry-run path ('Without confirm it shows what would be restored'). It does not name an alternative sibling tool by name, which keeps it short of 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.