Skip to main content
Glama

thread_note

Append a one-line note to a thread's own conversation so it reads as a log of what the assistant did. Adds progress rows without a model turn, declined if the thread has no chat yet.

Instructions

Append one line into a THREAD's own conversation — the chat filed under 'Thread: ' — so the area reads as a log of what the assistant did about it. Use it for the assistant's own actions ('Closed: the renewal request — Sam owns it'), not for news: notify is what reaches the user, this is what reaches the thread the user opens later. Cheap and deterministic: one row, no model turn. If the thread has no conversation yet the note is declined and reported, which is not an error to retry. The client also uses this to give a thread chat its CONTEXT: one note per item it holds, carrying the title, the detail behind it and the row's id, re-offered on every open and written only when the key is new.

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

Input Schema

NameRequiredDescriptionDefault
keyNoWrite only if no row in this conversation already mentions this string. The client passes each context row's own id (and `thread:<label>` for the header), which is what makes re-offering a thread's context on every open idempotent AND self-healing: a thread that gained an item gains exactly that item's note next time it is opened, and one that has not changed gets nothing.
onceNoWrite only if the conversation is still EMPTY. The client uses this for a thread's opening line, so opening a thread twice never repeats it. It cannot REPAIR a thread whose line has already landed, so `key` is the guard to reach for.
textYesOne plain-text line: what was done, in the assistant's voice.
threadYesThe thread label exactly as the items carry it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and delivers well: it declares the side effect (one appended row), the cost model ('cheap and deterministic: one row, no model turn'), and a failure mode with retry guidance ('if the thread has no conversation yet the note is declined and reported, which is not an error to retry'). It does not cover permissions or what happens to notes on archived/purged threads, which keeps it from a 5.

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 and the notify contrast are front-loaded in the first two sentences, which is exactly right for selection. The final sentence is a dense run-on about the client's context-writing behavior that partially duplicates the schema, so it is not fully waste-free.

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 four-parameter append tool with no output schema, the description covers what gets written, the cost, the failure path, and the idempotency contract, which is nearly everything an agent needs. The main omission is any statement of prerequisites (e.g. that the thread must already exist in a form that can hold a conversation), which is implied by the decline behavior but never stated directly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema text for key, once, text and thread is already thorough, including the idempotency and self-healing rationale. The description's closing sentence about per-item context notes largely restates what the key parameter's own description says, so it adds framing but little new parameter-level meaning; baseline 3 applies.

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 description states a specific verb and resource — 'Append one line into a THREAD's own conversation' — and anchors it with the concrete artifact 'the chat filed under Thread: <Label>'. It also explicitly distinguishes the tool from its sibling: 'not for news: notify is what reaches the user, this is what reaches the thread the user opens later', so an agent can separate the two 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 Guidelines5/5

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

It gives positive guidance with a worked example ('Closed: the renewal request — Sam owns it') and an explicit exclusion ('not for news'), naming the alternative tool, notify, and the condition that selects it. The only thing not stated is a hard precondition, but the audience/visibility split is the key routing decision and it is spelled out.

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