Skip to main content
Glama

util_phone

Read-only

Phone number parser — Offline phone number check: normalizes any format to E.164, detects the country calling code (70+ countries), applies NANP rules for +1 numbers (area/exchange code validity, toll-free, premium 900, 555-01XX fiction range, placeholders), guesses mobile vs other for major countries and splits extensions. Params: number (required), country (ISO2 default for numbers without +, default US). Does not check if the line is live. Price: $0.002 USDC (Base, via x402).

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": {
      "number": "<number>"
    },
    "name": "util_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYes(615) 555-0142 ext 12

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations cover only read-only/non-destructive safety, and the description goes well beyond them: it discloses the offline nature, the explicit non-capability ('Does not check if the line is live'), the concrete validation rules applied to +1 numbers, the 70+ country coverage, and even the price ($0.002 USDC via x402). Those are exactly the facts an agent needs before invoking a metered tool.

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?

Front-loaded and dense with no filler; the identity of the tool and its main behavior appear in the first clause. The long parenthetical list of NANP rules is slightly crammed and the 'Params:'/'Price:' tail could be cleaner, but nothing is wasted.

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?

For a one-parameter utility with no output schema, the description implies the return shape (E.164 string, country code, mobile guess, extension split) well enough to set expectations. Two small gaps remain: the return structure is never explicitly stated, and the `country` parameter it advertises is missing from the schema.

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?

With a single, fully documented parameter the baseline is 3, and the description does explain defaulting behavior ('country (ISO2 default for numbers without +, default US)'). That added meaning is undercut by the fact that `country` is not present in the input schema at all, so the description references a parameter the agent cannot actually supply — a mild but real inconsistency.

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?

Names a specific verb and resource ('Phone number parser', 'normalizes any format to E.164') and immediately scopes the work: country calling code detection across 70+ countries, NANP validation rules, mobile-vs-other guessing, extension splitting. No sibling tool overlaps, and an agent can predict the output categories before calling.

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 rather than stated: 'Offline phone number check' plus 'Does not check if the line is live' tells the agent this is for normalization/validation, not carrier lookup, which is a useful boundary. However, there is no explicit 'use this when…' clause and no named alternative (e.g., a hypothetical live-verification tool), so the routing guidance is only partially delivered.

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