Skip to main content
Glama

Book a ride for later

schedule_ride
Destructive

Books a quoted ride after the user confirms time and price, using the agreed maximum fare or accepting price set later when no estimate exists.

Instructions

Books the ride from get_schedule_quote. Only call after the user agreed to the time and price: pass the range's upper price as confirmed_max_price_toman, or, when Snapp gave no estimate, accept_price_set_later: true.

Input Schema

NameRequiredDescriptionDefault
schedule_quote_idYes
accept_price_set_laterNoOnly when the quote had no estimate and the user agreed to Snapp setting the price before the trip.
confirmed_max_price_tomanNoThe upper end of the price range the user agreed to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already flag openWorldHint and destructiveHint; the description adds the crucial behavioral rule that this commits the user to a price and must not fire before agreement. It stops short of saying the booking is a real, cancellable commitment or pointing to cancel_scheduled_ride as the undo path.

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?

One sentence with the precondition front-loaded and the conditional parameter choice after the colon; no filler.

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?

No output schema exists, yet the description never says what a successful booking returns or how it relates to list_scheduled_rides. That is the only material gap for a mutation tool of this complexity.

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?

Schema coverage is 67%, and the description adds real decision logic: use confirmed_max_price_toman when a range exists, otherwise accept_price_set_later: true when Snapp gave no estimate. schedule_quote_id's role is only implied by the name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ("Books the ride") and anchors it to the sibling that produces its input ("from get_schedule_quote"), so an agent can place it in a multi-step flow without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit precondition ("Only call after the user agreed to the time and price") plus branch-specific guidance on which parameter to pass depending on whether a price estimate existed.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.