Skip to main content
Glama

Tesla Efficiency

tesla_efficiency

Calculate weekly average efficiency (Wh/mi) from Tesla driving data to track energy consumption trends over a chosen period.

Instructions

Energy consumption trends -- Wh/mi over time.

Shows weekly average efficiency from driving data.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days to look back (default: 90)
car_idNoFilter by vehicle ID (default: TESLA_CAR_ID env or first car)
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

B3.3/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full behavioral burden. It does disclose the metric (Wh/mi), the aggregation window (weekly averages), and the data source (driving data), which helps the agent interpret output. However, it says nothing about auth requirements, data availability behavior, or empty-result handling.

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?

Two short sentences, front-loaded with the metric and resource, zero filler. Every clause adds information.

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?

An output schema exists so return values need not be described, and the schema fully covers parameters. What is missing is the routing context: with three closely related efficiency tools, the description should say when this plain variant is preferred over the temp/weather breakdowns.

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 all four parameters (days, car_id, end_date, start_date) are already documented in the schema, including defaults and override behavior. The description adds no parameter-level meaning beyond that, so baseline 3 applies.

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 resource and metric: energy consumption trends in Wh/mi, aggregated as weekly averages from driving data. Clear what the tool computes, but it does not distinguish itself from close siblings like tesla_efficiency_by_temp or tesla_efficiency_by_weather.

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?

No explicit when-to-use guidance and no alternatives named. An agent must infer from the name that this is the default overall efficiency view versus the temperature/weather variants. Implied usage only.

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