Skip to main content
Glama

connect_anim_graph_ports

Connect an output port to an input port in an animation blend tree graph. Validates compatibility, rejects cycles, duplicates, and occupied inputs; refuses state machine targets.

Instructions

Connect an output port to an input port (blend trees).

Returns the target node's input port object. Refused: a target inside a state machine (use add_anim_graph_transition), incompatible port types, an occupied input, a duplicate, and a cycle. An unknown port name is refused with the node's ports listed as "name" (index).

Args: anim_graph_id: Graph id (number or digit string). source_node_id: Node whose output to connect. source_port: Output port index or name. target_node_id: Node whose input to connect. target_port: Input port index or name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_portYes
target_portYes
anim_graph_idYes
source_node_idYes
target_node_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it names the return value (target node's input port object) and five distinct failure modes (state-machine target, incompatible port types, occupied input, duplicate, cycle) plus the error format for unknown port names. This is unusually rich behavioral disclosure for a mutation 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?

Front-loaded with purpose, then refusals, then Args – a sensible order with no filler. Slightly verbose in restating the return value that the output schema already covers, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-required-param mutation tool with an output schema, the description covers purpose, refusal semantics, alternatives, and per-parameter meaning. The output schema handles return structure, so no explanation gap remains.

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 0%, so the Args block must compensate, and it largely does: each of the 5 parameters gets a role description, port args are clarified as 'index or name', and ids are noted as 'number or digit string'. Minor gap: node ids lack the same number/string note given to the graph id.

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+resource ('Connect an output port to an input port') and adds the domain qualifier '(blend trees)'. An agent can distinguish it from disconnect_anim_graph_ports and add_anim_graph_transition without opening any schema.

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?

Explicitly enumerates refusal conditions and, crucially, routes the agent to the correct sibling: a state-machine target is refused with 'use add_anim_graph_transition'. This is a clear when-not plus alternative, not just context.

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