Skip to main content
Glama

write_note

Destructive

Write a free-form note the team reads under Context on the Product page and later sessions can read back: architecture, an approach you settled on, context that outlives one task. With noteId, edits that note; without it, writes the note with this title or creates one. content replaces the whole note unless append is true, which adds it to the end. Markdown, up to 100,000 characters; a project keeps up to 5 notes. Not for the plan: work to do goes in tasks and releases, a decision on a task in task_log_decision, and where this session stopped in session_end.

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": {
      "projectId": "<projectId>",
      "context": "<context>"
    },
    "name": "write_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoThe note's title, e.g. 'Architecture'. Required without noteId; with noteId it renames the note.
appendNoAdd content to the end of the note instead of replacing it
noteIdNoThe note ID to edit. Omit to write by title.
contentNoThe markdown. Required when creating a note.
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
projectIdYesThe project ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

The annotations declare destructiveHint=true, and the description explains exactly what is destroyed: "content replaces the whole note unless append is true." It also discloses operational limits (100,000 characters, 5 notes per project) that the annotations do not carry. The remaining gap is minor: it does not say what happens when the 5-note cap is reached or whether any permissions are required.

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 destination are front-loaded, and every sentence carries information — the alternatives list at the end is long but genuinely useful. It is dense and semicolon-heavy, which makes it slightly harder to scan than it needs to be, but there is no filler.

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 mutation tool with no output schema, the description covers creation vs. editing, replace vs. append, size and count limits, and the sibling tools that own adjacent concerns. An agent has everything needed to call it correctly and to route the request elsewhere when appropriate.

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%, so the baseline is 3, and most of the description's parameter detail (append vs. replace, noteId editing, title-based lookup) restates what the schema already documents for append, title, and noteId. It adds framing but no syntax or edge-case meaning beyond the structured fields.

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 ("Write a free-form note") and adds the destination and audience ("the team reads under Context on the Product page and later sessions can read back"). The final sentence explicitly separates it from tasks, releases, task_log_decision, and session_end, so an agent can pick it out of a crowded sibling set.

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 concrete positive triggers ("architecture, an approach you settled on, context that outlives one task") and an explicit negative list with the correct alternative named for each case ("work to do goes in tasks and releases, a decision on a task in task_log_decision, and where this session stopped in session_end"). Nothing is left to inference.

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