Skip to main content
Glama

Get a phone number

get_phone_number
Read-onlyIdempotent

Get a phone number

Returns one phone number of the account. The response is the PhoneNumber object itself, not wrapped in a data envelope. Use it to read the current assignment, the lifecycle status and the regulatory verification state of a number. A number that does not belong to the calling account answers 404 rather than 403.

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": {
      "phoneNumberId": "<phoneNumberId>"
    },
    "name": "get_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNumberIdYesIdentifier of the phone number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description still adds real signal: the raw PhoneNumber object is returned without a `data` envelope, and a number outside the calling account returns 404 rather than 403. That 404-vs-403 distinction is behavior an agent cannot get from the schema or annotations. Rate limits or auth requirements are not covered, which keeps it below a 5.

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 short, with the return shape and the 404 behavior stated early. The opening line redundantly restates the tool title before the substantive content, a minor waste of space.

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?

With no output schema, the description's note about the unwrapped PhoneNumber object is necessary and present, and the 404 semantics round it out. However it never sketches which fields the object carries beyond three named aspects, leaving the return payload only partially understood for a tool whose sole purpose is returning it.

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?

One parameter with 100% schema description coverage, so the schema already documents phoneNumberId fully. The description adds no format, sourcing, or constraint detail beyond that, which is the expected baseline when the schema does the work.

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+resource: 'Returns one phone number of the account' makes clear this is a single-resource read, implicitly distinguished from the list_phone_numbers sibling. It does not explicitly name any sibling to contrast against, so it stops short of a 5.

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?

'Use it to read the current assignment, the lifecycle status and the regulatory verification state of a number' states a concrete use context. It offers no exclusions or explicit alternative (e.g. get_phone_number_verification_status for verification detail), so the agent must infer routing from names alone.

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.