Skip to main content
Glama

Rewrite a note

update_note
Destructive

Replaces the whole Markdown of a note. Read it with get_note first and keep what the user did not ask to change.

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>",
      "content": "<content>"
    },
    "name": "update_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
contentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, so the safety profile is declared. The description adds concrete meaning to that flag: everything not re-sent is lost, which is exactly the risk an agent needs to understand, plus a read-before-write workflow to mitigate it. Nothing is said about permissions or the response, but for this tool the key behavior is covered.

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?

Two short sentences, both of which change how the agent calls the tool: the first defines the operation, the second prevents data loss. Zero redundant wording and the destructive nature is front-loaded.

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 destructive write with annotations covering safety and no output schema, the description supplies the essential risk warning and the prerequisite read step. The remaining gap is the undocumented `id` parameter, which an agent may have to guess at.

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?

With 0% schema coverage, the description must carry parameter meaning, and it does clarify that `content` is the complete Markdown rather than a patch, which prevents a common misuse. It says nothing about `id` (format, whether it is an ID or a path), so half the parameters remain undocumented.

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?

"Replaces the whole Markdown of a note" states a specific verb (replace) and resource (note Markdown), and the word "whole" implicitly separates it from append_to_note and edit_note. It stops short of naming a sibling outright, so a small amount of inference is still required.

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?

The description gives a clear precondition ("Read it with get_note first") and a rule for constructing the payload ("keep what the user did not ask to change"). What it lacks is an explicit exclusion such as "do not use for partial appends – use append_to_note/edit_note," leaving the agent to infer the boundary.

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