Skip to main content
Glama

tabularia_bulk_insert_blocks

Destructive

Insert multiple paragraphs before or after a stable anchorBlockId in a named editable non-Base Draft. Name project and draftId explicitly. Each input Block is { kind: "paragraph", markdown, namedParagraphStyleId? }; styles must already exist in the target model. At most 5,000 paragraphs, 20,000 characters per paragraph, and 1 MB aggregate input, subject to the transport envelope (hosted 256 KiB; local 1 MiB). Inline Markdown preserves emphasis and validated links; paragraph breaks within an entry, structural block kinds, arbitrary block fields, and client-assigned IDs are refused. The whole insertion publishes atomically under the Draft revision guard, and returns newly generated insertedBlockIds in input order. The Base remains unchanged. The Writer reviews and merges the Draft differences in Studio. Both hosted and local stdio connectors offer these tools. Local Draft writes retain the assistant-owned, inactive Draft restriction. Supply a stable requestId to retry safely and retain the returned actionId for targeted tabularia_undo_action. Undo removes only unchanged inserted paragraphs and preserves unrelated later work; recovery is capped at 1 MB.

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": {
      "project": "<project>",
      "draftId": "<draftId>",
      "anchorBlockId": "<anchorBlockId>",
      "placement": "<placement>",
      "blocks": "<blocks>"
    },
    "name": "tabularia_bulk_insert_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
blocksYes
draftIdYes
projectYesWhich Project to use, by title, id, or the Studio address the Writer sees (a tabularia.app/studio/ URL or its six-character code — the Writer’s tab URL is enough; there is no need to look at the page). Always name it, even when only one Project is open.
placementYes
requestIdNo
anchorBlockIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true and openWorldHint=false; the description adds substantially more: atomic publish under the Draft revision guard, Base left unchanged, explicit refusal list (structural kinds, client-assigned IDs, paragraph breaks within an entry), size and transport-envelope caps, and scoped undo/recovery limits. Nothing here contradicts the destructive annotation, since undo restores only unchanged inserted paragraphs.

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?

Purpose is front-loaded and most sentences carry operational facts (limits, refusals, atomicity, return values, undo). It runs as one dense block, and lines like 'Both hosted and local stdio connectors offer these tools' add little, which keeps it short of a 5.

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?

With no output schema, the description still explains return values (newly generated insertedBlockIds in input order, plus actionId for undo), and it covers the Draft-versus-Base boundary, atomicity, limits, and the local-mode Draft restriction. Enough for an agent to call it correctly.

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

Parameters4/5

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

Schema coverage is only 17%, so the description carries most of the burden, and it does: it spells out the Block shape ({kind, markdown, namedParagraphStyleId?}), that styles must already exist, that anchorBlockId must be stable, and that requestId enables idempotent retry. Only draftId and placement receive no elaboration 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 opens with a precise verb and resource ('Insert multiple paragraphs') plus the exact location ('before or after a stable anchorBlockId in a named editable non-Base Draft'), which separates it from siblings like tabularia_import_text or tabularia_bulk_delete_blocks without needing schema inspection.

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?

It gives conditions and constraints (must target an editable non-Base Draft, styles must pre-exist, requestId for safe retry, retain actionId for tabularia_undo_action) and names one concrete follow-up tool, but it never states when an agent should prefer this over alternatives such as import_text or repeated style assignment.

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