Skip to main content
Glama

get_port_call_settings

Retrieve call settings for FXS port 1 or 2, including dial plan, auto-dial, call waiting, caller ID, and timeouts, to review and configure analog phone behavior.

Instructions

Get call settings for a port: dial plan, auto-dial, call waiting, caller ID, timeouts.

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_call_settings"
  }
}

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 behavioral burden; 'Get' at least signals a non-mutating read. Return values are covered by the existing output schema, and the port value range is constrained. It stops short of stating behavior for invalid ports or whether unset settings are returned as defaults.

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?

Two short lines with the payload front-loaded in the first sentence and the single parameter immediately after. Nothing is padded or restated from the tool name.

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 one-parameter read tool with an output schema, the definition covers purpose, returned fields, and the argument's domain, which is nearly everything needed to invoke it. The remaining gap is sibling disambiguation against the other get_port_call_* tools, which matters for selection.

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 coverage is 0% — the schema only declares an untyped-meaning integer for 'port' — so the description must compensate, and it does: it identifies the parameter as an FXS port number and constrains valid values to 1 or 2. That is essential meaning absent from the schema, though no further format detail is given.

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 call settings for a port') and enumerates the sub-fields returned (dial plan, auto-dial, call waiting, caller ID, timeouts), so an agent knows exactly what comes back. It does not distinguish itself from the close sibling get_port_call_features, leaving the agent to guess which of the two to call, which keeps it off 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?

The 'Get' verb plus the port scoping implies a read of per-port configuration, which is adequate implied usage. However, there is no guidance on when to prefer this over get_port_call_features or get_port_general, and no stated preconditions such as the port needing to exist or the device being reachable.

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