Skip to main content
Glama

Update site notes

update_notes
Destructive

Replace the whole notes document (up to 20,000 characters). It takes the version read with get_notes, and refuses an older one, so changes made since aren't overwritten.

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": {
      "site_id": "<site_id>",
      "notes": "<notes>",
      "version": "<version>"
    },
    "name": "update_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesYes
site_idYesThe site's id, from get_account or list_sites.
versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the destructive full-overwrite nature is documented structurally. The description does add genuinely new behavior: a 20,000-character cap (absent from the schema) and optimistic concurrency with refusal of stale versions. However, what exactly is lost in the replacement, or what error shape a version conflict returns, is not described.

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?

Two dense sentences with zero filler, front-loading the replacement semantics then the concurrency contract. Every clause carries information; no restructuring needed.

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 destructive three-parameter mutation with no output schema, the description supplies the two things an agent most needs: size limit and version precondition. The remaining gap – no mention of the failure mode or how the caller recovers from a rejected version – is minor given annotations cover the safety profile.

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 only 33% – notes and version have no schema descriptions – so the description must compensate, and it does: it explains that notes is the entire replacement document bounded at 20,000 characters, and that version is the integer previously read from get_notes with staleness rejection. That covers all three required params with meaning beyond the schema, though it could note the expected version format.

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?

Specific verb+resource: "Replace the whole notes document" makes clear this is a full-document overwrite, not a partial edit, and the size ceiling is stated inline. It implies the read counterpart (get_notes) as the source of the version token, giving partial sibling differentiation without ever naming an alternative 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?

The description establishes the required prerequisite flow: read with get_notes first, then pass that version, or the write is refused. That is actionable when-to-use context. It stops short of stating when not to use the tool or what to do on a rejected version beyond re-reading.

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