Skip to main content
Glama

get_port_sip

Retrieves SIP protocol settings for an FXS port (1 or 2), including registration, transport, timers, session, and keep-alive configuration.

Instructions

Get SIP protocol settings for a port: registration, transport, timers, session, keep-alive.

Args: port: FXS port number (1 or 2).

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": {
      "port": "<port>"
    },
    "name": "get_port_sip"
  }
}

Input Schema

NameRequiredDescriptionDefault
portYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; 'Get' plus the list of returned setting groups makes the read-only retrieval nature reasonably clear. It says nothing about permissions, what happens with an out-of-range port, or error behavior, which leaves gaps for a zero-annotation tool.

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?

Front-loaded with the verb, resource and covered setting groups, followed by a compact Args block for the single parameter. Every line contributes; nothing is redundant.

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?

For a single-parameter read tool with an output schema (so return values need no explanation), the definition covers purpose, scope and the only parameter's valid range. Only marginal items are missing, such as behavior on an invalid port.

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?

Schema description coverage is 0% and the schema types 'port' only as a bare integer, so the description is doing real work by defining it as an FXS port number constrained to 1 or 2. That constraint appears nowhere in the schema and materially prevents invalid calls.

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?

States a specific verb and resource ('Get SIP protocol settings for a port') and enumerates the settings covered: registration, transport, timers, session, keep-alive. That enumeration distinguishes it reasonably well from siblings such as get_port_codec or get_port_general, though it never names an alternative 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: an agent can infer this is the read path for SIP-layer parameters on a single FXS port, and the enumerated setting groups hint at when it applies. There is no explicit when-to-use, no exclusions, and no pointer to the sibling tools covering other parameter groups.

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