Skip to main content
Glama

Write a note on a run

add_note

Writes a note on a run, on the step it is on now or on the step you name: the person's record of what happened, which they read on the run's page and which get_run returns where they let this assistant read notes. Use it for something worth remembering about this occasion; something to do is a step, not a note. Name a step the run has not reached yet to leave something for that moment — checked the forecast at seven, "take the umbrella" on "Get ready for the walk": the person is told on the Lock Screen when the run gets there, not when you write it. The note is the run's own, and the person decides at the end whether the routine keeps it. The answer is the command's id and a status.

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

Input Schema

NameRequiredDescriptionDefault
runYesThe run's id.
stepNoA step of the run, by its number in the run, its title or its id, as get_run gives them. Leave it out for the step it is on now.
textYesThe note.

Output Schema

NameRequiredDescriptionDefault
runNoThe run it started, planned or found, where there is one: what set_value, next_step and the rest take.
urlNoFor publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share.
codeNoFor publish_routine, once published: the eight-character code, which publish_routine takes again to replace it.
statusYesWhat the phone did with it, in one word; the sentence beside it says what that means.
commandYesThe command's id, which command_status takes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / step
      Added value: +{
      +  "description": "A step of the run, by its number in the run, its title or its id, as get_run gives them. Leave it out for the step it is on now.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / code
      Added value: +{
      +  "description": "For publish_routine, once published: the eight-character code, which publish_routine takes again to replace it.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / url
      Added value: +{
      +  "description": "For publish_routine, once the person has published it: routinerun.com/c/<code>, the address to share.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "command": {
      +      "description": "The command's id, which command_status takes.",
      +      "type": "string"
      +    },
      +    "run": {
      +      "description": "The run it started, planned or found, where there is one: what set_value, next_step and the rest take.",
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "What the phone did with it, in one word; the sentence beside it says what that means.",
      +      "enum": [
      +        "done",
      +        "saved",
      +        "proposed",
      +        "refused",
      +        "tooOld",
      +        "runHadMoved",
      +        "alreadyDone",
      +        "notFound",
      +        "asked",
      +        "alreadyGoing",
      +        "waiting",
      +        "daySet",
      +        "linked",
      +        "wrongKind"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "command",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive write, and the description layers on non-obvious behavior: note visibility is gated on the person letting the assistant read notes, future-step notes are surfaced on the Lock Screen only when the run reaches that step, and the routine's retention of the note is decided by the person at the end. It also discloses the response shape (command id and status), which signals the asynchronous command pattern.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded, but the body is one dense paragraph with stacked relative clauses ('the person's record of what happened, which they read on the run's page and which get_run returns where they let this assistant read notes') that take effort to parse. Every idea is substantive, but the ideas would land faster split into shorter sentences.

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?

An output schema exists, so return values need not be explained, and the description still confirms the async id/status answer. Combined with the when-to-use rule, the forward-scheduling behavior, the permission caveat, and the retention caveat, an agent has everything needed to call this correctly.

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 schema already carries the per-parameter definitions. The description still adds real semantics for `step`: naming an unreached step schedules the note for that moment rather than writing it now, and the example ('take the umbrella' on 'Get ready for the walk') makes the intent concrete. `run` and `text` get no extra treatment, which is acceptable given their 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?

Opens with a specific verb and resource ('Writes a note on a run') and immediately scopes the target ('on the step it is on now or on the `step` you name'). It also draws the key boundary against a sibling concept: 'something to do is a step, not a note', so an agent can separate this from add_step without opening either 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?

Gives an explicit inclusion test ('something worth remembering about this occasion') and an exclusion test ('something to do is a step, not a note'), plus a concrete forward-scheduling pattern with an example. It stops short of naming the alternative tool outright, so the routing decision rests on the agent mapping 'a step' to the right sibling.

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.