Skip to main content
Glama

Delete a dynamic route

delete_dynamic_route
DestructiveIdempotent

Soft-deletes the route. Calls to dynamic/<name> fail from the next request on. Requires the dynamic_routes:write scope.

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

Input Schema

NameRequiredDescriptionDefault
nameYesRoute name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/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, yet the description still adds real value: it clarifies the delete is a soft delete, states the observable effect and its timing ('Calls to `dynamic/<name>` fail from the next request on'), and discloses the required `dynamic_routes:write` scope. It stops short of saying whether the soft-deleted route can be restored or what happens if `name` does not exist.

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, front-loaded with the action, then the consequence, then the permission requirement. Every sentence carries information the agent needs and nothing is repeated from structured fields.

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-parameter mutation with no output schema and annotations that already cover the safety profile, the description supplies what matters: mutation type, effect timing, and auth scope. Only the reversibility/restore path and not-found behavior are left unaddressed, which are minor given the idempotent hint.

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?

With one parameter at 100% schema coverage the baseline is 3, and the description earns an increment by showing that `name` maps into the `dynamic/<name>` path, giving it operational meaning beyond the schema's bare 'Route name'.

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 ('Soft-deletes the route') and the 'soft' qualifier meaningfully separates it from a hard delete or from undeploy_dynamic_route. It does not explicitly name or contrast with any sibling tool, which keeps it short of a 5.

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?

Usage is implied rather than stated: an agent can infer this is the tool to remove a route so that calls to `dynamic/<name>` start failing. There is no explicit when-to-use/when-not guidance and no pointer to the alternative routes such as undeploy_dynamic_route or the version-restore sibling.

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