Skip to main content
Glama
YihonW

mcp-c4d-2025

by YihonW

Add User Data Slot

add_user_data

Add a User Data slot to any Cinema 4D object, tag, or material to expose custom controls for rigging. Returns the slot's DescID for use with get_params and set_params.

Instructions

Add a new User Data slot to any BaseList2D (common rigging / control-exposure pattern). Returns the slot's DescID (as a nested list) which can be piped into get_params / set_params as a path. dtype aliases: real, long, bool, vector, string, color, filename, time, link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoNumeric upper bound (real / long).
minNoNumeric lower bound (real / long).
nameYesDisplay name for the new UD slot.
stepNoSpinner step size.
dtypeYesUser-data dtype.
valueNoInitial value. For vector / color, pass [x,y,z].
handleYesTarget (object / tag / material / etc.).
defaultNoDefault stored on the descriptor.

Schema Changelog

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

  1. First observedv0.5.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the behavior burden. It discloses the mutation ('Add'), the return type (DescID as a nested list), and a concrete downstream use (path for get_params/set_params). It does not cover duplicate-slot or error behavior, but the core behavioral contract is stated.

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?

The definition is compact and front-loaded: action/target in the first sentence, return behavior in the second, dtype aliases in the third. The dtype list is slightly redundant with the schema enum, so it is not perfectly lean, but there is no filler or repetition of the title.

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 an 8-parameter, 3-required write tool with no annotations and no output schema, the description covers purpose, target class, return value, and integration path, while the schema covers parameter details. The main missing pieces are explicit sibling routing and error/duplicate behavior, which are not critical to a first correct call.

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 100%, so the schema already documents name, handle, dtype, min/max/step/value/default, including the vector/color [x,y,z] format. The description mostly restates the dtype enum, so it adds little parameter-level meaning beyond the schema baseline.

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 starts with a specific verb ('Add'), a specific object ('new User Data slot'), and scopes the target ('any BaseList2D'), which is enough to distinguish it from sibling list_user_data/remove_user_data even without naming them. The rigging/control-exposure context adds real-world purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear use-case signal ('common rigging / control-exposure pattern') and explains the returned DescID can feed get_params/set_params, so an agent can infer when it is useful. However, it never explicitly says when to prefer this over list_user_data/remove_user_data, and there are no exclusion or alternative statements.

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