Skip to main content
Glama

ContactLint

validate_phone

Parse and validate a phone number: valid, possible, type, region, E.164 and national formats. Uses 1 check.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
phoneYes
countryNoISO 3166-1 alpha-2 default region, e.g. US

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It discloses the output shape (valid, possible, type, region, formats) since there is no output schema, which is useful. However it says nothing about rate limits, network/API dependence, failure modes, or what 'Uses 1 check' concretely means.

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?

A single compact sentence that front-loads the verb and lists outputs efficiently. The trailing 'Uses 1 check' is vague and slightly lowers clarity, but overall there is little waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because no output schema exists, the description usefully enumerates the returned fields, which is the right thing to do. But it leaves the required phone parameter format unspecified and omits any behavioral or usage context, so it is only minimally complete for a two-parameter validation tool.

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 coverage is 50%: 'country' is documented, but the required 'phone' parameter has no description in either place. The description mentions 'region' and 'national formats' only as outputs and adds nothing about the phone input format or how country interacts as a default region.

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?

Specific verb ('parse and validate') plus resource ('a phone number'), and it enumerates the returned aspects (valid, possible, type, region, E.164/national formats). It is clearly a phone validator versus the sibling validate_email, though the differentiation is only by resource, not stated explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no alternatives named. An agent gets no help deciding between this and validate_email or when a phone check is warranted. 'Uses 1 check' reads as a technical aside rather than routing guidance.

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