Skip to main content
Glama

phone_check

Read-onlyIdempotent

Normalise any phone number to E.164, and say what is knowable — Turn the many ways a phone number gets typed into one E.164 string: strips spacing, brackets, the 00 international prefix and the national trunk zero people include out of habit. Returns country, calling code, national number, and whether the length matches that country's numbering plan. Line type (mobile / fixed) is reported ONLY for countries whose ranges are unambiguous and is null elsewhere with a reason — never guessed. Offline: it does not check that the number is assigned or reachable. Required input: phone. Priced $0.002 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No wallet or API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phoneYesPhone number
countryNoCalling code, if the number has no +

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / description
      Previous value: -"The result payload. Shape is service-specific; every field is documented in the service description above."New value: +"The result payload. Shape is service-specific; every field is documented in the tool description."
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "data"
      -]
  3. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, openWorld, non-destructive), the description discloses key behavioural traits: it never guesses line type, returns null with a reason, does not check number assignment or reachability, and operates offline. It also tells the agent about pricing and auth requirements, which affect whether the tool can be invoked. This is rich, non-redundant context.

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 longer than average but every major clause contributes: main purpose, output semantics, confidence caveat, offline limitation, required input, and authentication. It is front-loaded with the core purpose and moves to edge behaviour and operational details. The pricing/auth sentence is slightly dense but still earns its place for invocation feasibility.

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?

Given that an output schema exists and annotations cover read-only, idempotent, non-destructive behaviour, the description still provides the missing operational and behavioural context: offline nature, no assignment checking, line-type null semantics, required phone input, and payment/auth model. An agent has enough detail to select and invoke the tool correctly.

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?

The schema already describes 'phone' as a string, and coverage is 100%, so the baseline is 3. The description adds real semantic value by explaining that the input may appear in many typed formats and will be normalized to E.164, including stripping spacing, brackets, prefixes, and trunk zeros. It also highlights 'Required input: phone', reinforcing the one required parameter.

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 clearly states a specific action — normalise any phone number to E.164 — and enumerates the output: country, calling code, national number, line type. It distinguishes the tool's unique niche among the sibling set (no other phone-related sibling exists), and the 'knowable' framing communicates scope. No ambiguity about what the tool does.

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?

The description gives clear contexts: use for normalizing messy phone input and extracting knowable attributes; use with the expectation that it is offline and does not verify assignment or reachability. It explicit conditions for line-type reporting ('ONLY for countries whose ranges are unambiguous') and tells the agent that null is a valid, intentional response. It does not explicitly name an alternative tool, but no close alternative appears among siblings, so the gap is minor.

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.

Resources