Skip to main content
Glama

Fair Fare: Cheapest time of day to take a ride

fairfare_best_time_to_ride
Read-onlyIdempotent

Fair Fare. Cheapest time of day to take a ride. For New York, typical Uber and Lyft prices for a trip of a given length at every hour of the week, from the city's trip records, with the cheapest and most expensive hours today and whether waiting saves money. For other cities, how the taxi meter rates change by time of day.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoTariff city id, for example nyc, london or chicago. Defaults to nyc.
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.
milesNoTrip length in miles (New York only). Defaults to 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the safe, idempotent, open-world read profile. The description adds genuine context beyond them: the data source (city trip records), that NYC figures are typical Uber/Lyft prices while other cities reflect taxi meter rates, and the hourly granularity plus 'whether waiting saves money'. It does not mention rate limits, caching, or data freshness, keeping it short of a 5.

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 opening 'Fair Fare.' is wasted and the second sentence simply repeats the title verbatim, delaying the substantive content. The remaining two sentences are dense and informative, but the front-loading wastes the most prominent position on brand/title repetition.

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 does the heavy lifting by explaining what is returned: typical hourly prices, the cheapest and most expensive hours today, and whether waiting saves money. Together with annotations and fully documented optional params, this is near-complete, though it omits any note on data recency or result format.

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 city, when, and miles (including the NY-only restriction on miles). The description restates the NYC-only nature of 'miles' but adds no syntax, format, or default detail beyond the schema, so the baseline 3 applies.

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 description states a concrete purpose ('Cheapest time of day to take a ride') and clarifies the different outputs for New York versus other cities, making the tool's role distinct from fare-estimation siblings. It does not explicitly name or contrast itself with siblings like fairfare_estimate_fare or fairfare_get_taxi_tariff, so it falls short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the agent can infer it should call this when seeking the cheapest hour to ride. There is no explicit when-to-use/when-not guidance and no mention of alternative tools (e.g. estimate_fare for a specific fare), leaving routing to inference.

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.