Skip to main content
Glama

List phone numbers

list_numbers
Read-onlyIdempotent

List one bounded, newest-first page of the workspace's phone numbers with registration status, using the REST number record plus when_called: what the number does when it is called (answer_with_skysay_agent, send_to_my_phone_server, forward_to_phone_number or disabled, the configured routing, not a check that a call connects; update_number_rules changes it). A page holds at most limit numbers and at most 25,000 characters, so it can hold fewer; pagination.next_cursor continues the listing and is meaningful only while pagination.has_more is true. A number too large for any page is named in pagination.omitted.

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": "list_numbers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNoOpaque cursor returned as pagination.next_cursor.
project_idNo
organization_idNoOptional. Defaults to the authenticated workspace; when supplied it must be that workspace's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, and the description adds substantial context beyond them: newest-first ordering, a dual cap (limit count and 25,000 characters) that can yield a short page, and an edge case where a single number exceeds any page and appears in pagination.omitted. It also clarifies that when_called is the configured routing, not a connectivity check — a genuinely non-obvious disambiguation.

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-loads purpose in the first clause and keeps the pagination and omitted-number rules in subsequent sentences. The long parenthetical enumerating when_called values is dense but earns its place by disambiguating the field; slightly tighter phrasing would help.

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, the description correctly takes on the return shape — record fields, when_called meaning, and the pagination object including next_cursor, has_more and omitted. The remaining gap is the undocumented project_id parameter, which neither schema nor description explains.

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?

With 50% schema coverage, the description compensates well for the key parameters: limit is tied to both a count bound and a character bound, and cursor is tied to pagination.next_cursor/has_more. project_id is left unexplained and organization_id is only covered by the schema, so it falls short of full coverage.

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?

Opens with a specific verb and resource ('List ... the workspace's phone numbers with registration status') and pins down scope, ordering (newest-first) and page-bounded behavior. The 'when_called' clause explains exactly what data is returned, so an agent can tell it apart from a mutation like update_number_rules without opening a schema.

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?

Clearly explains pagination mechanics — cursor from pagination.next_cursor, meaningful only while pagination.has_more is true — which is the main usage decision for this tool. It also names update_number_rules as the tool to use for changing routing, an implicit when-not. It does not explicitly contrast with other list_* siblings or state prerequisites, so not a full 5.

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.