Skip to main content
Glama
Forge-Space

@forgespace/ui-mcp

Official
by Forge-Space

generate_form

Generate production-ready forms with built-in validation, accessibility, error handling, and multi-step support. Choose from preset types like login or signup, or define custom fields.

Instructions

Generate production-ready forms with validation schemas, accessible markup, error handling, and multi-step support. Includes preset form types (login, signup, contact, checkout) or fully custom field definitions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
form_typeYesType of form to generate
frameworkYesTarget framework
fieldsNoCustom field definitions. Required for "custom" type, optional override for presets.
validation_libraryNoValidation library for schema generationzod
component_libraryNoComponent library stylingnone
multi_stepNoSplit into multi-step form with progress
dark_modeNoInclude dark mode classes
brand_identityNoJSON from branding-mcp generate_brand_identity. Overrides design context with brand tokens.
moodNoDesign mood
industryNoTarget industry
visual_styleNoVisual style
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions generation features but does not disclose behavioral details like file creation, idempotency, or side effects. It is moderately transparent but could be more explicit about what happens when the tool is invoked.

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 two sentences (about 30 words), concise and front-loaded with the core purpose. Every sentence adds value with no wasted words.

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 has 11 parameters and no output schema, the description adequately covers the main capability and key differentiators (presets vs custom). It could explain the output format (e.g., code generation, file creation), but for a high-level tool, it is sufficiently complete.

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 baseline is 3. The description adds minimal value by referencing preset form types and custom fields, but it does not elaborate on most parameters (e.g., validation_library, multi_step). The schema descriptions themselves are sufficient.

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 the tool generates production-ready forms with specific features like validation and multi-step support, and it distinguishes itself by offering preset form types or custom field definitions. There is no ambiguity about what the tool does.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives (e.g., generate_ui_component). It does not mention prerequisites, limitations, or context where this tool is not appropriate.

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/Forge-Space/ui-mcp'

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