Skip to main content
Glama

Add a diary note

add_note

Save a diary note on a date: a brain dump after a physio or doctor visit, how the body feels, a race recce, anything the user wants to remember that is not a training session. A workout belongs in add_sessions or log_session instead. Store the user's words as close to verbatim as possible, lightly cleaned up (filler words out, sentences kept); do not summarise or add advice of your own. Date defaults to today in the user's zone. A short title and 1 to 3 lowercase tags (e.g. 'foot', 'physio', 'sleep') are what get_notes searches on later. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.

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

Input Schema

NameRequiredDescriptionDefault
bodyYesThe note, in the user's words. Markdown allowed.
dateNoLocal date the note is about, YYYY-MM-DD. Defaults to today.
tagsNoLowercase topic tags, e.g. ['foot', 'physio']. Optional.
titleNoShort title, e.g. 'Physio: foot numbness'. Optional.
race_idNoLink to a race on the user's list (race_id from get_calendar). Optional.
session_idNoLink to a training session (session_id from get_calendar). Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive write, so the description's job is to add context, which it does: it discloses the authentication requirement ("Requires signing in") and a content-fidelity rule (store near-verbatim, do not summarise or add advice). It does not address duplicate handling or what happens when a note is saved twice, which would round out a non-idempotent write.

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?

A single front-loaded paragraph that leads with the verb and scope before the alternatives and field guidance, with no wasted framing. It loses a point for mild redundancy between "Date defaults to today in the user's zone" and the closing sentence about all dates being local calendar dates in the user's own time zone.

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?

For a 6-parameter write tool with no output schema, the description covers purpose, sibling routing, content rules, date defaults, timezone convention, and auth. An agent has everything needed to call it correctly without inferring from the schema alone.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: tags should be lowercase, 1 to 3 of them, and are the fields get_notes searches on; date defaults to today in the user's zone. These are usage conventions the schema does not state, though the tag count limit is the only hard rule added.

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 ("Save a diary note on a date") and immediately scopes the content ("a brain dump after a physio or doctor visit... not a training session"). It explicitly routes workouts to add_sessions or log_session, so an agent can distinguish it from siblings without opening a schema.

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

Usage Guidelines5/5

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

Gives both when-to-use (post-visit notes, body feel, race recce, anything not a training session) and when-not-to-use with a named alternative ("A workout belongs in add_sessions or log_session instead"). It also explains downstream use of tags via get_notes, closing the loop on why the field matters.

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