Skip to main content
Glama
yazio-mcp

yazio-mcp

by fliptheweb

Set Note

set_user_note
DestructiveIdempotent

Set or update a Yazio diary note and feeling tags for a specific date, keeping omitted fields unchanged; pass null and [] to clear the day.

Instructions

Set the user's diary note and/or feeling tags for a date. Fields you leave out keep their current value; the note text replaces the old text, so include it to append. Yazio has no delete: to clear the day, pass note: null and tags: [].

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": {
      "date": "<date>"
    },
    "name": "set_user_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate in YYYY-MM-DD format
noteNoNote text for the day; null clears it; leave out to keep the current note
tagsNoFeeling tags as in the Yazio app, e.g. ["happy", "motivated", "headache"]; the API rejects unknown tags. [] clears them; leave out to keep the current tags

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.21

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true and destructive=true, but the description adds the non-obvious write semantics: partial patch behaviour, that note text replaces rather than appends, and that clearing requires explicit nulls. The only real gap is that it says nothing about permissions or what a successful call returns.

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?

Three short sentences, each doing distinct work: what it writes, how omitted fields behave, and how to erase. The mutation and replacement warnings are front-loaded before the edge-case clearing rule.

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 3-parameter mutation with full schema coverage and destructive annotation, the description covers semantics, omission behaviour and erasure well. Since there is no output schema, it could still say what the call returns or whether the write is per-day scoped by timezone.

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; the description earns an extra point only for the replace-vs-append nuance for note ("the note text replaces the old text, so include it to append"), which the schema does not spell out. The remaining clearing behaviour for note: null and tags: [] largely restates the schema descriptions.

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?

"Set the user's diary note and/or feeling tags for a date" names a specific verb (set), the exact resource (diary note / feeling tags), and the scope (a single date). It is trivially separable from the sibling get_user_note (read) and from the add_user_* tools that append consumables rather than overwrite a per-day note.

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?

The partial-update rule ("Fields you leave out keep their current value") plus "Yazio has no delete: to clear the day, pass note: null and tags: []" tells the agent exactly how to handle the clearing case that would otherwise tempt it to look for a delete tool. It stops short of the fuller routing guidance a 5 requires, e.g. suggesting get_user_note first to read the current text before appending.

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