Skip to main content
Glama

Validators: UK phone number

validators__uk-phone
Read-onlyIdempotent

Classify a UK number (mobile, landline, freephone, premium…) and format as E.164. Free within the daily allowance, then $0.0005 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
numberYesPhone number

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/openWorld/destructive=none, so the safety profile is free. The description adds meaningful non-structured behavior: a pricing model (free within the daily allowance, then $0.0005 USDC per call via x402). It stops short of describing handling of invalid or non-UK numbers.

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, front-loaded with the core capability and followed by the billing caveat. No filler or redundant restatement of the 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?

An output schema exists, so return values need no explanation, and the description covers capability and cost. It is nearly complete for a single-param validator, with only error/invalid-input behavior unaddressed.

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?

Single required parameter with 100% schema description coverage, so the schema already carries the definition. The description only implies the input is a UK number without adding format or normalization guidance, matching the baseline for well-covered schemas.

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?

States specific verbs (classify, format) and a specific resource (UK phone number), plus the classification taxonomy and E.164 output format. It is clearly distinguishable from siblings like validators__uk-postcode and validators__email without opening any schema.

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?

Usage is implied by the resource name: use it for UK phone numbers. There is no explicit when-to-use/when-not guidance or named alternative, though the siblings are functionally distinct enough that routing ambiguity is low.

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