Skip to main content
Glama
YihonW

mcp-c4d-2025

by YihonW

Edit Xpresso Port

set_xpresso_port

Add, connect, disconnect, or remove Xpresso ports, and set port defaults, to build custom node graphs beyond standard automation.

Instructions

Low-level Xpresso port primitive — covers cases apply_xpresso_graph can't express. action:'add' adds a new input/output port via GvNode.AddPort(port_id). connect wires this node's port to target (on a peer node identified by target.node_handle); output-vs-input direction is auto-detected. disconnect removes incoming connections from port. set_value writes the port's default. remove deletes the port. Use list_xpresso_nodes first to discover node path ids and existing ports.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ioNoDirection for `add`.
nodeYesgv_node handle for the operated-on GvNode.
portNoTarget port selector. Required for remove / connect / disconnect / set_value.
valueNoNew default value for `set_value`. [x,y,z] is coerced to c4d.Vector.
actionYesOperation to perform.
targetNoPeer port selector (with its node_handle). Required for connect.
port_idNoPort main id passed to GvNode.AddPort (required for `add`).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.5.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it names the underlying operation (GvNode.AddPort), explains that connect wires this node's port to a peer target, notes direction auto-detection, specifies disconnect removes incoming connections, and clarifies set_value writes the port default. It omits edge behaviors like error conditions and whether connections are replaced, but core mutating behavior is disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-structured: an opening positioning sentence, followed by a terse action-by-action breakdown. Every sentence contributes meaning, and the prerequisite note is placed at the end without bloating the core content.

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 seven-parameter tool with nested objects and no output schema, the description covers all five actions, required parameters, the peer-node relationship, and the discovery prerequisite. It could additionally mention return values or error behavior, but it gives an agent enough to invoke the tool correctly in most cases.

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 100%, so the baseline is 3, but the description adds useful mapping: `port_id` is required for add, `target` is the peer selector for connect, `port` is the selector for remove/connect/disconnect/set_value, and `io` is the direction for add. It also clarifies the semantics of `connect` beyond the raw schema, which helps prevent misuse.

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 clearly identifies this as a low-level Xpresso port primitive and enumerates five distinct operations (add, connect, disconnect, set_value, remove) with the resource and effect of each. It explicitly distinguishes itself from `apply_xpresso_graph`, so an agent can tell this tool apart from related 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?

The description states when to use this tool ('covers cases apply_xpresso_graph can't express') and names a prerequisite discovery step ('Use list_xpresso_nodes first'). It does not enumerate specific exclusions versus `set_graph_port` or other sibling tools, but the context is otherwise clear.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/YihonW/mcp-c4d-2025'

If you have feedback or need assistance with the MCP directory API, please join our Discord server