Skip to main content
Glama

batch_update_documents

DestructiveIdempotent

Update multiple Outline documents with different changes in one batch operation. Specify document IDs and optionally new titles, content, or append text.

Instructions

Updates multiple documents with different changes.

This tool processes each update sequentially, continuing even if individual operations fail. Rate limiting is handled automatically.

Each update dictionary should contain:

  • id (required): Document ID to update

  • title (optional): New title

  • text (optional): New content

  • append (optional): If True, appends text instead of replacing

Use this tool when you need to:

  • Update multiple documents with different changes

  • Batch edit document titles or content

  • Append content to multiple documents

Note: For Mermaid diagrams, use mermaidjs (not mermaid) as the code fence language identifier for proper rendering.

Recommended batch size: 10-50 documents per operation

Args: updates: List of update specifications, each containing id and optional title, text, and append fields

Returns: Summary of batch operation with success/failure details

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations indicate mutating, destructive, and idempotent behavior. The description adds that processing is sequential, continues on individual failures, and handles rate limiting. This gives the agent a clear behavioral model beyond 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 well-structured with a headline, bullet points for usage, a note, batch size recommendation, and parameter listing. Every sentence adds value without redundancy.

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

Completeness5/5

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

Given the tool's complexity (batch operation with partial failures), the description covers failure handling, rate limiting, batch size, parameter semantics, and usage patterns. The presence of an output schema means return values don't need further explanation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% parameter description coverage, but the description details each field in the update dictionary (id, title, text, append) with required/optional flags and meaning. This fully compensates for the schema's lack of descriptions.

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 'Updates multiple documents with different changes,' which is a specific action on a specific resource. It distinguishes from sibling tools like update_document (single) and batch_archive_documents (different operation).

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?

Explicit usage scenarios are listed ('Use this tool when you need to...') with bullet points covering common cases. It also provides a recommended batch size. Missing explicit alternatives like 'use update_document for single updates,' but still strong guidance.

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/fastmcp-me/mcp-outline'

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