Skip to main content
Glama

Check phone numbers

check_phones

Checks phone numbers and writes them in national or international (E.164) form, telling mobile, landline and special numbers apart. A number without prefix is read as a number of default_country. Up to 200 per call. Each item uses one processing from the account (the monthly free ones first, then subscription and packs); the result says how many are left.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "check_phones"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesThe phone numbers to check.
formatNonational
languageNoLanguage of labels and messages in the result. Field names are always English. Default: the language of the account.
default_countryNoCountry of the items that do not state their own (ISO 3166-1 alpha-2 code, e.g. "DE", or name). Without it they are Italian.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Adds real behavioral context beyond the annotations: each item consumes one 'processing' from the account, free monthly units are used first, then subscription and packs, and the result reports the remaining balance. The 200-item cap is also disclosed. It does not explain error behavior for invalid numbers, partial failures, or what happens when credit runs out mid-batch.

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?

Four short sentences, purpose first, then the fallback-country rule, the batch limit and the credit accounting; nothing is padding. The default-country sentence slightly overlaps the schema's own default_country text.

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?

No output schema exists, so the description must cover returns; it says what is produced (national or international form, number type) and that remaining balance is reported, but not the result shape, validity flags, or per-item error reporting. For a 200-item batch tool that is a meaningful gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 75%, so the schema carries most of the load, but the description adds meaning: it explains that output form is national by default per E.164 rules and that a prefix-less number inherits default_country. It does not restate the language enum or clarify the item-level country_code precedence fully.

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?

States a specific verb and resource ('Checks phone numbers') plus a concrete output ('writes them in national or international (E.164) form') and classification ('telling mobile, landline and special numbers apart'). That is well beyond a restated title, though it never names a sibling or scoping distinction against check_emails/check_websites/verify_contacts.

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 rather than stated: an agent can infer it is for validating/normalizing phone numbers, and the batching limit and credit cost are surfaced. There is no explicit when-to-use versus when-not guidance, and no pointer to a sibling such as verify_contacts for bulk contact verification.

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