Skip to main content
Glama

get_charges

Retrieve charging session history for your Tesla vehicle. Filter by date range, Supercharger-only sessions, and minimum energy added to analyze charging behavior.

Instructions

Returns charging sessions for the vehicle

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd timestamp (Unix epoch seconds)
vinNoVehicle Identification Number (VIN). Defaults to TESSIE_DEFAULT_VIN env var if set.
fromNoStart timestamp (Unix epoch seconds)
limitNoMaximum number of charges to return
timezoneNoTimezone (e.g. America/Los_Angeles)
distance_formatNoDistance format (overrides TESSIE_DISTANCE_FORMAT env var)
superchargers_onlyNoOnly return Supercharger sessions
minimum_energy_addedNoMinimum kWh added to include
Behavior2/5

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

With no annotations, the description carries full responsibility for behavioral disclosure. It only says 'returns charging sessions', omitting details about pagination, time ranges, defaults, or the nature of returned data. This is a significant gap for an 8-parameter tool.

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?

The description is a single, concise sentence with no filler. It is front-loaded and efficient.

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

Completeness2/5

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

Despite rich schema descriptions, the tool description lacks context about the overall behavior, such as default time ranges, how filters interact, or what the response looks like. Since there is no output schema, this short description leaves much to be inferred, especially with 8 optional parameters and no annotations.

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?

The input schema provides descriptions for all 8 parameters, so the description does not need to add parameter details. It adds no additional meaning beyond the schema, so a baseline score of 3 is 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 clearly states the tool returns charging sessions, using a specific verb and resource. It distinguishes from sibling tools like get_drives by focusing on charging rather than driving, though it does not explicitly contrast with them.

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 guidance on when to use this tool versus alternatives. No mention of filtering conditions, default behavior, or when to choose get_charges over other get_* tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akrowczyk/tessie-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server