Skip to main content
Glama
kirisawa-subaru

miband-health-mcp

get_current_state

Retrieve recent Mi Band health metrics (heart rate, steps, sleep, workouts) with configurable freshness. Choose cached or fresh data, set wait time and max age to get current state or return unmet condition.

Instructions

Recent recorded heart rate, steps and historical sleep/workouts; Gadgetbridge adds battery.

cached returns immediately. prefer_fresh attempts an ordinary backend pull if HR is old; require_fresh returns freshness_unmet if the requested age cannot be met. No app UI interaction. A successful recent pull is reused for 60 seconds even when source data remains stale. wait_seconds: 1..30; max_age_seconds: 1..86400.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
freshnessNoprefer_fresh
wait_secondsNo
max_age_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior5/5

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

The description goes well beyond the sparse annotations by disclosing caching behavior (60-second reuse), freshness failure semantics, and the fact that no app UI interaction occurs. This gives agents a clear model of side effects and timing.

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?

The description is compact and packs useful behavioral details into a few lines. The opening is a fragment ('Recent recorded heart rate...') and could be cleaned up, but overall it is front-loaded and efficient.

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?

An output schema exists, so return format is not needed. The description covers freshness modes, caching, and parameter ranges, but the missing definitions for wait_seconds and max_age_seconds leave an agent uncertain about how to set them effectively. For a tool with 3 optional params, this is incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully explain parameters. It thoroughly explains the freshness enum, but only gives numeric ranges for wait_seconds and max_age_seconds without defining what they actually control (e.g., wait time, freshness threshold). This is a notable gap.

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 clearly lists the data returned (heart rate, steps, historical sleep/workouts, battery via Gadgetbridge) and this differentiates it from get_health_status, get_daily_report, and query_health. It lacks an explicit verb like 'retrieves' but the resource and scope are unambiguous.

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

Usage Guidelines4/5

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

The freshness modes are explained with concrete behavior (cached returns immediately, prefer_fresh attempts a pull, require_fresh returns freshness_unmet), giving agents clear context on how to choose modes. It also states 'No app UI interaction', but does not name alternatives or explicitly say when not to use this tool versus siblings.

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