Skip to main content
Glama

bulk_update_pages

Idempotent

Update multiple pages or database rows in one call — same merge semantics as update_page per entry (partial patch, properties merged, title synced). Updates run concurrently and are NOT atomic: if one entry fails the call returns an error, but entries that already succeeded stay applied and the error does not say which ones. Validate ids first for large batches, and re-read before retrying after a failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
updatesYesList of updates to apply
contextRunIdNoprepare_context contextRunId. Required for mutations when the workspace uses Strict context.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultsYesPer-update results

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / contextRunId
      Added value: +{
      +  "description": "prepare_context contextRunId. Required for mutations when the workspace uses Strict context.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description discloses critical behavioral traits beyond annotations: concurrent execution, non-atomicity, partial success on failure, and the fact that the error doesn't indicate which entries failed. This is exactly the kind of context an agent needs to handle failures correctly. Annotations already indicate idempotentHint=true and destructiveHint=false, and the description does not contradict them.

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 compact and information-dense. It front-loads the core function, then explains semantics, then provides actionable warnings. Every sentence earns its place, and the structure flows logically from what → how → caution.

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 (bulk operation with concurrency and partial failure), the description covers the essential behavioral aspects, parameter semantics, and failure handling. The output schema exists, so return values don't need to be described. The only minor gap is not explicitly stating when to use this vs. update_page, but the name and description make that obvious.

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 parameters. The description adds context about merge semantics (partial patch, properties merged, title synced) which enriches the meaning of the 'updates' parameter, but it doesn't add syntax-level details beyond the schema. Baseline 3 is appropriate.

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 tool's function: updating multiple pages or database rows in one call, with explicit reference to the same merge semantics as update_page. It distinguishes itself from siblings like update_page (single vs. bulk) and bulk_delete_pages (update vs. delete).

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

Usage Guidelines5/5

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

The description provides explicit guidance: validate ids first for large batches, re-read before retrying after a failure, and warns about non-atomic behavior. It also references update_page for semantics, giving the agent a clear comparison point. It doesn't explicitly name alternatives, but the sibling list and the reference to update_page make the usage context clear.

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.