Skip to main content
Glama

Update Space Document Tool

update-space-document
DestructiveIdempotent

Use this when the user wants to replace or update the markdown content/title of an existing Space document. State-changing and content-destructive: writes the new document content directly after authorization. Read the document first when preserving existing content matters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoThe type of content being provided (blank or markdown)
titleNoThe new title of the document
contentNoThe new content of the document (markdown or plain text)
space_idYesThe numeric ID of the space containing the document. Call list-spaces first.
parent_idNoThe numeric ID of the parent folder (null to move to root)
document_idYesThe numeric ID of the document to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

The description discloses that the tool is state-changing and content-destructive, aligning with the destructiveHint annotation. However, it omits the ability to move the document via the parent_id parameter, which is a significant behavioral effect not covered by the annotations.

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?

The description is two sentences, concise, and front-loaded with the use case. It does not contain unnecessary details.

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?

Given the tool's six parameters and lack of output schema, the description provides essential context but misses the move behavior via parent_id. It also doesn't mention idempotency or return values, but these are less critical.

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 descriptions cover all six parameters (100% coverage), so baseline is 3. The description adds minimal detail beyond restating content/title, and does not clarify the role of parent_id or type.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (replace or update markdown content/title of an existing Space document) and identifies the resource type, distinguishing it from siblings like create-space-document and get-space-document. It also includes a conditional instruction to read first when preserving content.

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?

It explicitly states 'Use this when...' and provides a conditional guidance about reading first. However, it does not explicitly contrast with create-space-document or other update tools, though the context is clear enough.

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