Skip to main content
Glama

Tesla Driving Score

tesla_driving_score

Calculate a driving score from Tesla data using acceleration, braking, and speed habits for recent drives, days, or monthly periods.

Instructions

Driving score based on acceleration, braking, and speed habits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of recent drives (period="recent_n")
daysNoNumber of recent days (period="days")
yearNoYear for monthly/months period (e.g. 2024)
monthNoMonth (period="monthly", 1-12)
car_idNoFilter by vehicle ID (default: TESLA_CAR_ID env or first car)
periodNo"recent_n" | "days" | "monthly" | "months"recent_n
end_monthNoEnd month (period="months", 1-12)
start_monthNoStart month (period="months", 1-12)

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 burden of behavioral disclosure. It mentions score composition but omits whether the operation is read-only, permission requirements, return format, or how period modes affect behavior, leaving significant gaps.

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 description is a single, front-loaded sentence with no wasted words. It is appropriately sized for a brief tool summary, though the fragment style slightly reduces structural clarity.

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. However, given eight optional parameters with multiple period modes and no annotations, the description is incomplete: it does not explain how to choose among period settings or when this score tool is preferable to sibling tools.

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 eight parameters are documented directly in the schema. The description adds no parameter semantics beyond that, making the baseline score of 3 appropriate.

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 description names a specific resource, the driving score, and its inputs (acceleration, braking, speed habits). It lacks an explicit verb like 'retrieve' and does not differentiate the tool from siblings such as tesla_monthly_report or check_driving_achievements, but the core purpose is clear.

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 guidance is given on when to use this tool versus alternatives, nor are prerequisites or exclusions mentioned. The description only states what the score is based on, leaving the agent to infer usage context.

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