Skip to main content
Glama

Update SmsTrunk

smstrunk_update
DestructiveIdempotent

Updates SmsTrunk 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": "smstrunk_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRow id (uuid).
nameNo
statusNo
confirmNoSaves the change. Omitted: shows a preview and saves nothing.
directionNo
smpp_hostNo
smpp_portNo
ip_addressNo
trunk_typeNo
allowed_ipsNo
consumer_idNo
http_methodNo
http_api_keyNoWrite-only. Never returned or echoed.
smpp_use_tlsNo
http_endpointNo
rate_sheet_idNo
smpp_passwordNoWrite-only. Never returned or echoed.
smpp_bind_modeNo
smpp_system_idNo
cli_auth_enabledNo
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.
payload_templateNo
smpp_listen_portNo
smpp_system_typeNo
smpp_outbound_pduNo
http_auth_passwordNoWrite-only. Never returned or echoed.
http_auth_usernameNo
smpp_dest_addr_npiNo
smpp_dest_addr_tonNo
http_custom_headersNo
smpp_source_addr_npiNo
smpp_source_addr_tonNo
calling_number_formatNo
destination_tech_prefixNo
is_partner_interconnectNo
response_parser_templateNo
destination_number_formatNo
smpp_enquire_link_intervalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true; the description usefully adds the non-obvious preview-by-default gate and the per-seat permission model. However, for a destructiveHint=true mutation it never says what happens to fields omitted from the 38-param payload — whether they are left untouched or cleared — which is exactly the risk an agent needs disclosed.

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; the permission scope leads and the preview behavior follows. The operative safety detail (preview unless confirm) sits in a trailing clause and could be front-loaded given how much it affects the call.

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

Completeness2/5

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

For a 38-parameter destructive mutation with no output schema, the definition explains the commit gate and auth model but leaves the bulk of the payload undocumented, so an agent cannot safely populate or reason about most fields. An extra sentence on partial-update behavior and the write-only fields would close much of the gap.

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?

Schema description coverage is only 16% across 38 parameters, so the description must carry the load, and it effectively covers only "confirm" (which the schema already documents). It says nothing about partial-update semantics, allowed values for status/trunk_type/direction, or the write-only credential fields.

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 SmsTrunk") and adds a scope qualifier ("with your own account permissions, the same as the site"), which distinguishes it from read-oriented siblings like smstrunk_get/smstrunk_list. It never explicitly contrasts with smstrunk_create or smstrunk_delete, so sibling differentiation is implied rather than stated.

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?

It gives one concrete conditional: without "confirm" the call previews and saves nothing, which tells an agent how to stage the change. It offers no guidance on when to prefer this tool over smstrunk_create or siptrunk_update/sharedtrunk_update, and no prerequisites for the permission check beyond a vague "same as the site."

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.