Skip to main content
Glama

update_document

Update a document's title and/or content to keep information current. Modify existing documents by applying changes to title or content fields.

Instructions

Update a document's title and/or content (PATCH).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYes
titleNo
contentNo
Behavior2/5

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

No annotations are provided, and the description only indicates 'PATCH' semantics. It does not disclose whether authentication is needed, what happens if the document doesn't exist, if the operation is idempotent, or if the updated document is returned. For a mutation tool, this is insufficient.

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 a single efficient sentence with no wasted words. Every element (verb, resource, parameters, method) earns its place. It is front-loaded with the core action.

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?

The tool has low complexity (3 parameters, no output schema, no nested objects). The description covers the basic function, but omits return value details and error conditions. Without an output schema, the agent lacks information on what the tool returns, which is a gap for a complete understanding.

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?

The schema has 0% description coverage, so the description must compensate. It mentions 'title and/or content', clarifying that these are optional and partial. However, it does not explain the 'document_id' parameter, nor the format expected for content (e.g., plain text, Markdown). It adds partial meaning beyond the schema.

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 specifies the verb 'Update' and the resource 'document', and mentions 'title and/or content' as updatable fields. The inclusion of '(PATCH)' indicates a partial update, distinguishing it from full replacements and from sibling tools like create_document or delete_document.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives like move_document or list_documents. No context is given for prerequisites, typical scenarios, or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bone2510/lasuite-docs-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server