Skip to main content
Glama
io.github.rwestergren/cronometer-api-mcp

io.github.rwestergren/cronometer-api-mcp

by rwestergren

add_biometric

Records a biometric reading such as weight or body fat to the Cronometer diary using specified metric and unit IDs, with an optional date.

Instructions

Record a biometric reading such as a weight or body fat.

Use list_biometrics for metric_id and unit_id (e.g. Weight is metric_id 1 with unit_id 1 for kg; Body Fat is metric_id 8 with unit_id 13 for %). The reading appears in get_food_log's diary as a "Biometric" entry; remove_food_entry with its biometricId deletes it.

Args: metric_id: Numeric metric ID from list_biometrics. unit_id: Numeric unit ID from the metric's units; the amount is in this unit. amount: The reading. date: Date as YYYY-MM-DD (defaults to today).

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": {
      "metric_id": "<metric_id>",
      "unit_id": "<unit_id>",
      "amount": "<amount>"
    },
    "name": "add_biometric"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
amountYes
unit_idYes
metric_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.7

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), and the description adds real value beyond them by disclosing the side effect: the reading surfaces as a 'Biometric' entry in get_food_log and is deleted through remove_food_entry. It doesn't address duplicate handling despite idempotentHint=false, nor any auth requirements for an openWorld tool.

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, followed by cross-tool dependencies, then an Args block. The Args block is earned because the schema has zero parameter descriptions; the only slight redundancy is repeating 'Numeric ... from list_biometrics' twice.

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?

With an output schema present, return values need no explanation, and the description covers the create-to-delete lifecycle and ID sourcing well. It leaves out permission/auth context and how repeated readings on the same date are treated, which matters for a non-idempotent, open-world write.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does: every one of the four params is explained, including that unit_id must be a unit of the chosen metric and that amount is expressed in that unit. It even supplies concrete ID pairs (Weight = 1/1 kg, Body Fat = 8/13 %) that the schema lacks entirely.

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?

The description opens with a specific verb+resource, 'Record a biometric reading', and gives concrete examples (weight, body fat) that separate it from list_biometrics and get_biometrics. An agent can identify the operation without opening the schema.

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?

It names the prerequisite lookup tool ('Use list_biometrics for metric_id and unit_id') and explains the downstream lifecycle: the entry shows in get_food_log's diary and can be removed via remove_food_entry with its biometricId. It stops short of explicit exclusions (e.g. when to prefer add_food_entry instead), so not a 5.

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