Skip to main content
Glama

Find phone numbers

spur_search_phone_numbers
Read-onlyIdempotent

Search local US numbers the user can buy, by area code, state, city or digits. Show the options and let the user pick before spur_buy_phone_number. Prefer an area code in the user's market.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spur_search_phone_numbers"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNo
limitNo
stateNoe.g. TX
containsNoDigits the number should contain, e.g. 777
area_codeNoe.g. 512

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered structurally. The description adds real behavioral context by framing results as user-reviewable options and tying them to a downstream purchase step, though it says nothing about result format or empty-result handling.

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?

Two sentences, zero filler, and the core action is front-loaded before the workflow guidance. Every clause carries information an agent needs to act.

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 read-only search with no output schema and all-optional params, the definition covers what is searched, why, and how results should be handled. The gap is that nothing describes the shape of returned options or what happens when no numbers match, which matters for a tool whose output the agent must present to the user.

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 60%: 'state', 'area_code' and 'contains' are documented, while 'city' and 'limit' are bare. The description compensates by enumerating the four practical filter dimensions (area code, state, city, digits), effectively covering city that the schema leaves undocumented, with only 'limit' left unexplained.

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 opens with a specific verb and resource ('Search local US numbers the user can buy') and immediately narrows the filter dimensions. It clearly distinguishes this lookup step from the sibling spur_buy_phone_number, so an agent knows this is the discovery tool, not the purchase tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly sequences usage: 'Show the options and let the user pick before spur_buy_phone_number,' naming the alternative and the condition that selects it. It also adds a selection heuristic ('Prefer an area code in the user's market'), which is guidance an agent could not infer from the schema.

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