Skip to main content
Glama

Country Calling Codes

Lookup Country Calling Code

lookup_country_calling_code
Read-onlyIdempotent

Look up international country calling codes by free text, ISO code, dial code, or region. Optionally return reviewed, source-linked dialing examples. This tool does not verify live subscriber numbers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoFree-text search, such as "United Kingdom", "London", or "AUS".
codeNoISO 3166-1 alpha-2 or alpha-3 code, such as GB or GBR.
limitNoMaximum number of countries to return.
regionNoOptional region filter.
dialCodeNoCalling code with or without plus sign, such as +44 or 44.
includeExamplesNoWhen true, include reviewed safe mobile/landline patterns, transformation rules, source URLs, and lastVerified metadata.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
queryYes
countriesYes

TDQS

A4.3/5.0
Behavior4/5

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

The description adds useful context beyond the readOnly and idempotent annotations: examples are 'reviewed, source-linked', and it explicitly warns that live numbers are not verified. This is genuine behavioral disclosure, though it doesn't go into details like rate limits or response structure.

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 sentences long and front-loaded with the core action. The optional examples feature is briefly mentioned, followed by the limitation. Every sentence earns its place with no redundancy or filler.

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 tool is a simple lookup with a full output schema and 100% schema coverage for parameters. The description adds the key limitation (no live number verification) and the nature of the examples. Given its simplicity and rich structured metadata, the description is complete enough for correct selection and invocation.

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% parameter coverage with detailed descriptions for all six parameters. The description maps high-level search methods (free text, ISO code, dial code, region) to corresponding parameters but doesn't add deeper syntax or format details beyond what the schema already states.

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 specifies exactly what the tool does: 'Look up international country calling codes' with supported search methods (free text, ISO code, dial code, region). This clearly distinguishes it from the sibling tool 'format_international_phone_number', which formats rather than looks up.

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 gives clear context: use this tool to look up country calling codes. It also notes an important exclusion: 'This tool does not verify live subscriber numbers.' However, it does not explicitly name the sibling tool as an alternative when formatting is needed, so it misses the 'alternatives' criterion for a 5.

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