Skip to main content
Glama

Update document

update_document

Modify an existing Outline wiki document's title or markdown body; replace the body by default, or append text, changing only supplied fields.

Instructions

Update an existing document's title and/or markdown body. By default text REPLACES the body; set append=true to add text to the end instead. Only the fields you pass are changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDocument id
doneNoMark the editing session as finished (triggers notifications)
textNoNew markdown body (or text to append when append=true)
titleNoNew title
appendNoAppend `text` to the existing body instead of replacing it
publishNoPublish a draft as part of this update

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the two most non-obvious behaviors: `text` REPLACES the body by default, and only passed fields are changed (partial update). It is silent on side effects like the notification trigger for `done` or draft-publishing via `publish`, which the schema mentions only in passing.

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, front-loaded with the core action before the append nuance and the partial-update guarantee. No filler, though the final sentence slightly overlaps the second in intent.

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 six-parameter mutation with no output schema, the description covers the tricky semantics (replace vs append, partial update) that an agent most needs. The remaining gaps (done/publish side effects) are documented in the schema, so the definition is close to sufficient.

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 description coverage is 100%, so the schema already documents all six parameters (including id, done, publish). The description reinforces the text/append interaction and partial-update semantics but adds no new parameter detail beyond that baseline.

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?

States a specific verb (update) and resource (existing document) plus the editable fields (title, markdown body). It is clearly distinct from the create/move/archive/get siblings by name and scope, though it does not explicitly name them.

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?

Usage is implied rather than stated: an agent can infer 'use this to modify an existing doc' versus create_document. There is no explicit when-to-use/when-not guidance or reference to any sibling, so it stops at the minimum viable level.

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