Skip to main content
Glama

Add shapes

add_shapes

Add individual shapes—rectangles, ellipses, diamonds, text, lines, arrows, and freehand strokes—to a shared whiteboard, with optional labels and shape-to-shape connections.

Instructions

Adds individual shapes: rect, ellipse, diamond (with an optional label inside), text, line, arrow (points, or from_id/to_id to join two shapes, which then stay joined when moved) and draw (a freehand stroke). For diagrams, draw_mermaid, draw_diagram and edit_diagram place things for you.

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": {
      "shapes": "<shapes>"
    },
    "name": "add_shapes"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose genuinely non-obvious behavior: arrows joined via from_id/to_id "stay joined when moved", which is real behavioral context beyond the schema. However, for a board-mutating tool it says nothing about what is returned (do shapes get ids?), whether a board/session must already exist, or what happens on id collisions, leaving a mutation tool's side effects underexplained.

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?

Two sentences, front-loaded with the capability list, then a single routing sentence. The parentheticals are dense but each one carries a distinct fact (label placement, join persistence, freehand stroke). No filler.

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?

Given a mutation tool with no annotations and no output schema, the definition omits return values, required board context, and limits such as the 200-shape cap (present only in the schema). It is complete enough to pick the right tool and build a valid call, but not complete about consequences.

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 sits at 50%, so the description needs to compensate, and it does for the hardest part: it explains what each shape type means and clarifies that line/arrow accept either explicit points or from_id/to_id joining, plus that label is the text inside rect/ellipse/diamond. It adds no meaning for the remaining properties (speed, opacity, roughness, fill_style), which are left entirely to 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?

Opens with a specific verb and resource ("Adds individual shapes") and then enumerates the exact shape types supported: rect, ellipse, diamond, text, line, arrow, draw. This is enough for an agent to distinguish it from sibling diagram tools without 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?

Explicitly routes the diagram use case to draw_mermaid, draw_diagram and edit_diagram, which is exactly the alternative an agent would otherwise confuse with this tool. It does not say when *not* to use it outside that case (e.g. modifying existing shapes via update_shapes), but the routing it does give is concrete.

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