Skip to main content
Glama
holger1411

unofficialzaptecMCP

by holger1411

Get charging history

zaptec_get_charge_history
Read-only

Retrieve completed Zaptec EV charging sessions for a selected time range, including start, end, duration, energy in kWh, optional cost when configured, and a summary.

Instructions

Completed charging sessions in a time range (installation-local time) with start, end, duration and energy in kWh, plus a summary. Cost fields appear only when ZAPTEC_PRICE_PER_KWH is configured. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_dateNoISO date (YYYY-MM-DD, inclusive), required for custom
charger_idNoOptional charger id. Defaults to ZAPTEC_DEFAULT_CHARGER_ID or the only charger.
start_dateNoISO date (YYYY-MM-DD), required for custom
time_rangeNomonth

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYes
startYes
summaryYes
sessionsYes
timezoneYes
truncatedYes
time_rangeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Adds real context beyond the readOnlyHint/openWorldHint annotations: only COMPLETED sessions are returned, timestamps are in installation-local time, and cost fields are conditional on ZAPTEC_PRICE_PER_KWH being configured. That conditional-output disclosure is exactly the kind of behavior an agent cannot get from annotations.

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?

Compact and front-loaded: the resource and scope come first, the conditional cost caveat and read-only note follow. No wasted sentences, though 'Read-only.' slightly duplicates the annotation.

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

Completeness4/5

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

With an output schema present, return structure needn't be restated, and the description still flags conditional cost fields. Combined with annotations, an agent has enough to call this correctly; only explicit alternative-routing guidance is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, and the description adds semantics the schema lacks – notably that time_range is interpreted in installation-local time. This is a meaningful clarification over the enum/default already documented.

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?

Names a specific verb+resource ('Completed charging sessions in a time range') and enumerates what each session contains (start, end, duration, kWh, summary). It is clearly distinguishable from zaptec_get_status and the pause/resume siblings, though it does not explicitly name them.

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 implied by the time-range framing rather than stated: the agent can infer this is the tool for historical/completed sessions. There is no explicit when-not guidance and no comparison against siblings such as zaptec_get_status.

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