cancel_ride

Cancel a pending or active Lyft ride.

Server Mcp Lyft markswendsen-code/mcp-lyft
Category Destructive
Risk class Critical
Parameters 00 required

What cancel_ride does on Mcp Lyft

AI agents call cancel_ride to permanently remove resources in Mcp Lyft — typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

Why cancel_ride needs a policy

Cancellation of a ride is irreversible and can incur financial penalties depending on the ride status and Lyft's policy. This qualifies as Destructive because the action cannot be undone and has lasting consequences. While Financial might apply due to potential fees, the primary action is the irreversible termination of a service, making Destructive the most accurate primary category.

From the tool's definition Tool name is 'cancel_ride' and description states it can 'Cancel a pending or active Lyft ride.' Cancellation is an irreversible action that terminates a ride request or active trip and may trigger financial consequences (cancellation fees).

Questions about cancel_ride

What does the cancel_ride tool do? +

Cancel a pending or active Lyft ride. It is categorised as a Destructive tool in the Mcp Lyft MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.

How do I enforce a policy on cancel_ride? +

Register the Mcp Lyft MCP server in PolicyLayer and add a rule for cancel_ride: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Mcp Lyft. Nothing to install.

What risk level is cancel_ride? +

cancel_ride is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit cancel_ride? +

Yes. Add a rate_limit block to the cancel_ride rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block cancel_ride completely? +

Set action: deny in the PolicyLayer policy for cancel_ride. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides cancel_ride? +

cancel_ride is provided by the Mcp Lyft MCP server (markswendsen-code/mcp-lyft). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.