Skip to main content
Glama

get_port_general

Retrieve general settings for FXS port 1 or 2, including SIP server, user ID, authentication, NAT, DNS, and outbound proxy configuration.

Instructions

Get general settings for a port: SIP server, user ID, auth, NAT, DNS, outbound proxy.

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

Input Schema

NameRequiredDescriptionDefault
portYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden; it does communicate that this is a scoped, per-port settings read by naming the fields returned. It does not disclose whether the call is read-only in effect, what happens for an unconfigured port, or any device-connectivity/authentication requirement.

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?

The definition is short and front-loaded, with the resource and field scope in the first sentence and the argument constraint immediately after. The 'Args:' block is slightly redundant formatting but adds the value constraint, so nothing is wasted.

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 that documents return values, the description covers purpose, field scope, and the valid port domain. It lacks only device/permission preconditions and explicit sibling routing, which are minor for this complexity.

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 0% (the schema only declares an integer 'port'), so the description must compensate, and it does add the essential constraint that port is an FXS port number with valid values 1 or 2. That is meaningful but limited to the single parameter; nothing is said about behavior when the other port is absent.

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?

The description states a specific verb and resource ('Get general settings for a port') and enumerates the returned categories (SIP server, user ID, auth, NAT, DNS, outbound proxy), which lets an agent distinguish it from narrower siblings such as get_port_sip or get_port_codec. It stops short of explicitly naming those siblings as alternatives, but the scope is clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no explicit statement of when to use this tool versus get_port_advanced, get_port_sip, or get_port_codec; usage is only inferable from the field list. No preconditions (e.g., whether the port must be configured or the device reachable) are given.

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