Skip to main content
Glama

Attach finished result to Canvas

aimixer_canvas_attach_result
DestructiveIdempotent

Use for an already FINISHED MixerAI generation result (attached files use aimixer_canvas_import_attachment). Insert a completed owned generation output into an empty Canvas media node (add one with add_media_placeholder first; admins may target a generation node instead; external owned files go via aimixer_canvas_apply op set_generation_result): preview first, show effects to the user, then apply only with explicit confirmation, the same request_id, expected_rev and preview_proof. Never generates or debits coins.

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": {
      "project_id": "<project_id>",
      "node_id": "<node_id>",
      "generation_request_id": "<generation_request_id>",
      "expected_kind": "<expected_kind>",
      "expected_rev": "<expected_rev>",
      "request_id": "<request_id>"
    },
    "name": "aimixer_canvas_attach_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
phaseNopreview
confirmNo
node_idYes
project_idYes
request_idYes
expected_revYes
output_indexNo
expected_kindYes
preview_proofNo
generation_request_idYes

Output Schema

NameRequiredDescriptionDefault
sourceNo
statusYes
writesYes
effectsNo
node_idYes
replayedNo
media_kindYes
project_idYes
target_nodeYes
output_indexYes
preview_proofNo
graph_revisionYes
provider_callsYes
billing_actionsYes
source_referenceYes
confirmation_requiredNo
generation_request_idYes
previous_graph_revisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description reinforces this with a full preview-then-confirm safety protocol plus the requirement to reuse the same request_id, expected_rev and preview_proof between phases. It also discloses a key non-behavior (never generates or debits coins) that no annotation conveys. It stops short of describing failure modes or what state a failed apply leaves behind.

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?

Purpose and the primary sibling disambiguation are front-loaded, and every clause carries operational information. The dense parenthetical chain in the middle makes it slower to parse than a short bulleted flow would be, but there is little true filler.

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 10-parameter destructive mutation with a two-phase workflow, the description covers prerequisites, the phase protocol, confirmation gating, and side effects, and an output schema exists so return values need not be explained. Gaps remain around output_index selection and error/rollback behavior, but the agent can call it correctly from what is given.

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 description coverage is 0% across 10 parameters, so the description carries the burden. It adds real meaning for request_id, expected_rev and preview_proof by requiring them to be carried identically across preview and apply, and implies phase/confirm via the preview-then-confirm instruction. However output_index, expected_kind, project_id and node_id receive no semantic explanation, and the concrete meaning of expected_rev (version guard) is only inferable.

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: inserting an already FINISHED MixerAI generation result into a Canvas media node. It explicitly disambiguates from three siblings by naming them and their distinct roles (aimixer_canvas_import_attachment for attached files, add_media_placeholder for node creation, aimixer_canvas_apply set_generation_result for external owned files).

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?

Gives an explicit prerequisite chain: create an empty media node first, preview, show effects to the user, then apply only on explicit confirmation. It also states exclusions (attached files, external owned files) with the alternative tool to use instead, and notes the admin-only variation of targeting a generation node.

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