Skip to main content
Glama

get_pai

Read-onlyIdempotent

Fetch PAI daily score, rolling total, zone scores/minutes, and heart-rate data from Zepp to review read-only activity insights.

Instructions

Read-only. PAI daily score, rolling total, zone scores/minutes and PAI heart rates.

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_pai"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNo
untilNo
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the leading 'Read-only.' merely restates structured data rather than adding it. The one genuinely additive element is the disclosure of returned content (daily score, rolling total, zone minutes, PAI heart rates), which compensates somewhat for the missing output schema, but nothing is said about time-range defaults or result volume.

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?

It is a tight single sentence with no wasted words, and the returned-field list is front-loaded. The only inefficiency is the redundant 'Read-only.' lead-in, which duplicates the annotations.

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?

Given four undocumented parameters, no output schema, and no annotations explaining defaults or pagination, the description leaves real gaps for an agent trying to call it correctly. It does at least state the domain of returned data, which is the largest hole it could have filled.

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?

All four parameters (limit, since, until, offset) have zero schema description coverage, and the description does not explain their formats, whether since/until are dates or timestamps, or how limit/offset paginate. The phrase 'rolling total' hints at time-series behavior but does not resolve any parameter semantics.

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 names a specific data domain (PAI) and enumerates what is returned: daily score, rolling total, zone scores/minutes, and PAI heart rates. That is enough for an agent to distinguish it from siblings like get_heart_rate or get_training_load, though it lacks an explicit verb and reads as a noun list.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives such as get_daily_summary, get_training_load, or get_heart_rate, and no mention of how to scope the query. An agent must infer from the name alone that this is the PAI-specific endpoint.

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