Skip to main content
Glama

check_verification

Destructive

Check the code the end user typed for that number (same as POST /v1/verify/check). Returns {valid:true|false}; a wrong, expired or used code is valid:false. Never repeat the code in later messages.

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": {
      "phone": "<phone>",
      "code": "<code>"
    },
    "name": "check_verification"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes
phoneYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the annotations: it documents the return shape ({valid:true|false}) and the failure semantics for wrong, expired, or used codes. It also adds a security constraint about not repeating the code. It does not explicitly state that checking consumes or invalidates the code, though 'used code' implies that behavior and aligns with destructiveHint=true.

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 three tight sentences with the action and return semantics front-loaded. The endpoint reference and security note are useful, and there is no filler.

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 two-parameter tool with annotations and no output schema, the description covers the core return value and failure cases. The main gap is that it does not explicitly state the destructive/consuming nature of the check, though the 'used code' wording provides a strong hint.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It identifies 'code' as the code the end user typed and 'that number' as the phone being verified, but it does not explain the 6-digit code pattern or the phone length constraints present in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: 'Check the code the end user typed for that number.' It also anchors the action to the API endpoint. It is clear enough to distinguish this from send_verification or verification_status, but it does not explicitly name a sibling alternative.

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

Usage Guidelines3/5

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

The phrase 'the code the end user typed' implies the usage context: call this after the user submits a verification code. However, there is no explicit when-not guidance, no named alternative, and no prerequisites such as whether a verification must already have been sent.

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.