Skip to main content
Glama

EaseWeb

Add, change or delete blocks

edit_blocks

Change some blocks of a slide and leave the others alone, in one step: "add": new blocks [{"type", "props"}] (placed on top, or at the bottom with "at_bottom": true); "update": [{"id", "props"}] -- only the given props change. The same props for several blocks at once, like selecting them in the editor: {"ids": [...], "props"}; or for a card and everything drawn on it: {"inside": <id of the card's background block>, "props"} -- that block and every block lying within its rectangle (props a block type does not have, like "link" of a code block, are skipped for it); "delete": [block ids]. Returns the slide with the ids of its blocks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addNoNew blocks: [{"type", "props"}].
slugYesThe presentation's slug (its address: /movie/<slug>/).
deleteNoIds of blocks to delete.
updateNoChanges: [{"id" | "ids": [...] | "inside": <card block id>, "props"}].
slide_idYesThe id of a slide (stable, the "id" of the slide in the presentation). Its number (position) changes when slides are reordered.
at_bottomNoPut the added blocks under the others (default: on top).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hNo
wNo
bgNo
idYesStable id of the slide.
fitNo
urlNoThe address people open in a browser.
nameNo
numberYes1-based position; changes when slides are reordered.
objectsYesBlocks, bottom to top.
backgroundNoThe "src" of the background picture, or null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "background": {
      +      "description": "The \"src\" of the background picture, or null.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "bg": {
      +      "type": "string"
      +    },
      +    "fit": {
      +      "type": "string"
      +    },
      +    "h": {
      +      "type": "integer"
      +    },
      +    "id": {
      +      "description": "Stable id of the slide.",
      +      "type": "integer"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "number": {
      +      "description": "1-based position; changes when slides are reordered.",
      +      "type": "integer"
      +    },
      +    "objects": {
      +      "description": "Blocks, bottom to top.",
      +      "items": {
      +        "properties": {
      +          "id": {
      +            "type": "integer"
      +          },
      +          "props": {
      +            "description": "Every prop of the block (see the block format reference).",
      +            "type": "object"
      +          },
      +          "type": {
      +            "description": "text, shape, button, line, image or code.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "id",
      +          "type",
      +          "props"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "url": {
      +      "description": "The address people open in a browser.",
      +      "type": "string"
      +    },
      +    "w": {
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "number",
      +    "objects"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description adds real behavior beyond that — props a block type does not support (e.g. 'link' on a code block) are silently skipped, the 'inside' form cascades to every block within a rectangle, and the call returns the slide with its block ids. Minor caveat: the tool can delete blocks while destructiveHint=false, which is worth noting but is echoed by the annotation's own title, so it reads as an internal annotation nuance rather than a description/annotation contradiction.

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?

Front-loaded with the one-line purpose, then organized by the three mode keys that match the schema properties. It is dense — nested parentheses and quoted pseudo-JSON make it run-on — but every clause carries operational meaning and nothing is repeated from the annotations.

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?

For a 6-parameter tool with array-of-object payloads, the description covers all three modes, placement defaults, prop-skipping edge cases, and even the return shape, while an output schema exists to carry structured returns. Nothing an agent needs to invoke it correctly is missing.

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 100%, so the baseline is 3. The description goes further than the schema by explaining the semantics the schema only names: 'inside' targeting a card's background block and all blocks in its rectangle, the 'ids' bulk-prop form, and the at_bottom placement default. That is meaningful added meaning over the property strings.

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 opening sentence names a specific verb and resource — 'Change some blocks of a slide and leave the others alone, in one step' — which is a block-scoped edit, clearly distinct from the sibling update_slide/add_slide. The three supported operations (add/update/delete) are enumerated with their payload shapes, so an agent knows exactly what the tool does before opening 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 Guidelines4/5

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

It gives clear in-tool context for each mode: add places on top unless at_bottom is set; update changes only the supplied props, and supports three addressing forms (single id, ids list, or inside a card). What is missing is any statement of when to prefer this over siblings such as update_slide or add_slide — no exclusions or alternatives are named.

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