Skip to main content
Glama

Agent Desk

Phone number lookup

lookup_phone

Look up US phone numbers in NANPA numbering data, refreshed daily: the carrier the number block was assigned to, line type (mobile, landline, VoIP, pager, toll-free), rate center, state and time zone, and whether the exchange or thousands-block is unassigned (a number that cannot be in service). Ported numbers keep their original carrier.

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": {
      "phones": "<phones>"
    },
    "name": "lookup_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
phonesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so fairly well: it names the data source (NANPA), the refresh cadence (daily), the geographic coverage (US only), and a genuine caveat that ported numbers report their original carrier. Missing are operational behaviors such as rate limits, cost, error handling, and how up to 1000 numbers are batched in the response.

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?

A single front-loaded sentence with a colon-introduced field list; nearly every clause conveys information (source, freshness, coverage, caveat). It is slightly dense and runs long, but there is no filler.

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?

With no output schema and no annotations, the description usefully enumerates the return fields, which is exactly the right compensation. It lacks input-format guidance and error/batch behavior for a tool that accepts up to 1000 numbers, which keeps it short of complete.

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 single parameter is an array of strings with 0% schema description coverage; the description never states the expected phone format (E.164 vs national digits), whether it normalizes input, or that up to 1000 values may be submitted. The schema shape (required array of strings) is self-explanatory, so structure is not lost, but the format ambiguity is a real gap the description does not close.

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?

Specific verb (look up) plus resource (US phone numbers in NANPA data) and an explicit enumeration of the returned fields — carrier, line type, rate center, state/time zone, unassigned-block status. It does not explicitly contrast itself with the sibling tools, but no sibling overlaps this domain, so the purpose remains unambiguous.

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?

The parenthetical 'a number that cannot be in service' hints at the main use case (validating deliverability), and 'US phone numbers' implies non-US numbers are out of scope. Beyond that there is no explicit when-to-use, when-not-to-use, or routing to any alternative tool.

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.