Skip to main content
Glama

Update SipTrunk

siptrunk_update
DestructiveIdempotent

Updates SipTrunk with your own account permissions, the same as the site. Without confirm it shows a preview and saves nothing.

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": {
      "id": "<id>"
    },
    "name": "siptrunk_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRow id (uuid).
nameNo
portNo
statusNo
confirmNoSaves the change. Omitted: shows a preview and saves nothing.
from_uriNo
auth_realmNo
ip_addressNo
consumer_idNo
include_rpidNo
sip_passwordNoWrite-only. Never returned or echoed.
sip_usernameNo
rate_sheet_idNo
cli_auth_enabledNo
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.
star_dial_formatNo
options_keepaliveNo
registration_modeNo
transport_protocolNo
registration_expireNo
registration_serverNo
calling_number_formatNo
destination_tech_prefixNo
inbound_identity_prefixNo
is_partner_interconnectNo
allowed_registration_ipsNo
destination_number_formatNo
include_p_asserted_identityNo
sim_early_media_timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sim_early_media_timeout_seconds
      Added value: +{
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / consumer_user_id
      Added value: +{
      +  "description": "Act on this seat (own seat, account owner or admin, or staff). Same checks as the site.",
      +  "type": "string"
      +}
  3. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, but the description adds genuinely useful non-obvious behavior: the default is a dry-run preview and nothing is persisted without confirm. It still omits what a destructive update does to unspecified fields (are omitted fields cleared or left untouched?) and says nothing about the permission checks referenced only as "the same as the site".

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?

Two short sentences with no filler, and the dry-run caveat is front-loaded in second position where it will be read. The clause "with your own account permissions, the same as the site" is slightly vague padding, but overall the text is compact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 29-parameter destructive mutation with no output schema and very low schema coverage, two sentences is thin—the agent gets the preview semantics but no field-level or side-effect detail. It covers the single most important safety behavior, which keeps it above a 2, but leaves substantial gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 29 parameters and only 14% schema description coverage, the description must carry the explanatory load, and it does not. It never mentions the many fields (registration_mode, transport_protocol, allowed_registration_ips, write-only sip_password, etc.), and the confirm preview behavior it does mention is already documented verbatim in the schema.

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 names a specific verb and resource ("Updates SipTrunk") and scopes it to the caller's own account permissions. It does not explicitly distinguish itself from siptrunk_create, siptrunk_delete, or siptrunk_get, but the update intent is unambiguous.

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 sentence "Without confirm it shows a preview and saves nothing" gives a concrete operational rule about how to invoke it safely, which is real guidance. However, there is no when-to-use-vs-alternatives framing (e.g. update vs create vs delete), and no stated prerequisites beyond a vague permission reference.

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.