Skip to main content
Glama

Trip details

uber_trip
Read-onlyIdempotent

Retrieve details for a single Uber trip by trip ID, including status, fare, ride category, driver, route, distance, duration, and timezone-adjusted timestamps.

Instructions

One trip: status, fare, ride category (product), receipt vehicle description/year when supplied, driver, pickup/drop-off/stops, distance and duration. times has ISO 8601 begin_at/dropoff_at in the requested zone (default UTC); started_at/ended_at retain Uber's original text. Cancelled/upcoming begin times may be requested/scheduled, never proof of pickup. A receipt vehicle description can just repeat the category; never infer a make, model or plate that Uber did not supply.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "uber_trip"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA trip id from uber_trips
timezoneNoIANA zone for times; default UTC

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • addedInput schema / properties / timezone
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "IANA zone for times; default UTC"
      +}
  2. First observedv0.3.15

TDQS

A3.8/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, non-destructive, openWorld), so the description correctly spends its space on data semantics instead: which time fields are zone-converted vs. left as Uber's raw text, and that cancelled/upcoming begin times are scheduled, not proof of pickup. That interpretation guidance is genuinely additive; only error behavior for an invalid or unknown id is left unmentioned.

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?

The field inventory is front-loaded in the first sentence and the remaining sentences each carry a distinct constraint (zone handling, cancelled-trip caveat, no invented vehicle attributes). It is dense and slightly run-on, but no sentence is 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?

With an output schema present the description need not document return structure, and 100% schema coverage handles both params; the remaining gap is failure modes (invalid id, trip not found) and any pagination or scope limits on stops. For a two-param read tool this is close to complete.

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 100%, so the baseline is 3, but the description exceeds it by explaining what timezone actually affects — begin_at/dropoff_at are rendered in the requested zone while started_at/ended_at keep Uber's original string. That is meaning the schema does not convey, and it clarifies the id's provenance as well.

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 enumerates the exact payload of a single-trip retrieval (status, fare, product, driver, pickup/drop-off/stops, distance, duration), which is a specific verb+resource. The word 'One trip' implicitly separates it from the sibling list tool uber_trips, though it never names that sibling outright.

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 required id is sourced from uber_trips per the schema, and the description never states 'call this after uber_trips to get details for a single id' or when to prefer it over uber_ride_status. The cancelled/upcoming guidance is about interpreting data, not about tool selection.

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