Skip to main content
Glama

Change shapes

update_shapes

Move, resize, relabel, recolor or restyle existing whiteboard shapes by reference without redrawing them. Omitted fields stay unchanged, and attached arrows follow moved boxes.

Instructions

Changes shapes by reference: move them (dx/dy, or new x/y), resize, relabel, recolor or restyle. Fields you leave out stay as they are, and arrows attached to a moved box follow it. For lines and arrows, points replaces the whole path.

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": {
      "updates": "<updates>"
    },
    "name": "update_shapes"
  }
}

Input Schema

NameRequiredDescriptionDefault
speedNoHow fast shapes appear, so people can follow along (default normal). instant for big changes nobody needs to watch
updatesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose several genuinely non-obvious traits: omitted fields are preserved, arrows attached to a moved box follow it, and for lines/arrows `points` replaces the entire path rather than appending. It omits batch failure/atomicity behavior, what happens with unknown refs, and any return indication, which keeps it short of a 5.

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?

Three short sentences, front-loaded with the operation and its alternatives for moving, then the partial-update rule, then the edge case for line paths. No filler and no repetition of schema enums.

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

Completeness3/5

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

For a mutation tool with a 20-field nested update object, no annotations and no output schema, the description covers the surprising semantics well but leaves out limits (200 updates, 64 points), the `speed` option's purpose, and any error/partial-failure behavior. Adequate, but an agent would still need the schema to call it safely at scale.

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?

At 50% schema description coverage the description must compensate, and it does add meaning the schema lacks: the dx/dy (relative) versus x/y (absolute) distinction and the destructive replace semantics of `points`. Many nested fields (h, w, opacity, font_size, fill_style, stroke_style, stroke_width) are still undocumented in either place, so it is not complete.

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?

"Changes shapes by reference" pairs a specific verb with a specific resource and then enumerates the mutation surface (move via dx/dy or x/y, resize, relabel, recolor, restyle). That enumeration cleanly separates it from add_shapes/delete_shapes without needing to name them.

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?

Usage is implied rather than stated: the agent can infer this is for modifying existing shapes, and the "fields you leave out stay as they are" line signals partial updates are safe. There is no explicit when-to-use versus when-not (no guidance on creating shapes first, no note on preferring delete_shapes, no exclusions).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.