Skip to main content
Glama
AiAgentKarl

mcp-interactive-ui-server

create_form

Generates a JSON form schema with fields like text, number, select, date, etc. for rendering interactive UIs in MCP clients.

Instructions

Generiert eine JSON-Formular-Definition mit verschiedenen Feld-Typen.

Erstellt ein strukturiertes Formular-Schema, das MCP-Clients als interaktives UI rendern können.

Unterstützte Feld-Typen: text, number, select, checkbox, date, email, password, textarea, radio, range.

Jedes Feld braucht mindestens: {"label": "Name", "type": "text"} Optional: id, required, placeholder, default, validation, options (für select/radio), min/max/step (für number/range), rows (für textarea).

Args: title: Formular-Titel fields: Liste von Feld-Definitionen (dicts mit type, label, etc.) description: Optionale Beschreibung über dem Formular submit_label: Text des Submit-Buttons layout: "vertical" oder "horizontal" Feld-Anordnung

Returns: JSON-String mit dem Formular-Schema

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
fieldsYes
descriptionNo
submit_labelNoSubmit
layoutNovertical

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It discloses that it creates a JSON schema and lists supported field types, but lacks details on side effects, idempotency, validation, or error handling. Adequate but not extensive.

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 description is well-structured with a summary, supported types, field requirements, and an Args section. It is front-loaded and logically organized, though a bit verbose in places.

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 tool's complexity (5 params, 2 required, output schema present), the description covers purpose, parameter details, and output type. It does not need to explain return values due to output schema. Minor omission of validation behavior but overall complete enough for correct use.

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 description coverage is 0%, so the description compensates by detailing the fields parameter's item structure, required minima, and optional parameters like layout with allowed values. Adds significant meaning beyond the schema's type-only definitions.

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 states it generates a JSON form definition with various field types, and lists supported field types. It distinguishes itself from sibling tools like create_chart, create_dashboard, etc., by focusing specifically on form creation.

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?

The description implies usage for creating interactive form UIs but does not explicitly state when to use this tool versus alternatives like create_wizard. No exclusions or when-not-to-use guidance provided.

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/AiAgentKarl/mcp-interactive-ui-server'

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