Skip to main content
Glama

document-update

DestructiveIdempotent

Update a document. Only provide the fields you want 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": {
      "documentId": "<documentId>"
    },
    "name": "document-update"
  }
}

Input Schema

NameRequiredDescriptionDefault
iconNoNew icon
titleNoNew title
contentNoNew content
coverImageNoCover image URL
documentIdYesThe document ID to update
isPublishedNoNew publish state

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false. The description adds the partial-update semantic, which is real value beyond annotations, but it never explains the destructive aspect — e.g. that supplying "content" replaces the existing content wholesale rather than appending or merging.

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 short sentences with no filler, and the partial-update instruction follows immediately after the purpose statement. It is efficient, though it is minimal rather than maximally informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations and full schema coverage, the safety profile and parameter meanings are largely carried by structured fields and no output schema is expected. The gap is behavioral: an agent gets no warning about content replacement or irreversibility for a tool flagged as destructive.

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%, so every parameter is already documented in the schema, and the baseline is 3. The description reinforces that unspecified fields are left untouched, which clarifies schema semantics for the optional fields, but adds no format or validation detail.

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?

"Update a document" gives a specific verb plus resource, and the name clearly separates it from siblings like document-create, document-get, and document-archive. It stops short of naming any alternative or scope boundary, so it is clear but not differentiating in the text itself.

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?

"Only provide the fields you want to change" conveys partial-update usage, which is genuinely useful guidance for a 6-parameter update. There is no indication of when to choose this over document-archive/document-restore, nor any prerequisite or sequencing advice.

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