Skip to main content
Glama

add_note

Leaves timestamped review notes on a composition moment or stretch, with optional layer, so agents can read, discuss, resolve, and fix feedback; verdicts turn good or bad examples into taste rules.

Instructions

Leave a review note at a moment, or on a stretch from t to to (and optionally a layer). Humans and judges both write here; agents read open notes and fix them. Returns the note with its id: reply_note adds to its thread, resolve_note closes it. verdict "good" or "bad" makes the note a case of the person's taste: distill turns good and bad cases into rules.

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

Input Schema

NameRequiredDescriptionDefault
tYesTime in seconds
toNoEnd of the stretch the note is about (seconds); leave out for one moment.
tagsNoWords to group notes by
textYesWhat the note says
aboutNoThe id of the change (commit) this feedback is about: a person writing on a step of the history
basisNoWhat you read and followed to make this change, as refs from search or lookup: rule:<lint or taste rule>, taste, feedback:<id> (earlier feedback this follows; what it answers goes in feedback), commit:<id> (an earlier change it builds on), asset:, template:, skill:… The person sees them under the change, so they know why it is this way. Name only what shaped it.
layerNoThe element the note is about
authorNoWho wrote ithuman
scoresNoScores on the library's dimensions (1 to 5), by dimension id
messageNoOne line saying why, kept with the change in the history
phrasesNoIds of reusable feedback phrases this note uses
refinesNoThe id of a vaguer note or example this one makes precise (an agent naming the asset a person meant)
verdictNogood: keep doing this; bad: never again
feedbackNoIds of the feedback this change answers (notes and marks from list_notes, list_examples or the conversation). When the person keeps the change it joins the record of that feedback, and when they then mark the feedback resolved it is the fix; when they take it back, the feedback opens again.
confidenceNoHow sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.
compositionYesComposition name (file in compositions/ without .json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.1.2
    • addedInput schema / properties / about
      Added value: +{
      +  "description": "The id of the change (commit) this feedback is about: a person writing on a step of the history",
      +  "type": "string"
      +}
    • addedInput schema / properties / author / description
      Added value: +"Who wrote it"
    • addedInput schema / properties / confidence
      Added value: +{
      +  "description": "How sure you are this change is what the person wants. high: they asked for exactly this, or you measured it against a reference. medium: you inferred it from the taste, a rule or earlier feedback. low: you are guessing, or it changes something they did not ask about. The person's threshold decides which changes stand by themselves and which wait for them to keep; say it honestly on every change.",
      +  "enum": [
      +    "high",
      +    "medium",
      +    "low"
      +  ]
      +}
    • addedInput schema / properties / layer / description
      Added value: +"The element the note is about"
    • removedInput schema / properties / scene
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / tags / description
      Added value: +"Words to group notes by"
    • addedInput schema / properties / text / description
      Added value: +"What the note says"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

The annotations only declare write/non-idempotent/non-destructive; the description goes further by disclosing the return value ('Returns the note with its id') and a non-obvious side effect (a 'good'/'bad' verdict turns the note into a taste case that distill later converts into rules). It still says nothing about permissions, visibility to humans, or failure modes, so it is informative rather than complete.

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?

Four sentences, front-loaded with the core action before the sibling routing and the verdict semantics. It is dense but every sentence carries new information; the middle sentences stack several ideas together, which costs a little readability.

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 16-parameter, non-idempotent write tool with no output schema, the description covers the essentials an agent needs: what it creates, what it returns, and how it relates to reply_note, resolve_note and distill. The many metadata parameters (about, basis, feedback, confidence, refines) are fully documented in the schema, so their absence here is acceptable, though the description never mentions visibility or audience constraints.

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% and each parameter already carries a rich description, so the baseline is 3. The description adds downstream meaning the schema does not: what a verdict does after it is stored, and that notes can be aimed at a moment or a stretch with an optional layer, which clarifies the t/to/layer triad.

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 opening sentence gives a specific verb and resource ('Leave a review note') plus its two anchoring modes ('at a moment, or on a stretch from t to `to`'), and names the layer option. It also distinguishes itself from the nearest siblings by assigning threading to reply_note and closure to resolve_note, so an agent can pick this tool without opening another 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 clearly states the context of use ('agents read open notes and fix them', 'Humans and judges both write here') and routes two adjacent actions to reply_note and resolve_note. What it does not state is a negative condition or when a note should be a note rather than a verdict-bearing case, so the guidance is clear but not exhaustive.

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

Deploy Server

Other Tools