Skip to main content
Glama

Cheapest time of day to take a ride

best_time_to_ride
Read-onlyIdempotent

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. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, openWorld, non-destructive), so the bar is lower; the description still adds real value by disclosing data provenance (city trip records, Uber/Lyft vs. taxi meter rates) and what the answer contains. It stops short of stating freshness/coverage limits of the underlying records.

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

Conciseness4/5

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

Three sentences, front-loaded with the core question, then the data basis, then city fallback behavior. Every sentence carries information, though the opening sentence restates the title verbatim, costing a little space.

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 usefully sketches the return content (cheapest and most expensive hours today, whether waiting saves money) and covers the NYC/non-NYC split that governs behavior. It is close to complete, though it omits what the tool returns for non-NYC cities and any data-freshness caveat.

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 city, when, and miles are already fully documented, and the baseline is 3. The description adds only marginal context by explaining why results differ by city, but it does not clarify parameter interactions (e.g., how 'when' affects the per-hour comparison) 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 description states a specific question the tool answers ('cheapest time of day to take a ride') and separates two data regimes: NYC Uber/Lyft trip records vs. other cities' taxi meter rates. An agent can distinguish it from fare-estimation siblings, but the description never names or contrasts those siblings explicitly.

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 implied through scope conditions ('For New York... For other cities...'), which tells the agent when the NYC-specific behavior applies. However, there is no explicit guidance on when to pick this tool over check_fare, estimate_fare, or get_taxi_tariff, and no exclusions are stated.

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.