Skip to main content
Glama

updateNote

DestructiveIdempotent

Modify an existing note by replacing its title, body, or complete tag list; omitted fields stay unchanged, and the updated note is returned.

Instructions

Replace the title, body and/or tags of an existing note. Fields you omit are kept; tags replaces the whole list. Returns the note as it now is, and changed:false when the note already had these values.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe note to change. Find note ids with searchNotes.
bodyNoThe new body, replacing the old one entirely.
tagsNoThe complete new tag list. Pass [] to remove every tag.
titleNoThe new title.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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 idempotentHint=true, and the description meaningfully reinforces both: it discloses that `tags` replaces the entire list (the destructive part) and that a no-op returns `changed:false` (the idempotent part). It also states the return value even though no output schema exists; only permissions/auth context is missing.

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 dense sentences with no filler; the core action comes first, followed by the omission/tag semantics and the return value. Every clause carries information an agent needs.

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 four-parameter, fully documented, fully annotated mutation tool, the description covers action, partial-update semantics, tag replacement, and return behavior including the no-op case. Nothing essential to correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so a baseline of 3 applies, but the description adds real meaning beyond the schema by stating that omitted fields are kept and that the tags list is fully replaced rather than merged. This clarifies the most error-prone parameter behavior.

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 specific verb and resource ('Replace the title, body and/or tags of an existing note'), which distinguishes it from createNote and deleteNote by scoping it to modifying an existing note. It does not explicitly name a sibling alternative, but the verb+resource is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It explains patch semantics ('Fields you omit are kept') and the tag-replacement rule, which helps an agent use the tool correctly, but it gives no explicit when-to-use versus alternatives (e.g., use deleteNote to remove a note, createNote to make one). Usage context is implied rather than stated.

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