Phone number validation MCP. Keyless, offline phone-number parsing & validation against the E.164 / ITU-T calling-code plan: detect the country, normalize to E.164, and check the national-number length is plausible.
Two tools with complete input schemas and descriptions. validate_phone has a well-structured schema with required/optional params and clear descriptions (pattern:tool, pattern:tool-description). country_calling_codes is simpler but functional. Both descriptions exceed 20 chars and explain purpose clearly. However, output schemas are not documented, LLMs cannot infer what fields to expect in responses. No error handling guidance, no parameter constraints (enums, ranges), and no indication of idempotency or side effects. Naming follows verb_noun convention (validate_*, country_*) but lacks action clarity, 'country_calling_codes' is a noun phrase rather than 'get_country_calling_codes' or 'lookup_country_calling_codes'. No tool annotations (readOnlyHint, etc.). Descriptions are adequate (194-char baseline) but could be more LLM-optimized with explicit 'when to use' and 'what it returns' sections.
Look up international calling (dialing) codes. With no args, lists all. Pass `query` to filter by country name, ISO code, or calling code (e.g. "germany", "DE", "49").
Validate & parse a phone number against the E.164 / ITU calling-code plan (keyless, offline). Detects the country, normalizes to E.164, and checks the national-number length is plausible. Pass an international number (e.g. "+33 1 23 45 67 89") OR a national number plus a `country` ISO code (e.g. phone="020 7946 0958", country="GB"). Does NOT determine carrier or mobile-vs-landline (that needs a keyed HLR lookup).
Output schemas not documented. LLMs cannot infer what fields validate_phone and country_calling_codes return, forcing them to guess at response structure and risking failed downstream tool chains.
Tool names lack action verbs. 'country_calling_codes' is a noun phrase; should be 'get_country_calling_codes' or 'lookup_country_calling_codes' to signal intent clearly to LLMs.
No parameter constraints (enums, ranges, patterns). 'country' param accepts any string; should declare valid ISO 3166 alpha-2 codes as an enum or pattern to prevent invalid input.
No error handling guidance. Descriptions do not explain what happens on invalid input (e.g. malformed phone, unknown country code) or how LLMs should recover.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
No tool annotations. Tools lack readOnlyHint, destructiveHint, or idempotentHint metadata to signal safety and retry behavior to agents.