Skip to main content
Glama

Create an interactive canvas

create_canvas

Create a state machine that drives the mascot from app events. Templates: chatbot (inputs listening/thinking/talking booleans + greet trigger), ai_agent (status number: 0 idle, 1 working, 2 waiting, 3 done, 4 failed), onboarding (hello/success/error triggers). Or pass a custom graph. Works on clip mascots too: states play its clips (a template's working → think, listen → idle); if the canvas plays clips the character doesn't have, the error names them, make them with create_clip (60 credits each) and try again.

Input Schema

NameRequiredDescriptionDefault
idYes
nameYes
graphNo
templateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full load, and it does disclose real behavior: how template states map to clips on clip mascots (working to think, listen to idle), that a validation error names missing clips, and the cost (60 credits) of the remediation tool. It does not say whether creation is idempotent, what happens if the id already exists, or what the call returns, which leaves meaningful gaps for a creation tool.

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?

Dense but purposeful: purpose first, then templates, then the clip-mascot mapping and error recovery. Parenthetical template details are compact and informative. The final credit-cost/retry sentence is long and slightly run-on but still earns its place as actionable recovery guidance.

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?

For a 4-parameter creation tool with zero schema descriptions, no annotations, and no output schema, the description covers templates and clip-state behavior well but leaves 'id' and 'name' undefined and the custom graph structure entirely unspecified. An agent could pick a template confidently but would be guessing when supplying id, name, or a hand-written graph.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate. It does a good job on 'template' (all three enum values with their input semantics) and acknowledges 'graph' as the custom alternative, but never explains the shape of a custom graph (the schema types it as an empty object) and says nothing about the required 'id' and 'name' parameters.

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: 'Create a state machine that drives the mascot from app events.' That phrasing clearly distinguishes it from sibling creation tools like create_clip, create_mascot, and create_scene by naming the artifact (a state machine/canvas) and its event-driven role.

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 concrete guidance on which template to pick and what trigger/input contract each one expects (chatbot booleans + greet, ai_agent 0-4 status codes, onboarding triggers), plus the alternative of passing a custom graph. It also tells the agent what to do after a failure: create missing clips with create_clip and retry. What's missing is any explicit comparison against sibling tools like animate_mascot for agents deciding whether a canvas is the right approach at all.

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.

Resources