Skip to main content
Glama

update_block

Modify a block in place. The payload carries the new <type>: {...} content keyed by the block's type. Pass archived: true to soft-delete. A nested children array in that content is rejected with 400 (a block's subtree is edited through its children's own ids), as is a parent key. Use move_block to re-parent. Mirrors PATCH /v1/blocks/{block_id}.

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": {
      "block_id": "<block_id>",
      "payload": "<payload>"
    },
    "name": "update_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYes
block_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses soft-delete via archived: true, the 400 rejection behavior for children/parent keys, and that the call maps to PATCH /v1/blocks/{block_id}. It stops short of stating whether the payload merges with or replaces existing content, and says nothing about required scopes or permissions for a mutation.

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?

Five short sentences, front-loaded with the core action, then constraints, then the alternative, then the API mapping. No filler or restatement of the tool name.

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?

An output schema exists so return values needn't be described, and the description covers mutation semantics, validation failures, and sibling routing. The remaining gap is update semantics (merge vs replace) and authorization requirements, which matter for a write 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 coverage is 0% and payload is an opaque free-form object, so the description has to compensate, and it does: it explains the `<type>: {...}` content keying, the archived flag, and which keys are rejected. It does not enumerate the block types or content fields actually accepted, leaving the payload shape partially inferential.

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 (modify) and resource (a block) with the key qualifier "in place", and explicitly distinguishes the operation from move_block re-parenting. An agent can tell exactly what this does versus its siblings without inspecting the schema.

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?

Gives explicit when-not guidance: re-parenting must go through move_block, and nested children must be edited through the children's own ids. It also names the correct sibling to use instead, which is the strongest form of routing guidance.

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