Skip to main content
Glama

palace_delete_tunnel

Permanently deletes a specified tunnel by ID when a link is wrong or removal is requested; rooms and drawers remain untouched. Returns success=false if no matching tunnel ID exists.

Instructions

Permanently delete one explicit tunnel by id. Only the link is removed; the rooms and their drawers are untouched. Returns success=false if no tunnel had that id. Get ids from palace_list_tunnels or palace_follow_tunnels. Use only when the link is wrong or the user asks.

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": {
      "tunnel_id": "<tunnel_id>"
    },
    "name": "palace_delete_tunnel"
  }
}

Input Schema

NameRequiredDescriptionDefault
tunnel_idYesId of the tunnel to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.20.7
    • addedInput schema / properties / tunnel_id / description
      Added value: +"Id of the tunnel to delete"
  2. First observedv0.20.5

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: it discloses permanence, the exact scope of destruction (link only, rooms and drawers unaffected), and the failure signal (success=false when the id does not exist). It omits any mention of permissions or confirmation requirements, which is the main residual gap.

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?

Four short sentences, front-loaded with the destructive action and its scope, then the failure mode, then id sourcing, then the usage restriction. Every sentence contributes and nothing is redundant.

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 one-parameter destructive tool with no annotations and no output schema, the definition covers action, scope, failure behavior, and id sourcing — exactly what an agent needs to call it safely. Auth/permission context and confirmation expectations are the only meaningful omissions.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is already described as "Id of the tunnel to delete," so the baseline is met. The description adds genuine meaning beyond the schema by telling the agent where to obtain a valid id (palace_list_tunnels, palace_follow_tunnels) and that the id must identify a single explicit tunnel.

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 verb and resource ("Permanently delete one explicit tunnel by id") and immediately clarifies the blast radius ("Only the link is removed; the rooms and their drawers are untouched"), which cleanly separates it from deletion tools operating on drawers or rooms.

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?

Explicitly constrains use to "when the link is wrong or the user asks" and routes the agent to palace_list_tunnels or palace_follow_tunnels for ids. It gives a clear exclusion but does not name a repair alternative (e.g., recreate the link) for the case where the link is merely stale.

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