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

io.github.rwestergren/cronometer-api-mcp

by rwestergren

add_note

Add a text note to a Cronometer diary day, with optional date, time, and meal group, so it appears alongside food log entries.

Instructions

Add a note to a diary day.

Notes show up in get_food_log's diary as entries of type "Note". Remove one with remove_food_entry and its noteId.

Args: text: The note text. date: Date as YYYY-MM-DD (defaults to today). diary_group: Meal slot the note sits in: "auto" (default, picks by time of day) or the name of one of the account's diary groups, matched ignoring case and whitespace. "auto" requires unique enabled Breakfast, Lunch, Dinner and Snacks groups; otherwise choose an explicit name from get_diary_groups. time: Time of day for the note, 24-hour HH:MM or HH:MM:SS in the account timezone (defaults to now). With diary_group "auto", this also picks the meal slot.

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": {
      "text": "<text>"
    },
    "name": "add_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
textYes
timeNo
diary_groupNoauto

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.7

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare mutation, non-idempotency and open-world behavior, and the description adds meaningful runtime context: 'auto' requires unique enabled Breakfast/Lunch/Dinner/Snacks groups, defaults are today/now, and times are interpreted in the account timezone. It doesn't describe failure behavior when groups are ambiguous beyond telling the agent to pick an explicit name.

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 in one sentence, followed by an Args block with one entry per parameter. The diary_group entry is long but each clause (auto default, matching rules, uniqueness requirement, fallback) is load-bearing, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema and annotations already covering safety and idempotency, the description supplies exactly the missing pieces: entity type produced, defaults, format constraints, timezone, and the cross-tool workflow for removal and group discovery. Nothing an agent needs to invoke it correctly is absent.

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 coverage is 0%, so the description carries the full parameter burden and does so: text, date format YYYY-MM-DD with default, diary_group semantics including case/whitespace-insensitive matching, and time formats HH:MM or HH:MM:SS in the account timezone with the interaction between time and 'auto' explained.

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?

States a specific verb and resource ('Add a note to a diary day') and immediately clarifies the resulting entity by tying it to get_food_log's diary as entries of type "Note", which separates it from the sibling food-entry tools.

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?

Gives practical routing: remove via remove_food_entry with the noteId, and fall back to get_diary_groups for an explicit diary_group when 'auto' conditions aren't met. It doesn't explicitly contrast against add_food_entry, but the note-vs-entry framing makes the choice evident.

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