Skip to main content
Glama

Country Calling Codes

Format International Phone Number

format_international_phone_number
Read-onlyIdempotent

Normalize a phone number into a plausible international format using reviewed country-specific rules. Processing is ephemeral. This tool does not query carriers, HLR/HSS, MNP databases, or live subscribers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryCodeNoOptional ISO 3166-1 alpha-2 country context, such as GB.
phoneNumberYesPhone number to format. It is processed ephemerally and is not stored.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
resultYes
limitationsYes

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description adds that processing is 'ephemeral' and that the tool does not query live carrier databases. This is valuable contextual information about the tool's offline, non-validating nature, going beyond what readOnlyHint and idempotentHint already convey.

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 two concise sentences, with the primary purpose front-loaded in the first sentence and supplementary behavioral details in the second. There is no redundant wording or unnecessary information, making it efficiently structured.

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

Completeness5/5

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

The description is complete for this simple tool: it covers purpose, privacy (ephemeral processing), and scope (carrier-query exclusion). Given the full schema, annotations, and output schema, no critical information is missing for an agent to decide whether and how to invoke the tool.

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?

The input schema provides 100% coverage for both parameters with clear descriptions. The tool description does not significantly expand on the parameters, merely implying that countryCode supplies country context. Since the schema already does the heavy lifting, the description adds little parameter-specific value.

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 uses a specific verb ('Normalize') and clearly identifies the resource ('a phone number') and the outcome ('international format'). It also mentions 'reviewed country-specific rules,' which distinguishes it from the sibling tool that merely looks up country calling codes, avoiding confusion with validation or live lookup.

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 explicitly states what the tool does not do ('does not query carriers, HLR/HSS, MNP databases, or live subscribers'), providing a clear boundary for when not to use it. However, it does not explicitly name the sibling tool as an alternative, so the guidance is clear but not fully explicit.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: one formats phone numbers into international format, the other looks up country calling codes. No overlap in functionality.

Naming Consistency5/5

Both tool names follow a consistent verb_noun pattern with underscores (format_international_phone_number, lookup_country_calling_code), making them predictable and readable.

Tool Count4/5

With only two tools, the server is minimal but appropriate for its narrow domain. While slightly under the typical range, each tool serves a distinct and necessary function.

Completeness4/5

The tool set covers the core workflow of looking up a country code and formatting a number. Minor gaps like validation or listing all codes exist, but they are not essential to the stated purpose.

Resources