Skip to main content
Glama
Vapi MCP Server

Vapi MCP Server

Official
by VapiAI

get_phone_number

Retrieve details for a specific Vapi phone number by phone number ID, enabling you to inspect its configuration and metadata.

Instructions

Gets details of a specific phone number

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
phoneNumberIdYesID of the phone number to get

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.0
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +{}
    • addedInput schema / properties / phoneNumberId / format
      Added value: +"uuid"
    • addedInput schema / properties / phoneNumberId / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  2. Addedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It says only that it 'gets details' and does not state that the operation is read-only, what permissions are needed, what happens on invalid IDs, or what kind of details are returned.

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?

The description is a single, front-loaded sentence with no redundant wording or unnecessary background. It is appropriately sized for the trivial surface it attempts to describe.

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?

For a simple one-parameter getter, the description covers the basic purpose but leaves key gaps: there is no output schema, no annotations, and the description does not explain return shape, read-only behavior, or how it differs from list_phone_numbers. It is minimum viable but incomplete for safe tool selection.

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?

Schema description coverage is 100%, and the sole parameter phoneNumberId is already documented in the schema as 'ID of the phone number to get.' The description adds no additional meaning, format constraints, or usage hints beyond what the schema provides.

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?

The description states a specific verb and resource: 'Gets details of a specific phone number.' The word 'specific' implies a single-resource lookup, which distinguishes it somewhat from list_phone_numbers, but it never names the sibling tool explicitly.

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 only implied: the agent can infer this is for retrieving one phone number by ID. The description gives no explicit when-to-use guidance, no exclusion for list_phone_numbers, and no prerequisites or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.