Skip to main content
Glama

Tesla Trips By Category

tesla_trips_by_category

Retrieve Tesla trips filtered by category such as commute, shopping, leisure, long_trip, or other, with optional date range, day lookback, vehicle, and result limit.

Instructions

Get trips filtered by category.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to look back from today (default: all time if days/start_date not set)
limitNoMax trips to return (default: 20)
car_idNoFilter by vehicle ID (default: TESLA_CAR_ID env or first car)
categoryNo"commute", "shopping", "leisure", "long_trip", or "other"commute
end_dateNoFilter drives until this date (YYYY-MM-DD), defaults to today
start_dateNoFilter drives from this date (YYYY-MM-DD), overrides days param

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and discloses essentially nothing: no note that it is a read-only query, no pagination/limit behavior, no default date-window behavior, no permission requirements. An output schema exists, which covers return shape, but invocation-side behavior is left implied by the word 'Get'.

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?

A single front-loaded sentence with zero filler and no repetition of the title or schema. It is efficient, though economy here shades into under-specification rather than true tightness.

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

Completeness3/5

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

The rich schema and existing output schema mean parameters and return values are adequately covered elsewhere, so the description does not need to restate them. What remains missing is the sibling-boundary information (category enumeration vs. category filtering) that makes this definition minimally viable rather than complete.

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% and all six parameters (days, limit, car_id, category, end_date, start_date) carry their own documented defaults and semantics, so the schema does the heavy lifting. The description adds nothing beyond restating the category filter, which is the baseline 3 case.

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?

States a specific verb ('Get') and resource ('trips') with the filtering dimension ('by category'), so the core operation is unambiguous. However, it makes no attempt to distinguish itself from close siblings like tesla_drives, tesla_trip_categories, or tesla_longest_trips, which an agent must otherwise infer.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no mention of alternatives. An agent cannot tell from the text why it should pick this over tesla_trip_categories (likely the companion that enumerates available categories) or tesla_drives without opening both schemas.

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