Skip to main content
Glama

Get SIP registration status

get_sip_status
Read-onlyIdempotent

Read the SIP registration status for a number in the Own SIP PBX routing mode - whether the PBX is currently registered (own line only; a foreign PBX target reports registration: null, it never registers with us) and the last inbound call to this number. Fails with not_sip_mode when the number is not routed to SIP. This is diagnostics, not credentials - use get_sip_credentials for the login and password to configure a PBX. serviceStopped is null while the service runs; when set, the balance dropped below zero and SIP access is switched off on purpose, so the PBX cannot register until the customer tops up - say that instead of debugging the PBX. Same data as GET /v1/numbers/{e164}/sip/status (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_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
e164YesPhone number to check, in E.164 format with the country code, for example +420777123456. Must already belong to this account, from list_numbers, and be routed to Own SIP PBX.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the read-only annotations, it discloses the not_sip_mode failure, the null-registration semantics for foreign PBX targets, and the meaning of serviceStopped (balance below zero, SIP access disabled on purpose). It also points to the equivalent REST endpoint and /openapi.json for the response shape, which is the right move given there is no output schema.

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 with the action and the mode scope, then layered with error and interpretation guidance in a single dense paragraph. Every sentence carries real information, though the parenthetical asides and the embedded serviceStopped instruction make it feel overpacked for one block.

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?

For a single-parameter diagnostic read with no output schema, the description covers the failure mode, the null semantics, the account-state interpretation, the credential alternative, and where to find the response schema. An agent has everything needed to call it and to interpret a surprising result.

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, including E.164 formatting and the list_numbers provenance. The description restates the routing requirement but adds no new parameter-level detail, so this sits at the baseline for a fully documented schema.

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?

States a specific verb and resource ("Read the SIP registration status for a number") and scopes it to Own SIP PBX routing mode, including the edge case that a foreign PBX target returns registration: null. It explicitly distinguishes itself from the sibling get_sip_credentials, so an agent can pick correctly 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 Guidelines5/5

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

Gives positive guidance (diagnostics for SIP registration / last inbound call), a negative route ("not credentials - use get_sip_credentials for the login and password"), and a hard precondition (fails with not_sip_mode when the number is not routed to SIP). It even prescribes the correct agent behavior when serviceStopped is set: tell the customer to top up rather than debugging the PBX.

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.