Skip to main content
Glama

Tesla Savings

tesla_savings

Calculate gas savings versus a comparable gas car using TeslaMate vehicle data, gas price, and MPG equivalent.

Instructions

Gas savings scorecard -- how much you've saved vs a gas car.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
car_idNoFilter by vehicle ID (default: TESLA_CAR_ID env or first car)
gas_priceNoGas price per gallon (default from TESLA_GAS_PRICE env, or $3.50)
mpg_equivalentNoComparable gas vehicle MPG (default from TESLA_GAS_MPG env, or 28)

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, the description carries the full behavioral burden, and it does not say whether this is a read-only computation, whether it needs any prior data (charging history), or how env-var fallbacks behave. It implies a safe read via 'savings scorecard', but that is inference rather than disclosure.

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 clause with zero waste. It is arguably too terse for a tool with sibling overlap, but nothing in it is padding.

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 and params are fully covered, so return values and inputs need no prose. What is missing is the routing context: when this beats calculate_eco_savings_vs_icev or tesla_trip_cost. Adequate but with a clear gap for a 3-param tool in a dense sibling set.

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 car_id, gas_price, and mpg_equivalent (including their env-var defaults) are already fully documented. The description adds no parameter meaning beyond the schema, 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?

The description states a clear resource and scope: a gas-savings scorecard comparing running cost against a gas car. An agent can grasp what the tool computes, but nothing distinguishes it from the near-identical sibling calculate_eco_savings_vs_icev, so it fails the sibling-differentiation bar for a 5.

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 prerequisites, and no mention of the closest alternative (calculate_eco_savings_vs_icev) despite obvious overlap. The agent must infer usage entirely from the name.

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