Skip to main content
Glama

Delete a ride route

delete_ride_route
DestructiveIdempotent

Requires sign-in and the routes:write permission. Delete one saved ride route by route_id. The route is removed from the traveller's library and cannot be fetched again.

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

Input Schema

NameRequiredDescriptionDefault
route_idYesThe id of a route from list_ride_routes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/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, but the description adds context annotations cannot carry: the auth requirement, the routes:write permission scope, and the consequence that the route leaves the traveller's library and cannot be fetched again. The idempotent annotation is not contradicted, since removal is a steady-state effect.

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?

Three short sentences with no filler; each contributes auth, action, or consequence. Leading with the permission requirement rather than the action is slightly less front-loaded than ideal, but the text remains tight and scannable.

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, non-idempotent-looking delete with full annotation coverage and no output schema, the description supplies auth, effect, and irreversibility. It omits what happens when route_id is unknown or already deleted, a minor but real gap for a destructive tool.

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% and the single route_id parameter is already documented as coming from list_ride_routes. The description only restates "by route_id" without adding format, validation, or failure-mode detail, so the baseline of 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?

"Delete one saved ride route by route_id" gives a specific verb, resource, and cardinality scope, which naturally separates it from get_ride_route, list_ride_routes, and import_ride_route. It stops short of explicitly naming those siblings as alternatives, so it is clear but not maximally differentiated.

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?

The definition states prerequisites (sign-in plus routes:write) and points at list_ride_routes via the schema for obtaining an id, which implies when the tool applies. However, it never says when not to use it or how it relates to get/import siblings, leaving routing guidance to inference.

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