Skip to main content
Glama

Update a delivery destination

update_destination
Destructive

Rename a destination, pause or resume it, or change its routing rule. CHANGES WHERE YOUR DATA IS SENT when the routing or config is edited. Pausing (isActive false) stops delivery without deleting history.

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": "update_destination"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe destination id.
nameNoNew label.
routingNoNew routing rule.
isActiveNoFalse pauses delivery to this destination.

Output Schema

NameRequiredDescriptionDefault
ctaNoPresent in sample mode: how to get live data.
dataYesThe result, or null when nothing matched.
modeYeslive: the caller's workspace. sample: illustrative data for accounts without an approved workspace.
noticeNoPresent in sample mode: explains that the data is illustrative.
creditsNoPresent in live mode while the workspace is out of credits: the account is paused, and the agent should tell the user how to resume.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / credits
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Present in live mode while the workspace is out of credits: the account is paused, and the agent should tell the user how to resume.",
      +  "properties": {
      +    "agentInstruction": {
      +      "description": "What the agent should do about it.",
      +      "type": "string"
      +    },
      +    "message": {
      +      "description": "What happened, for the agent to pass on.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "exhausted"
      +      ],
      +      "type": "string"
      +    },
      +    "url": {
      +      "description": "Where credits are added or the plan changed.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "message",
      +    "agentInstruction",
      +    "url"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuine context beyond them: edits alter where data is delivered, while pausing halts delivery without deleting history. It stops short of covering auth requirements or whether routing changes are reversible or affect in-flight deliveries.

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?

Three short sentences, zero filler, with the highest-risk consequence (data redirection) emphasized up front via capitalization. Every sentence carries actionable information.

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?

Output schema exists so return values need no explanation, and all parameters are documented. For a destructive mutation tool it covers consequences and the pause semantics well; only permissions and effects on in-flight deliveries are left unstated.

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 100%, so the schema already defines all four parameters and the nested routing object. The description reinforces that isActive=false pauses without deleting history and that routing edits redirect data, but adds little syntax or structural detail beyond the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific set of operations (rename, pause/resume, change routing rule) on a specific resource (a delivery destination). An agent can distinguish this from create_destination or list_destinations without inspecting either schema.

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

Usage Guidelines4/5

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

Clear context for when to use it: modifying an already-existing destination. It does not explicitly name alternatives or state when not to use it (e.g., to create a destination use create_destination), but the intended scope is unambiguous.

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.