Skip to main content
Glama

get_port_status

Retrieve FXS port status for both ports, including hook state, SIP user, registration, and SIP port, to monitor analog line and SIP connectivity.

Instructions

Get FXS port status for both ports: hook state, SIP user, registration, SIP port.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_port_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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 must carry the burden; it does establish that this is a non-mutating read of both ports and lists the data categories returned, which is genuine context. It says nothing about whether ports must be provisioned, what happens with a disabled port, or response shape/ordering, so behavioral disclosure remains thin for a tool with zero annotation coverage.

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?

A single front-loaded sentence with the resource first and the returned fields as a compact list. No filler, no restatement of the name beyond what is needed.

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?

An output schema exists, so return values need not be explained, and the zero-parameter schema is fully covered. For a simple zero-arg status read the description is nearly sufficient; only the placement of the returned fields ambiguity (per port vs aggregate) is left slightly open.

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?

There are zero input parameters, so the baseline is 4 and there is nothing for the description to disambiguate. 'For both ports' usefully clarifies the scope of the call, which the empty schema cannot express.

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 FXS port status for both ports') and enumerates the reported fields (hook state, SIP user, registration, SIP port), so an agent can tell this is a status-reader rather than a config tool like get_port_sip or get_port_analog_line. It stops short of explicitly naming a sibling for contrast.

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: 'status' signals a read operation and 'both ports' signals a bulk/no-argument scope. There is no explicit statement of when to pick this over get_port_sip, get_port_analog_line, or the other get_port_* siblings, and no prerequisites are given.

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