cancel_ride
Cancel a pending or active Lyft ride, providing an optional reason for the cancellation.
Instructions
Cancel a pending or active Lyft ride.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason for cancellation |
Cancel a pending or active Lyft ride, providing an optional reason for the cancellation.
Cancel a pending or active Lyft ride.
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional reason for cancellation |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It fails to mention important consequences such as cancellation fees, driver notification, or whether the action is reversible. For a mutating operation, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the verb and resource. It contains no unnecessary words or repetition, making it highly efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (one optional param, no output schema), the description is adequate for basic understanding. However, it omits details about the result of the cancellation (e.g., whether it returns a confirmation) and any side effects, leaving some gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema fully covers the single optional 'reason' parameter with its own description, and the tool description does not add extra semantics. The schema provides adequate meaning, so the baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Cancel' with the resource 'pending or active Lyft ride', making the tool's purpose immediately clear. It also differentiates from sibling tools like request_ride or get_ride_status, as no other sibling handles cancellation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'pending or active' provides clear context for when the tool applies, implicitly excluding completed or non-existent rides. However, it does not explicitly state when not to use it or mention alternatives, though sibling names make the distinction obvious.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/markswendsen-code/mcp-lyft'
If you have feedback or need assistance with the MCP directory API, please join our Discord server