Skip to main content
Glama

Phone Validation

phone_validate
Read-onlyIdempotent

Validate + enrich a phone number in 200+ countries. Returns E.164/national/international formatting, country, number-type (mobile/fixed/VoIP/toll-free/premium), carrier (where libphonenumber has data), timezones, disposable-carrier flag, and a risk band (low/moderate/elevated/high) for sign-up fraud screening.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phoneYesPhone number in E.164 (+14155551212), national (415-555-1212), or international form.
default_regionNoISO-3166-1 alpha-2 country code for ambiguous national-only inputs.US

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds valuable functional transparency by listing exact return categories, noting carrier data is provided 'where libphonenumber has data,' and describing the risk band purpose. It does not contradict annotations and provides context beyond the safety flags.

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?

The description is a single dense sentence that front-loads the core action and then efficiently lists the enrichment outputs. Every clause adds useful information, with no filler or repetition of the tool name or title.

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?

Given there is no output schema, the description does a good job enumerating return fields and including caveats such as carrier data availability. It could be more complete by specifying validity/error behavior for invalid numbers, but the listed fields give an agent sufficient understanding of the tool's scope and result shape.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents both phone and default_region, including formats and the default country code. The description reinforces that the tool handles E.164/national/international inputs but does not add meaningful new parameter-level semantics beyond the schema.

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 opens with a specific verb and resource: 'Validate + enrich a phone number in 200+ countries.' It enumerates concrete enrichment outputs (formatting, country, number type, carrier, timezones, risk band), which clearly distinguishes it from sibling tools like email_validate or address_validate. The purpose is unambiguous.

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 clearly implies usage for phone number validation and sign-up fraud screening via the risk band mention. It does not explicitly name alternatives or state when not to use the tool, so it falls short of the 'explicit alternatives' bar, but the context is clear enough for an agent to select it appropriately.

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