Skip to main content
Glama

append_blocks

Append blocks under parent_id. Each child carries type and the matching <type>: {...} Notion-shape payload (paragraph, heading_1, callout, code, image, …). Pass after to insert a block AFTER a specific sibling instead of at the end. This call does NOT recurse: a nested children array inside a block's own payload is rejected with 400. Build a tree one level per call, parenting each call on an id the previous one returned. Mirrors PATCH /v1/blocks/{parent_id}/children.

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": {
      "parent_id": "<parent_id>",
      "children": "<children>"
    },
    "name": "append_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
childrenYes
parent_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden, and it discloses important behavior: the call is non-recursive, nested `children` are rejected with a 400, and it maps to PATCH /v1/blocks/{parent_id}/children. It does not mention permissions or rate limits, but the error and recursion constraints are well covered.

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?

Front-loads the core action, then layers the payload format, the `after` option, the non-recursion constraint, and the endpoint mirror. Every sentence conveys information an agent needs; nothing is repetitive or padded.

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

Completeness4/5

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

Given an output schema exists, return values need not be explained, and the description still covers payload shape, insertion position, and the recursion/400 constraint. Auth or rate-limit behavior is not addressed, a minor gap for a mutation tool with no annotations.

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 description coverage is 0%, so the description must compensate, and it does: it defines `children` as type+Notion-shape payload pairs, clarifies `after` as a sibling anchor versus end append, and implies `parent_id` is the destination. The payload structure explanation adds real meaning beyond the raw array/uuid schema types.

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?

States a specific verb (append) and resource (blocks) plus the exact location (under parent_id), and describes what each child must carry. An agent can tell this is the additive counterpart to delete_block without opening either schema. Names the concrete payload shapes (paragraph, heading_1, callout, code, image).

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?

Explains the key usage decision: pass `after` to insert after a sibling instead of at the end, and build trees one level per call by parenting on a previously returned id. It gives clear conditions for the main choices but does not name alternative tools or explicitly exclude them.

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