Skip to main content
Glama

draw_on_moodboard

Draw flowcharts, pipelines, architecture maps, org charts, mind maps, or card grids on a moodboard by supplying nodes and edges; layout, box sizing, and arrow routing are automatic—no coordinates needed.

Instructions

Draw a diagram on a moodboard in one call: flowcharts, pipelines, architecture maps, org charts, mind maps or card grids. Give nodes and edges; Hillnote does the layout, sizes each box to its text and routes the arrows, so you never compute coordinates. Prefer this over add_moodboard_items for anything with connections or more than a few items. Edges alone are enough: edges [["Browser","API"],["API","Database","reads"]] creates all three nodes. Returns refs (your node ids → item ids, for later edits), bounds, warnings and issues. Empty issues means nothing overlaps, is cut off or is hidden behind a box. New drawings go to the right of existing content unless "at" is given. Pass "name" to redraw the same diagram in place later: its items keep their ids, but any positions changed by hand are reset.

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": {
      "workspace": "<workspace>",
      "moodboardPath": "<moodboardPath>"
    },
    "name": "draw_on_moodboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoTop-left corner in world pixels. Defaults to the right of existing content.
nameNoNames this drawing so calling again with the same name replaces it in place and keeps its item ids. Positions changed by hand are reset.
edgesNoArrows between node ids (max 400): ["from", "to"], ["from", "to", "label"], or { from, to, label?, dash?, color?, curve?, start?, end?, width? }. Keep labels to 3 words.
nodesNoBoxes to draw (max 200). A plain string is both id and label. Optional when edges name every node.
groupsNoTitled frames that hold nodes (flow, tree and grid). Nodes join one with "group".
layoutNoflow (default): flowcharts, pipelines, architecture, dependencies. tree: org charts and hierarchies. mindmap: branches around the first node. grid: cards in rows, for things with no structure.
directionNoFor flow and tree: TB is top to bottom, LR is left to right. auto (default) picks whichever shape fits a screen better.
edgeStyleNoArrow shape. auto (default) uses right angles for trees and curves otherwise.
workspaceYesWorkspace path or name
moodboardPathYesMoodboard file path relative to workspace (e.g., "documents/brand-inspiration.moodboard.md"). The file must already exist — create it with add_document first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that Hillnote computes layout, box sizing and arrow routing (so no coordinates are needed), that new drawings land to the right of existing content unless "at" is given, and that reusing "name" keeps item ids but resets hand-adjusted positions — a real destructive consequence an agent must know. It also describes the response (refs, bounds, warnings, issues) and the meaning of empty issues.

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 purpose and the sibling comparison, and every sentence carries actionable content (edge-only usage, return payload, placement default, redraw semantics). A few clauses restate schema defaults, but nothing is padding.

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 10-parameter, nested-schema mutation tool with no output schema, the description covers what an agent needs: what gets generated, that layout is automatic, where content is placed, how to re-edit by name, and what the return contains including the overlap/cutoff/hidden signal. Remaining detail lives in the fully documented schema.

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 100%, so the baseline is 3; the description earns above that by demonstrating the edge tuple forms concretely (["Browser","API"],["API","Database","reads"] creates all three nodes) and by spelling out the id-preservation/reset semantics of "name" and the default placement behavior of "at". It adds real meaning, though it leaves layout/direction/edgeStyle interplay mostly 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?

"Draw a diagram on a moodboard in one call" gives a specific verb and resource, then enumerates the diagram families (flowcharts, pipelines, architecture maps, org charts, mind maps, card grids) so an agent knows the exact scope. It also names the sibling it supersedes, making it distinguishable from add_moodboard_items without opening either 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?

Explicit routing rule: "Prefer this over add_moodboard_items for anything with connections or more than a few items." It further clarifies that edges alone suffice when nodes are unnamed, and that passing "name" is the path for redrawing in place later — concrete when-to-use conditions rather than implied ones.

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