Skip to main content
Glama

Update note

update_note
Idempotent

Replace the text of an existing note; the new text overwrites the old entirely (not appended). Only the note's author or an admin may edit it (403 otherwise). Logged in the job's activity. Returns the updated note. To add a new note use add_note.

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": {
      "id": "<id>",
      "text": "<text>"
    },
    "name": "update_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNote id (UUID from list_notes or get_job).
textYesThe full new body, plain text or simple HTML. Sanitized before saving; empty after sanitizing is a 400.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description adds substantial context: full overwrite rather than append, an authorization rule with the exact failure code (author or admin, 403 otherwise), activity-log side effects, and the fact that the updated note is returned. These are exactly the behavioral facts an agent needs before mutating data and that the annotations cannot express.

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

Conciseness5/5

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

A single compact sentence chain with the primary action front-loaded, followed by the highest-risk behavioral detail (overwrite) and the routing hint last. Every clause carries distinct information; nothing is redundant.

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?

With only two required parameters, no nested objects, and no output schema, the description covers everything material: mutation semantics, permission model, side effects, and return value. Nothing an agent needs to call this correctly is missing.

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%, with both 'id' (UUID source) and 'text' (sanitization, 400 on empty) fully documented in the schema itself. The description's 'overwrites the old entirely (not appended)' adds a small amount of meaning about how 'text' is applied, but otherwise the schema carries the parameter semantics, so the 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 opens with a specific verb and resource ('Replace the text of an existing note') and immediately clarifies the replacement semantics. It explicitly distinguishes itself from the add_note sibling, so an agent can tell which note-mutation tool to pick 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?

It gives a clear when-to-use context (editing an existing note) plus an explicit when-not with the correct alternative ('To add a new note use add_note'). It does not address reading or deleting, but the definition routes the agent on the one adjacent action that is most confusable.

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