Skip to main content
Glama

Delete a handoff routing rule

delete_routing_rule
DestructiveIdempotent

Delete a rule (ruleId from list_routing_rules). Cannot be undone; confirm with the user first.

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": {
      "ruleId": "<ruleId>"
    },
    "name": "delete_routing_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruleIdYesFrom list_routing_rules.
workspaceIdNoWorkspace to act in. Defaults to the workspace this connection is scoped to.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true, so irreversibility is largely covered; the description restates "cannot be undone" and adds a useful confirmation directive. Beyond that it says nothing about scope of effect (e.g., whether related routing/assignment state is affected) or what the delete returns, so added value over annotations is modest.

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?

Two short sentences: the action and its identifier source come first, followed by the risk warning and required confirmation step. No filler or redundancy.

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 single-object destructive delete with full schema coverage, no output schema, and complete annotations, the description covers the essentials an agent needs: what to delete, where the ID comes from, and that user confirmation precedes the call. Only the blast radius of the deletion is 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 description coverage is 100%, with ruleId, workspaceId (including its default), and idempotencyKey fully documented in the schema itself. The description only echoes the ruleId provenance already present in the schema, so baseline 3 applies.

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?

States a specific verb and resource ("Delete a rule") and tells the agent where the identifier comes from (list_routing_rules). It does not explicitly contrast with update_routing_rule or the other delete_* siblings, so differentiation relies on the tool name rather than the prose.

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?

Gives a clear precondition (obtain ruleId from list_routing_rules) and an explicit procedural instruction (confirm with the user first). It lacks any stated when-not condition or named alternative, but for a delete tool the usage context is essentially 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.

Resources