Skip to main content
Glama

Change the destination

change_destination
Destructive

Updates the active ride’s destination after the user confirms the new price from a preview. Use to change the drop-off point for a booked ride.

Instructions

Changes the active ride's destination. Only call after preview_destination_change and the user agreeing to the new price; pass that price as confirmed_price_toman.

Input Schema

NameRequiredDescriptionDefault
ride_idNo
destinationYesA saved place name (e.g. "home"), "here" for your current location, "lat,lng" coordinates, or an address / landmark (e.g. "Tajrish Square, Tehran" or "میدان تجریش"), which is looked up on OpenStreetMap.
confirmed_price_tomanYesThe new price the user agreed to. Must match the current preview.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the safety profile is partly covered; the description adds real value by disclosing the mandatory two-step confirmation flow and the requirement that the passed price match the current preview. It stops short of saying whether the previous destination is recoverable or what happens if the price no longer matches the preview.

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?

Two short sentences, front-loaded with the action and followed by the gating condition. Every clause carries operational weight; nothing is padding.

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 destructive mutation with no output schema, the description covers the essential safety-critical flow (preview first, user consent, matching price). It leaves out the outcome of a successful call and the failure behavior on a price mismatch, which are the remaining gaps an agent would want.

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 67%, and the description largely restates what the schema already documents about confirmed_price_toman ("Must match the current preview"). It does implicitly explain why ride_id is optional by scoping the operation to "the active ride," but adds no format or validation detail beyond the structured fields.

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 and resource ("Changes the active ride's destination") and immediately names the sibling that must precede it (preview_destination_change), so an agent can distinguish it from the preview tool without opening either 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 preview_destination_change") plus a second condition ("the user agreeing to the new price"), which effectively names the alternative to use when that condition is unmet. Nothing about when to invoke it is left to inference.

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