Skip to main content
Glama
shamimlaravel

laravel13-livewire4.2.1-mcp

generate_livewire_component

Generate production-ready Livewire v4.2+ components with Laravel 13 validation, security, and DRY patterns. Define name, fields, and options to scaffold fully functional components.

Instructions

Generate a production-ready Livewire v4.2+ component with Laravel 13 attributes, validation, security, DRY patterns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesComponent name e.g. 'post.create'
typeNosfc
titleNo
fieldsNo
layoutNolayouts.app
hasEditNo
hasFormNo
authorizeNo
hasDeleteNo
hasSearchNo
modelClassNo
hasPaginationNo
Behavior2/5

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

With no annotations, the description must carry the full transparency burden. It says 'production-ready' with validation/security, but does not disclose concrete behavior: file creation/overwrite side effects, prerequisites, expected output, or error handling. 'Production-ready' is a quality claim, not a behavioral description.

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 a single sentence, front-loaded with the action verb 'Generate,' and contains no filler. It is appropriately short, but the brevity sacrifices explanatory detail; it is concise without being informative.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 12 parameters, no output schema, and no annotations, the description is far too sparse. It does not clarify the meaning of component 'type' options, the purpose of fields/layout/hasEdit/hasDelete options, or what 'production-ready' entails in generated code. The schema helps but leaves ambiguity, especially for nested field objects.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 8% (only 'name' has a description). The description mentions validation and Laravel attributes but does not explain any of the 12 parameters, their relationships, or how fields/rules are structured. It fails to compensate for the low schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it 'Generate[s] a production-ready Livewire v4.2+ component' with specific features like 'Laravel 13 attributes, validation, security, DRY patterns.' The verb and resource are specific, but it does not distinguish from sibling generators like generate_form_component or generate_crud_component, making scope ambiguous.

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?

No guidance is given on when to use this tool versus the many similar siblings (e.g., generate_form_component, generate_data_table, generate_modal_component). There are no exclusions, prerequisites, or alternative recommendations; the intended use case is only vaguely implied.

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/shamimlaravel/laravel13-livewire4.2.1-mcp'

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