Skip to main content
Glama

Get SIP credentials for a number

get_sip_credentials
Read-onlyIdempotent

Get the SIP details for a phone number: server is the registration domain for your own SIP PBX or softphone (SIP REGISTER); outboundTrunkAddress is the address for a hosted platform's outbound SIP trunk (ElevenLabs outbound_trunk_config.address, Vapi's BYO trunk...) - they are not interchangeable: use exactly outboundTrunkAddress for the outbound trunk regardless of whether it matches server, a different address means the call is not routed on the network and the platform reports a timeout, with nothing left in the call history. Also returns username, password, port, transport and inboundSignallingCidrs (the allowlist for your PBX or platform's inbound trunk). Same data as GET /v1/numbers/{e164}/sip (response schema in /openapi.json).

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": {
      "e164": "<e164>"
    },
    "name": "get_sip_credentials"
  }
}

Input Schema

NameRequiredDescriptionDefault
e164YesPhone number to get SIP login credentials for, in E.164 format with the country code, for example +420777123456. Must already belong to this account, from list_numbers.

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?

Annotations already cover read-only, idempotent, non-destructive, open-world. The description goes beyond them by describing the fields returned, the concrete failure mode of mixing up server and outboundTrunkAddress (silent timeout, nothing in call history), and the equivalent REST endpoint. It does not discuss auth scope or whether credentials are short-lived/rotatable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The critical warning (the two addresses are not interchangeable) is buried mid-sentence inside a long dash-delimited run-on. The ElevenLabs/Vapi parentheticals and the /openapi.json pointer are defensible but lengthen the read; leading with the returned-fields list and then the warning would front-load better.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 carries the burden of describing the return payload and does so field-by-field, plus a pointer to the response schema in /openapi.json. For a single-parameter read tool with full annotation coverage, nothing an agent needs in order to call it and use the result correctly is missing.

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 coverage is 100% and the single e164 parameter is fully documented in the schema (format, example, must belong to account, sourced from list_numbers). The description adds no parameter-level meaning beyond that, so the baseline 3 for high schema coverage applies.

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?

"Get the SIP details for a phone number" is a specific verb plus resource, and the description enumerates the returned fields (server, outboundTrunkAddress, username, password, port, transport, inboundSignallingCidrs), so an agent knows exactly what it retrieves. It does not distinguish itself from the closely related sibling get_sip_status, which is the only thing keeping it from 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 Guidelines3/5

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

It gives strong downstream guidance — use outboundTrunkAddress (not server) for an outbound trunk, or routing fails and the platform reports a timeout — but that is guidance about interpreting the result, not about when to call this tool versus get_sip_status or get_number. The precondition "must already belong to this account" appears only in the schema, not the description.

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.