Skip to main content
Glama

Trip history

uber_trips
Read-onlyIdempotent

Retrieve upcoming and past trip history newest first, paginate with next_cursor, and optionally add past-ride details like route, receipt, and timing.

Instructions

Upcoming (first page) and past trips, newest first. Page back with next_cursor. include_details adds each past ride's category, receipt vehicle, route and offset-bearing times in details; costs one extra paced read per past ride. Missing trips have details_error; other errors stop the call. Times on cancelled/upcoming rides may be requested or scheduled times, never proof of travel.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many past trips, newest first
cursorNonext_cursor from the previous call
timezoneNoIANA zone for detail times; default UTC
include_detailsNoInclude a detail lookup for each past ride

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.4.1
    • addedInput schema / properties / include_details
      Added value: +{
      +  "default": false,
      +  "description": "Include a detail lookup for each past ride",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / timezone
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 100,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "IANA zone for detail times; default UTC"
      +}
  2. First observedv0.3.15

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses pagination behavior, that include_details costs one extra paced read per past ride, how missing details are surfaced via details_error, that other errors stop the call, and that times on cancelled/upcoming rides may be requested or scheduled rather than proof of travel. These are meaningful behavioral traits not captured by readOnly/openWorld/idempotent annotations.

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?

The scope is front-loaded, and each sentence adds distinct operational value: ordering, pagination, detail cost, error behavior, and time caveats. It is dense but appropriate for the tool's behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given four parameters, an output schema, and existing annotations, the description covers the important behavioral gaps an agent needs: pagination, detail lookup cost, partial failure semantics, and time reliability. No crucial calling information appears missing.

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 adds useful semantics for next_cursor and include_details, including what extra fields appear and the performance cost. It does not add much for limit or timezone beyond the schema, keeping it below 5.

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?

The description states a specific resource (trips) and two clear scopes: upcoming first page and past trips, newest first. This naturally distinguishes it from sibling tools like uber_trip and uber_ride_status, which operate on individual trips or live ride status.

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

Usage Guidelines4/5

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

It gives clear usage context: use next_cursor to page back, and use include_details when per-ride detail is needed while noting the extra read cost. It does not explicitly mention alternatives such as uber_trip or when not to use this tool, so it falls short of a 5.

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