Skip to main content
Glama

charger_energy

Read-onlyIdempotent

Retrieves the kWh charged during a selected day, week, or month so you can review recent energy use.

Instructions

Energy charged lately. The kWh charged in a period: 'period' is 'day' for today, 'week' for this week from Monday, or 'month' for this month.

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": "charger_energy"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoday

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds real value by pinning down what 'lately' means, including that 'week' starts on Monday, which defines the aggregation window. It still omits timezone, whether an in-progress session is included, and units per period beyond the general kWh mention.

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?

Two short sentences, front-loaded with the resource and measure, then the parameter semantics. The opening phrase 'Energy charged lately' is slightly redundant with the following sentence, but nothing else is wasted.

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

Completeness5/5

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

This is a simple read-only aggregate with one optional parameter and an output schema, so return-format detail is not needed. The description covers the measurement, the aggregation window, and every accepted period value, leaving only minor edge cases such as timezone.

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 description coverage is 0% and the schema declares no enum, so the description carries the full burden for 'period'. It does so by enumerating day/week/month and giving each a precise semantic boundary, including the Monday week start. It does not state what happens with an unrecognized value or whether a timezone affects the boundaries.

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 specific resource and measure: the kWh of energy charged over a period. That is clearly distinct from the sibling names charger_current, charger_status, and charger_sessions, which imply live state or individual sessions rather than an energy aggregate. It does not explicitly contrast itself with any sibling, which keeps it from 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 Guidelines3/5

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

Use is only implied: an agent can infer this tool answers 'how much energy was charged' questions. There is no explicit statement of when to prefer it over charger_sessions or charger_current, and no exclusions or prerequisites are given.

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