Skip to main content
Glama

Free Tool Directory

ev-off-peak-charging-calculator

EV Off-Peak Charging Calculator — Latest start time to have your EV ready by morning, and how much charging falls in the cheap off-peak window.

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": "ev-off-peak-charging-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
kwNoCharger power, kW.
curNoCurrent charge, %.
depNoDeparture time, HH:MM.07:00
effNoCharging efficiency, %.
tgtNoTarget charge, %.
battNoBattery capacity, kWh.
offENoOff-peak end, HH:MM.05:00
offSNoOff-peak start, HH:MM.00:00
plugNoPlug-in time, HH:MM.22:00
priceOffNoOff-peak price per kWh.
pricePeakNoPeak price per kWh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • addedInput schema / properties / batt
      Added value: +{
      +  "default": 60,
      +  "description": "Battery capacity, kWh.",
      +  "type": "number"
      +}
    • addedInput schema / properties / cur
      Added value: +{
      +  "default": 20,
      +  "description": "Current charge, %.",
      +  "type": "number"
      +}
    • addedInput schema / properties / dep
      Added value: +{
      +  "default": "07:00",
      +  "description": "Departure time, HH:MM.",
      +  "type": "string"
      +}
    • addedInput schema / properties / eff
      Added value: +{
      +  "default": 90,
      +  "description": "Charging efficiency, %.",
      +  "type": "number"
      +}
    • addedInput schema / properties / kw
      Added value: +{
      +  "default": 7,
      +  "description": "Charger power, kW.",
      +  "type": "number"
      +}
    • addedInput schema / properties / offE
      Added value: +{
      +  "default": "05:00",
      +  "description": "Off-peak end, HH:MM.",
      +  "type": "string"
      +}
    • addedInput schema / properties / offS
      Added value: +{
      +  "default": "00:00",
      +  "description": "Off-peak start, HH:MM.",
      +  "type": "string"
      +}
    • addedInput schema / properties / plug
      Added value: +{
      +  "default": "22:00",
      +  "description": "Plug-in time, HH:MM.",
      +  "type": "string"
      +}
    • addedInput schema / properties / priceOff
      Added value: +{
      +  "default": 0.15,
      +  "description": "Off-peak price per kWh.",
      +  "type": "number"
      +}
    • addedInput schema / properties / pricePeak
      Added value: +{
      +  "default": 0.35,
      +  "description": "Peak price per kWh.",
      +  "type": "number"
      +}
    • addedInput schema / properties / tgt
      Added value: +{
      +  "default": 80,
      +  "description": "Target charge, %.",
      +  "type": "number"
      +}
    • addedInput schema / required
      Added value: +[]
  2. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and falls short. It never states the return shape or units, never mentions that every parameter is optional and defaulted, and never accounts for priceOff/pricePeak — implying a cost output the description does not disclose — nor for edge cases like target charge already met or the window being too short.

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 em-dash sentence with the tool name leading and the two outputs front-loaded; nothing is padded or redundant. It is arguably a touch terse for an 11-parameter tool, but no sentence wastes space.

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?

Eleven parameters with defaults, no annotations, and no output schema means the description should explain the optional-parameter behavior and what comes back. Instead it only names two of the likely outputs, leaving the agent to guess the result structure and whether omitted inputs fall back to defaults.

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 each of the 11 parameters (kw, batt, cur, tgt, dep, plug, offS, offE, eff, priceOff, pricePeak) is already documented in the schema with units and defaults. The description adds no additional parameter meaning such as how plug time interacts with off-peak start or what HH:MM formatting assumptions apply, so the baseline 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 names the resource (EV off-peak charging calculator) and the two concrete outputs: the latest start time to be ready by morning and the amount of charging inside the cheap window. That is specific enough for an agent to distinguish it from the loan/BMI/date calculators in the sibling list, though it does not explicitly contrast against any named alternative.

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?

The scenario is implied by the phrasing ('have your EV ready by morning', 'cheap off-peak window'), so an agent can infer the intent, but there is no explicit when-to-use, no mention that all 11 parameters are optional with defaults, and no statement of when this calculator is the wrong choice.

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