Skip to main content
Glama

Log body metric

log_body_metric

Record a body-metric reading for a participant (weight, body_fat, muscle_mass, resting_hr, flexibility, waist, or a custom metric_key). Appends to the time-series.

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>",
      "metric_key": "<metric_key>",
      "value": "<value>"
    },
    "name": "log_body_metric"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
unitNoDefaults to the known unit for standard metrics.
labelNoDisplay label for a custom metric.
valueYes
metric_keyYese.g. weight | body_fat | resting_hr | flexibility, or a custom slug.
measured_atNoISO timestamp (default: now).
participant_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the safety profile is largely covered. The description adds meaningful context by saying it "Appends to the time-series," which concretely explains what the non-idempotency means in practice (each call adds a new entry rather than overwriting). It does not address duplicate handling, validation of units, or error behavior, so it goes only modestly beyond the annotations.

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, front-loaded with the core action and followed by the append semantics. Every clause carries information; no filler or restatement of the title.

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 7-parameter mutation tool, the definition covers the central question of what gets written and that it accumulates in a time series, while the schema documents the optional fields. The remaining gap is minor: the lack of any statement about what comes back or what happens on duplicate/invalid readings, which matters slightly more given there is no output schema.

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

Parameters4/5

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

The description names the concrete metric_key values, including muscle_mass and waist, which the schema's own description does not list (it stops at "weight | body_fat | resting_hr | flexibility"), and confirms support for custom keys. That is genuine added meaning beyond a 57%-coverage schema. It adds nothing about the remaining parameters (note, unit, label, measured_at, participant_id).

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 states a specific verb and resource ("Record a body-metric reading for a participant") and enumerates the supported metric types, so an agent immediately knows what the tool does. It also contrasts implicitly with the read-only sibling by saying it "Appends to the time-series," though it never names list_body_metrics, so sibling differentiation is indirect rather than explicit.

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: the append-to-time-series phrasing suggests this is the write path for new readings rather than a query, which is enough to distinguish it from listing. There is no explicit when-to-use/when-not-to-use statement, no mention of prerequisites such as the participant existing, and no guidance on correcting or replacing a previously logged reading.

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