Skip to main content
Glama

Update DID

did_update
DestructiveIdempotent

Updates DID 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": "did_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRow id (uuid).
cityNo
did_idNo
numberNo
originNo
statusNo
confirmNoSaves the change. Omitted: shows a preview and saves nothing.
countryNo
languageNo
active_toNo
active_fromNo
auto_recordNo
consumer_idNo
number_typeNo
routing_keyNo
allocated_atNo
did_order_idNo
import_notesNo
stock_statusNo
supports_faxNo
supports_mmsNo
supports_smsNo
channel_countNo
routing_valueNo
time_group_idNo
supports_voiceNo
auto_transcribeNo
did_identity_idNo
import_batch_idNo
platform_pausedNo
recording_ownerNo
consumer_user_idNoAct on this seat (own seat, account owner or admin, or staff). Same checks as the site.
closed_routing_keyNo
provider_account_idNo
closed_routing_valueNo
inbound_sip_trunk_idNo
includes_origin_callsNo
override_user_settingsNo
disable_widely_announcement_before_ringNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is partly covered. The description adds real value beyond that: the confirm-gated preview means the default invocation writes nothing, and permission checks mirror the site. It does not explain whether omitted fields are preserved or cleared, which fields are actually mutable, or what a preview returns.

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 sentences, zero filler, and the confirm/dry-run behavior is front-loaded after the purpose statement. It is efficiently written, though given the size of the parameter surface the minimalism works against the reader.

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?

This is a 39-parameter destructive mutation with no output schema and almost no parameter documentation, yet the description covers only permission scoping and the confirm flag. An agent cannot tell from the definition which fields are intended to be set, what happens to unset fields, or what the preview looks like.

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 39 parameters and only 8% schema description coverage, the description needs to compensate and does not. It only restates the 'confirm' semantics already documented in the schema and says nothing about the other 37 fields (routing, capability flags, stock/status, import metadata) or whether this is a patch or full replacement.

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 ('Updates DID') and adds that the operation is scoped to 'your own account permissions, the same as the site.' This is clear enough to distinguish it from did_create/did_get/did_delete by name alone, but the text never names or contrasts those siblings explicitly.

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?

One genuinely useful usage rule is given: without 'confirm' the call previews and saves nothing, which tells an agent how to safely dry-run. However, there is no guidance on when to use this versus did_get, did_create, or the other *._update tools, and nothing about prerequisites or authorization paths.

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.