Skip to main content
Glama

Remove a ride

remove_gig_transport
DestructiveIdempotent

Delete a ride from a gig and its rider rows. Nothing is cancelled with the provider. Confirmation-gated. Requires gig-operations access.

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": {
      "event_id": "<event_id>",
      "transport_id": "<transport_id>"
    },
    "name": "remove_gig_transport"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYesthe gig (event id from list_events)
transport_idYesride id from list_gig_transports
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: absent; the response carries the message "Ride removed" }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description still adds substantial context: the delete cascades to rider rows, it does not propagate to the external provider, it is confirmation-gated, and it requires gig-operations access. Those are exactly the behavioral facts an agent needs before invoking a destructive tool.

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, each carrying a distinct fact, with the destructive action and cascade front-loaded. No filler and no restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Output schema exists, all three parameters are documented in the schema, and annotations cover the safety profile. Combined with the description's auth, cascade, and provider-scope notes, an agent has everything needed to call this correctly.

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 schema already explains event_id, transport_id sources, and the full confirmation_token handshake. The description adds no parameter-level meaning beyond what is already structured, which is the baseline case for a fully documented schema.

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 ride from a gig and its rider rows'), including the cascade scope, which an agent can immediately distinguish from save_gig_transport or list_gig_transports. It stops short of naming an alternative outright, but the operation is unambiguous.

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?

'Nothing is cancelled with the provider' functions as a scope exclusion, implicitly telling the agent this is not the tool for provider-side cancellation. There is no explicit routing to a sibling tool or stated precondition beyond the access note, so usage is only implied.

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.