Skip to main content
Glama

Proven recipes for techniques

canvas_recipe
Read-only

Short, proven op lists for named techniques (an interface card for screens and pages, an engraved sphere, painted fruit, a poster lockup, a logo by merge, a watercolor wash, a sumi-e branch, a mosaic, a phyllotaxis bloom, paper-cut hills), each with a line on why it works. Without name: the list. With name: the canvas_draw calls to make in order, drawn in a 400×400 box at 0, 0; at {x, y, scale, rot} places it on your canvas, prefix keeps names apart when you use one twice. Draw it as is, or adapt it. Where the photo_ tools are in your list there are photo recipes too (warm-portrait, product-on-white, dull-sky, moody-street): their answer is the edits of one photo_edit call, a start you adjust by looking.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "canvas_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
nameNo
prefixNoput before every name, as prefix-name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds genuinely new behavior — output is an ordered sequence of canvas_draw calls, the recipe is authored in a 400×400 box at 0,0, and `at` relocates/scales/rotates it onto the canvas. It also discloses that photo recipes resolve to the edit parameters of a single photo_edit call. Return format is described in prose since no output schema exists.

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 mode-switching rules are front-loaded, but the long parenthetical enumerating ten technique names duplicates the enum already present in the schema and consumes a large share of the text. Sentences are run-on with nested clauses, making the key operational rules harder to scan than they need to be.

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 no-required-parameter lookup tool with no output schema, the description explains what comes back (a list, or an ordered set of canvas_draw calls), the coordinate frame of the recipe, and how placement parameters transform it. An agent can invoke it correctly and know what to do with the result; only the scale limits and an explicit not-for-execution note are missing.

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 description coverage is only 33%, but the description compensates: `name` selects between list mode and draw-call mode, `at` is explained as placing the 400×400 recipe at {x, y, scale, rot}, and `prefix` is explained as separating names when a recipe is used twice. That covers all three parameters with meaning the schema alone does not convey, though it doesn't mention the scale bounds (0.05–20) defined in 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?

The description gives a specific resource (short, proven op lists for named techniques) and a specific behavior: with a name, it returns the canvas_draw calls to execute in order; without a name, it returns the list. That is clearly distinct from the canvas_draw sibling that actually executes, and the agent can tell which tool produces instructions versus which consumes them.

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?

It gives a clear routing rule by input shape ('Without name: the list. With name: the canvas_draw calls...') and a conditional branch for photo recipes when photo_ tools are present. It also says 'Draw it as is, or adapt it,' which frames the output as a starting point. It stops short of an explicit 'do not use this to execute drawing' exclusion, but the division of labor with canvas_draw is inferable.

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.