Skip to main content
Glama

Auto UI from parameters

auto_ui_from_params

Generate a control panel from a node's primitive parameters by inferring sliders, toggles, and text fields, and optionally bind them back to the source for live manipulation.

Instructions

Generate a performable control panel from an existing node/COMP's primitive parameters. It reads source_path, infers sliders/toggles/text fields, appends them as custom parameters on comp_path (default source_path), and optionally binds each control back to the source parameter. Use when a generated component has useful parameters but no playable UI yet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bindNoBind generated controls back to source_path parameters.
pageNoCustom-parameter page name for the controls.Auto UI
excludeNoParameter names to skip.
comp_pathNoCOMP that receives the generated control panel. Defaults to source_path.
parametersNoOnly expose these parameter names. Omit to infer useful primitive parameters.
source_pathYesNode or COMP whose parameters should become controls.
max_controlsNoMaximum inferred controls when parameters is omitted.
Behavior4/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, and the description adds meaningful behavioral detail: it reads source_path, infers slider/toggle/text controls, appends them as custom parameters on comp_path, and optionally binds each control back to the source parameter. This goes beyond the annotations by explaining the side effects and flow, although it does not discuss failure modes or edge cases like existing custom parameter collisions.

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?

Three compact sentences front-load the primary purpose, then outline the mechanism and the intended use case. Every sentence contributes without repetition or extraneous detail.

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?

Given the 7-parameter schema with full descriptions and no output schema, the description effectively explains the core workflow and when to use it. It could mention what happens if 'parameters' limits the list or how max_controls interacts with inference, but those are already in the schema, so the description is sufficiently complete for practical use.

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?

The input schema already covers all 7 parameters with descriptions (100% coverage), so the baseline is 3. The description adds some relationship context (e.g., comp_path defaults to source_path, controls are inferred from primitive parameters) but does not significantly deepen meaning beyond the schema's own per-parameter descriptions.

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 and resource: 'Generate a performable control panel from an existing node/COMP's primitive parameters.' It clearly distinguishes this from siblings like add_custom_parameters by focusing on the infer-and-append workflow and the optional binding behavior.

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?

Provides explicit context: 'Use when a generated component has useful parameters but no playable UI yet.' It does not name alternatives or exclusions, but the use case is clear enough to guide selection among the large sibling set.

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

Install Server

Other Tools

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/Pantani/tdmcp'

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