Skip to main content
Glama

Recent trips

toyota_get_trips
Read-onlyIdempotent

Retrieve recent individual trips for your Toyota, newest first, to review weekly driving history or find when the car last drove. Set the day range (up to 92) and trip limit for tailored results.

Instructions

Individual trips over a recent window, newest first.

Use for: list this week's trips, when did the car last drive? For averages over a period, prefer toyota_get_trip_summary. For windows beyond 92 days, use toyota_get_trip_summary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoCalendar days to cover, ending today (inclusive).
limitNoMaximum number of trips to return.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoSet when the window is empty or the list was truncated by limit.
tripsYesNewest first.
freshnessYes
window_toYes
window_fromYes
retention_noteYes
returned_countYes
total_in_windowYesTrips recorded in the window before applying limit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, covering the safety profile. The description adds useful behavioral context like 'newest first' and 'individual trips,' but does not discuss data freshness, availability, or edge cases. Given the strong annotation coverage, this is adequate but not exceptional.

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 description is compact and front-loaded: the first sentence defines the behavior, followed by concise use cases and sibling routing. Every sentence earns its place, with no redundancy or filler.

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?

With an output schema present, full parameter documentation, and safety annotations, the description provides all necessary context: ordering, trip granularity, use cases, and explicit alternatives. Nothing critical is missing for an agent to select and invoke the tool correctly.

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%, with both 'days' and 'limit' already clearly documented including defaults, ranges, and meaning. The description does not add significant parameter-level detail beyond what the schema provides, so the baseline of 3 is appropriate.

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 clearly states the tool returns individual trips over a recent window, newest first. It explicitly contrasts with trip summaries, which distinguishes it from toyota_get_trip_summary and makes the resource and scope unambiguous.

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

Usage Guidelines5/5

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

The description gives concrete use cases ('list this week's trips', 'when did the car last drive?') and explicitly routes users to toyota_get_trip_summary for averages and windows beyond 92 days. This is strong, actionable when-to-use guidance versus alternatives.

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