Skip to main content
Glama

List body metrics

list_body_metrics
Read-only

List a participant's body-metric readings (newest first). Filter by metric_key for one metric's trend.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "participant_id": "<participant_id>"
    },
    "name": "list_body_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax rows (default 100).
metric_keyNo
participant_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds one genuine behavioral fact not in the annotations: results are returned newest first. It says nothing about pagination, truncation when limit is hit, or what a reading record contains.

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?

Two short sentences with no filler; the core purpose comes first and the filtering guidance second. Every clause carries information an agent can act on.

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?

For a simple, read-only list tool with annotations and a small flat schema, the definition covers purpose, ordering, and the main filter. The only real gap is behavior at the limit boundary and any handling of an unknown metric_key, which is minor for a listing tool with no output schema.

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 coverage is 33%, with only limit documented in the schema, so the description carries some burden. It clarifies metric_key as selecting a single metric's trend, which is real added meaning, but participant_id is never explained (e.g., whether it must be a known participant) and limit's default of 100 is only in 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 ('List a participant's body-metric readings') with scope tied to a single participant. The parenthetical '(newest first)' adds ordering, and the contrast with log_body_metric is implicit in 'list' vs 'log' rather than named explicitly.

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 second sentence gives a concrete usage cue: pass metric_key when you want a single metric's trend. It does not state when not to use this tool, nor does it name the sibling for writing a reading, so routing to alternatives is left to inference from the name alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources