Skip to main content
Glama

Give notes a shape

apply_shape

Assign a built-in or custom shape from the library or generated candidate to selected slate notes, preserving note width and matching shape proportions; preview changes or save the result.

Instructions

Give notes on a slate a built-in or custom shape, such as one from the shape library or one just drawn.

Shape notes. Give notes a shape: a built-in name (ellipse, star), "lib:" or a name from shapes.list, or a candidateId from shapes.generate (saved to your library). Each note keeps its width and takes the shape's proportions. One save; mode "preview" saves nothing.

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": {
      "shareId": "<shareId>",
      "ids": "<ids>",
      "shape": "<shape>"
    },
    "name": "apply_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesThe notes.
modeNosave (the default) writes; preview returns what would change and saves nothing. The response says which happened.save
shapeYes
confirmNoThe confirmation id from a confirmation_required result, once the person agreed.
shareIdYesThe slate ID from its address: /canvas/<shareId>.
idempotencyKeyNoSend with confirm: the idempotencyKey from the confirmation_required result.
expectedRevisionNoThe revision you read; the current one when left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.2

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare write semantics (readOnlyHint false, destructiveHint false, idempotentHint false), so the description doesn't need to re-establish that. It adds genuine behavior beyond the annotations: notes keep their width and adopt the shape's proportions, the operation is a single save, and preview returns what would change without saving. The confirm/idempotencyKey handshake is left to the schema.

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?

The opening sentence and the following "Shape notes. Give notes a shape:" restate the title and each other, so a chunk of the text is redundant. The remaining content (shape formats, proportions, preview) is dense and earns its place, but the lead is padded.

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 7-parameter mutation tool with no output schema, it covers the essentials: which shape values are valid, what happens to note geometry, and that the response reports whether a save or preview occurred. The confirmation/idempotency flow is adequately carried by the schema descriptions, though the description could have flagged that confirmations are required for protected actions.

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 86%, so the baseline is 3; the description goes beyond it by documenting the accepted value space for the otherwise undescribed `shape` parameter (built-in name, "lib:<id>", shapes.list name, or shapes.generate candidateId) and reinforcing that mode "preview" persists nothing.

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?

States a specific verb and resource ("Give notes on a slate a built-in or custom shape") and enumerates the shape sources: built-in names like ellipse/star, "lib:<id>", a shapes.list name, or a candidateId from shapes.generate. That enumeration alone distinguishes it from generate_shape and from the shape-library siblings.

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?

Clear routing context: come here with a shape name or library id, or with a candidateId produced by shapes.generate (noting it is then saved to your library). It also tells the agent preview exists and saves nothing. It stops short of an explicit "do not use this to create shapes" exclusion, so 4 rather than 5.

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

Deploy Server

Other Tools