Skip to main content
Glama

Your parts

canvas_library

A library of reusable parts (logos, marks, a cast figure): your team's shared one (Teams) or your own (Studio Plus and Teams). scope: "team" or "mine"; without it, the team's when you have a seat, else your own; the reply says which it used. list: the parts by name. Colors, fonts and text styles live in a brand (canvas_brand). place: put a part on a canvas (canvas, else your open one) in one step, on the server, so nothing large passes through you: its master on the hidden shelf "library-shelf" (once per canvas) and an instance of it on the layer "library", where it was saved (scaled to fit when it would not), or at at, or with place {x, y, scale?} its centre on x, y; state picks drawings of its states groups for that placement; name names the instance. get: one part as ops for canvas_draw, with layer_edits for canvas_edit afterwards (they hide the shelf), when you want to change it before drawing; change the master and every placement follows. save: copy one object from your open canvas (target: its name or key, as canvas_list shows) into the library as a part called name, with anything it reuses; saving under a name already there replaces that part (its id kept). When Studio Plus ends, your own parts stay: list, get and place still work, and your person can rename and remove them on Your library; save does not.

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": {
      "action": "<action>"
    },
    "name": "canvas_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoplace: the instance's at {x, y, scale, sx, sy, rot, flip, origin}
nameNosave: the part's name; place: the instance's name
partNoget, place: the part's name or id
placeNoplace: {x, y, scale?, rot?, flip?}: the instance's centre goes on x, y
scopeNowhich library: your team's or your own (default: the team's when you have a seat)
stateNoplace: {group name: drawing name or number} for the part's states groups
actionYeslist, get, place or save
canvasNo
targetNosave: the object to save

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) by disclosing mechanics an agent could not otherwise know: placement happens server-side, the master lands on a hidden shelf 'library-shelf' once per canvas, the instance goes on layer 'library', scaling is applied when the part would not fit, and get returns ops plus layer_edits that hide the shelf. It also flags the consequential overwrite semantics of save (replacing an existing name while keeping its id) and the Studio Plus expiry behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely information-dense with essentially no filler words, and it is roughly front-loaded by action. However it is delivered as one unbroken block of run-on clauses with a corrupted phrase ('or at at,'), which makes it hard to scan for a specific action. Structure is sacrificed for density.

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?

For a nine-parameter, four-action tool with nested objects and no output schema, the description covers every action and every parameter at least once, and it hints at return shape ('the reply says which it used', 'as ops for canvas_draw'). What is missing is any statement of failure modes or what list actually returns per part beyond 'by name', and the degraded placement sentence leaves a small gap.

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 already 89%, so the baseline is 3; the description earns above that by explaining cross-parameter behavior the schema cannot: scope's default resolution ('the team's when you have a seat, else your own') and the reply reporting which was used, the at-vs-place distinction for positioning, and that state selects drawings of the part's states groups. It does not clarify that 'part' accepts either name or id beyond what the schema already says, and the placement wording is partly garbled.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names the resource precisely ('a library of reusable parts (logos, marks, a cast figure)') and enumerates the four actions with concrete verbs: list, get, place, save. It also explicitly separates itself from canvas_brand ('Colors, fonts and text styles live in a brand'). The one blemish is the garbled fragment 'or at at, or with place {x, y, scale?}', which momentarily obscures how placement targets are specified.

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?

Gives real selection guidance embedded in each action: use get 'when you want to change it before drawing', use place to do it 'in one step, on the server, so nothing large passes through you', and it names canvas_draw / canvas_edit / canvas_brand as the destinations for the other jobs. It also states availability boundaries (own parts persist after Studio Plus ends for list/get/place but not save). It stops short of explicit 'do not use this when…' exclusions.

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.