Skip to main content
Glama

get_lifetime_stats

Retrieve solar battery lifetime stats: cycle count, full-charge events, under-voltage warnings, and projected LFP cycle life. Specify alias/serial for one battery or all.

Instructions

Cycle count, full-charge events, under-voltage events, warning count, and projected remaining LFP cycle life (nominal 4000 cycles).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoAlias (Bat1/Bat2/Bat3) or serial number; omit for all batteries
Behavior3/5

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

With no annotations, the description carries the burden. It adds context by noting the projection is for LFP batteries and based on nominal 4000 cycles, which is a useful behavioral detail. It doesn't explicitly state that the operation is read-only or describe any error conditions, but the 'get' prefix implies read-only, and there are no side effects to disclose. Overall it provides some additional behavior context beyond a bare list.

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, tightly packed sentence listing exactly the returned metrics with no filler or repetition. Each item (cycle count, events, warning count, projected life) is substantive, and the nominal-4000-cycles qualification adds precision without extra words.

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?

The description covers the return values comprehensively, serving as a de facto output schema for a tool with no output schema. It also provides the LFP-specific projection context. It doesn't specify numeric units or time periods, but the simple nature and optional parameter make this adequate.

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 schema description for the only parameter 'id' is 100% comprehensive, explaining alias/serial and the default behavior when omitted. The tool description adds no additional parameter guidance, so it relies on the schema, which is already strong. Baseline 3 applies since schema coverage is high.

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 enumerates the key lifetime metrics (cycle count, events, warning count, projected LFP cycle life), making clear this is a getter for battery lifetime stats. It distinguishes from siblings like get_health and get_autonomy by focusing on lifetime-specific data. However, it lacks an explicit verb such as 'Retrieves' and is just a noun phrase, which slightly reduces clarity.

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 description implies usage when lifetime statistics are needed, but it doesn't provide explicit when-to-use or when-not-to-use guidance or reference alternative sibling tools. It doesn't mention that get_health would be more appropriate for health-specific queries, so guidance is only implied by the metric list.

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/RicardoSantos/mcp-fsolar'

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