Skip to main content
Glama

E.164 International Phone Check

e164_check
Read-onlyIdempotent

Validate a phone number's E.164 structure (+CC, 8-15 digits, no leading zero) before dispatching SMS alerts or OTPs. Returns signed XDR-1 receipt.

Input Schema

NameRequiredDescriptionDefault
phoneYesInternational phone number, e.g. +14155552671.

Output Schema

NameRequiredDescriptionDefault
toolNo
scopeNo
validYes
reasonYes
countryNo
normalizedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is covered without prose. The description adds one genuinely new behavioral fact — a signed XDR-1 receipt is returned — but says nothing about what happens when validation fails (error vs. result field) or any rate limits.

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?

Two sentences, zero filler, and the core definition is front-loaded before the situational rationale. Nothing would be lost by keeping it exactly as is.

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?

With one required parameter, full schema coverage and an output schema present, the description needn't explain return shape, and it correctly frames the check as structural rather than deliverability. The one gap is failure behavior — whether an invalid number raises an error or returns a negative verdict.

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% and the single parameter is documented with an example, so the baseline is 3. The description goes beyond the schema by defining validity precisely (+CC prefix, 8-15 digits, no leading zero), which is real meaning the schema does not contain.

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?

States a specific verb (Validate) and resource (E.164 phone number) and even spells out the structural rule set (+CC, 8-15 digits, no leading zero), so the agent knows precisely what operation is performed. It does not, however, distinguish itself from potential overlap with siblings such as batch_validate, which likely performs the same check in bulk.

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 phrase 'before dispatching SMS alerts or OTPs' gives a concrete triggering context, which is stronger than implied usage. It stops short of explicit exclusions or naming alternatives (e.g., batch_validate for multiple numbers, or a deliverability lookup for reachability).

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.