Skip to main content
Glama

Export history (CSV)

export_history_csv
Read-only

Export the saved history as CSV text.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "export_history_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO date/time end (default now)
vinNoVehicle VIN (full, or its last 4-6 characters). Required when the account has more than one car (call list_vehicles first and ask the user which car). Optional with one car. Every car on the owner's Tesla account is covered by the plan.
fromNoISO date/time start (default 30 days ago)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description usefully adds that the output is CSV text returned inline rather than a file or download link, but says nothing about volume, truncation, or whether the export is bounded by the same range defaults. With annotations carrying most of the burden, this is adequate but thin.

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 no wasted words, appropriately sized for a simple three-parameter read tool. It is perhaps too terse to carry any routing or behavioral information, but nothing is bloated or buried.

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?

For a simple read-only export with full schema coverage and clear annotations, little elaboration is strictly required. However, with twenty sibling tools including get_history and delete_my_history, the description leaves the selection decision and the relationship to the history tool unexplained, which is a real gap.

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 the parameter docs are already rich, including the VIN multi-car requirement and the from/to defaults. The description adds no meaning about date formats, range limits, or what happens when from/to are omitted, so it earns only the baseline.

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 (export), resource (saved history), and output format (CSV text), so an agent can tell what it produces. It never names the obvious sibling get_history, leaving the CSV-vs-other-format distinction implicit rather than stated.

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

Usage Guidelines3/5

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

Usage is only implied by the word 'CSV' — an agent must infer that this is the choice when the user wants a downloadable/tabular export rather than the plain history. There is no explicit when-to-use, when-not, or pointer to get_history as the alternative.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources