Skip to main content
Glama

What a trip should cost by taxi, Uber or Lyft

estimate_fare
Read-onlyIdempotent

What a trip should cost by taxi, Uber or Lyft. Distance and time by road between two places, the licensed taxi meter fare with the extras that apply at that hour, any airport flat fare, typical Uber and Lyft prices in New York, airport pickup rules, a pre-booked transfer option for airport trips, and links that open Uber, Lyft or public transport directions with the trip filled in.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesWhere the trip ends, in the same forms as from.
cityNoOptional tariff city id from list_cities, when the place names are ambiguous.
fromYesWhere the trip starts: an address, landmark, postcode, airport code (JFK, LHR) or lat,lon.
whenNoWhen the trip starts, in local time: now (the default), a time like 18:30 or 6pm, or a date and time like 2026-10-09T18:30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuine context beyond that: the estimate is computed from road distance/time and hour-dependent meter extras, and Uber/Lyft pricing is scoped to New York, which signals a geographic limitation. It still says nothing about rate limits, required inputs' failure modes, or currency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, but the second is a long comma-run listing every returned artifact, which reads as an enumeration dump rather than tight prose. It is not padded with boilerplate, yet it could be tightened considerably.

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?

With no output schema, the description carries the burden of telling the agent what comes back, and it does so fairly thoroughly: road distance/time, meter fare with hourly extras, airport flat fares, Uber/Lyft typicals, airport pickup rules, transfer option, and prefilled deep links. It stops short of stating coverage limits (non-NY rideshare), currency, or behavior when a place is ambiguous beyond the city param.

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 description coverage is 100%, so the schema already documents from/to/city/when fully, making the baseline 3. The description only indirectly hints at parameter meaning ('extras that apply at that hour' implies the when parameter matters; 'New York' hints at the city tariff scope) without adding format or constraint detail beyond the 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?

The opening sentence names the resource (trip cost) and the modalities (taxi, Uber, Lyft), so an agent knows this estimates a fare rather than fetching a tariff table. However, it does not distinguish itself from close siblings like check_fare or get_taxi_tariff, which the agent must choose between.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance and no named alternative, even though check_fare and get_taxi_tariff are near-neighbors in the sibling list. The reader must infer from the return-value list that this is the comprehensive trip-cost estimator.

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.