Skip to main content
Glama

Body Battery

get_body_battery
Read-onlyIdempotent

Retrieve daily Garmin Body Battery readings over a date range, including charge/drain, highs and lows, events, and end-of-day feedback to review energy patterns.

Instructions

Daily Body Battery (Garmin's 0-100 energy estimate) over a range, one compact row per day: charged, drained, highest and lowest; the key readings the Personal API provides, in local time (about 6 a day: midnight, overnight peak, morning, afternoon, last); the events that moved it (sleep, activities, stress); and Garmin's end-of-day feedback. Event and feedback times are local too. For today's state use get_readiness; for trends over weeks or months use summarize_wellness (Body Battery high/low per period). Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date. detail='full' returns Garmin's raw report.

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
detailNocompact (default) keeps the meaningful fields in readable units; full returns Garmin's raw payload.compact
periodNoNamed period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date.
end_dateNoLast day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days.
start_dateNoFirst day, YYYY-MM-DD, inclusive. Required unless period is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.1
    • changedInput schema / properties / period / enum
      Previous value: -[
      -  "today",
      -  "yesterday",
      -  "last_7_days",
      -  "last_28_days",
      -  "last_30_days",
      -  "last_90_days",
      -  "last_365_days",
      -  "this_week",
      -  "last_week",
      -  "this_month",
      -  "last_month",
      -  "this_year",
      -  "last_year"
      -]New value: +[
      +  "today",
      +  "yesterday",
      +  "last_7_days",
      +  "last_28_days",
      +  "last_30_days",
      +  "last_90_days",
      +  "last_180_days",
      +  "last_365_days",
      +  "this_week",
      +  "last_week",
      +  "this_month",
      +  "last_month",
      +  "this_year",
      +  "last_year"
      +]
  2. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare this as a safe, idempotent read; the description adds the substantive behavior beyond that: timestamps are in local time, roughly six readings per day with their anchors, event and feedback data are included, and there is a hard 92-day span cap. With no output schema, spelling out what a row contains is exactly the disclosure needed.

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?

Purpose is front-loaded and the routing alternatives follow immediately, which is the right order. The semicolon-chained middle clause describing the daily readings is dense and slightly digressive, but nearly every phrase carries usable information.

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?

For a read-only range query with no output schema, the definition covers what is returned, the time basis, the row granularity, the span limit, and the sibling alternatives. An agent has everything needed to choose and call it correctly.

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%, and the description largely restates what the schema already documents: the 'full' raw report, the named-period examples, and the 92-day maximum. It confirms the intent but adds little syntax or semantics not already in the enum and field descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Daily Body Battery ... over a range, one compact row per day') plus the contents of each row (charged, drained, highest, lowest). It also names the sibling tools it is not, so an agent can distinguish it from get_readiness and summarize_wellness without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly routes the agent: 'For today's state use get_readiness; for trends over weeks or months use summarize_wellness'. It also gives the operational rule for input selection (period vs start_date/end_date) and the 92-day ceiling, so both the when and the how are covered.

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