Skip to main content
Glama

write_note

Idempotent

Save or replace a note under a title, overwriting any existing body with the new text.

Instructions

Create or replace a note. Use this when the user asks to save text under a title. Any existing body at that title is overwritten with the new text.

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": {
      "title": "<title>",
      "text": "<text>"
    },
    "name": "write_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesFull note body to store.
titleYesTitle to save the note under.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the key risk: any existing body at that title is overwritten, which is exactly the data-loss detail an agent needs before writing. There is mild tension with destructiveHint=false, but since the annotation concerns environment destruction rather than content replacement this is a clarification rather than a contradiction, and it also aligns with idempotentHint=true (same title+text yields the same state).

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?

Three short sentences with the operation and the overwrite risk front-loaded and no filler. Slightly compressed: the overwrite warning and the usage trigger could be merged or ordered better, but nothing is wasted.

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 two-parameter tool with full schema coverage and annotations covering safety and idempotency, the description supplies the one missing piece an agent needs: that a write replaces existing content. No output schema exists, but return shape is not critical for this simple mutation.

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 coverage is 100%, so both title and text are already documented, giving a baseline of 3. The description adds a little value by establishing that title acts as the replacement key ('at that title') and text is the full body to write, but it offers no format, length, or validation guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb+resource pair, 'Create or replace a note,' and clarifies the replace semantics immediately. It is clearly distinct from the read_note and delete_note siblings by implication, though it never names them explicitly.

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?

'Use this when the user asks to save text under a title' gives a concrete trigger condition tied to user intent. It lacks explicit when-not-to-use guidance or a pointer to delete_note for removal, but the intended context is unambiguous for a simple note tool.

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