Skip to main content
Glama

get_body_battery

Retrieves Body Battery reports over a date range to track energy levels, with optional charge and drain events for a chosen day.

Instructions

Get Body Battery reports over a date range, optionally with charge/drain events for a specific date.

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

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd date (YYYY-MM-DD), defaults to today
startDateNoStart date (YYYY-MM-DD), defaults to 7 days ago
includeEventsForDateNoOptional date (YYYY-MM-DD) to also fetch detailed charge/drain events

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/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. It does disclose the non-obvious optional behavior that a single extra date returns charge/drain event detail, and "Get" implies a read, but says nothing about permissions, data volume/pagination, units, or latency for what may be a multi-day report.

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?

One front-loaded sentence with the primary scope first and the optional mode trailing; no filler. Single-sentence length is appropriate, though the phrase "for a specific date" could be slightly more precise about it being an additional optional date parameter.

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

Completeness3/5

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

For a zero-required-parameter read tool with full schema coverage and no output schema, the description covers the essentials. It stops short of explaining what a Body Battery report contains or what the events mode returns, which matters given the absence of an output schema and 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?

Schema description coverage is 100%, so the schema already documents all three parameters including the defaults (today, 7 days ago). The description merely restates the date-range and per-date-events intent, adding no format, constraint, or interaction detail beyond the schema.

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?

States a specific verb and resource ("Get Body Battery reports") plus the scoping dimension (over a date range) and an optional mode (charge/drain events for a specific date). It is clear enough to pick without opening the schema, though it does not name any sibling it should be preferred over.

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 only implied: fetch Body Battery for a date window, and supply a date if detailed events are wanted. There is no explicit when-to-use/when-not statement and no pointer to an alternative tool (e.g., a daily summary tool that might also carry battery data).

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

Deploy Server

Other Tools