Skip to main content
Glama
shamimlaravel

laravel13-livewire4.2.1-mcp

generate_crud_component

Generates a complete Livewire CRUD component with index, create, edit, delete, validation, authorization, and pagination for Laravel apps.

Instructions

Generate a complete CRUD (Create, Read, Update, Delete) Livewire component with index, create, edit, delete, validation, authorization, and pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel name e.g. 'Post'
fieldsNo
layoutNolayouts.app
authorizeNo
modelClassYesFull model class e.g. 'App\Models\Post'
softDeletesNo
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It lists generated features but omits crucial side effects such as file creation/overwriting, assumptions about model existence, reversibility, or error conditions. This lack of transparency could lead to incorrect usage.

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 a single sentence that directly states the tool's purpose and core features with no fluff. It is appropriately sized and front-loaded, meeting the conciseness criterion.

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 complex code-generation tool with six parameters and no output schema or annotations, the description is too short. It does not explain the return value, file operations, how parameters map to the generated component, or expected outcomes, leaving the agent without sufficient context to use it reliably.

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

Parameters2/5

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

Schema description coverage is only 33% (only model and modelClass are described). The description does not explain the remaining parameters (fields, layout, authorize, softDeletes) and only indirectly hints at authorization and validation. 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.

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 a complete CRUD Livewire component and lists key features (index, create, edit, delete, validation, authorization, pagination). This specific verb+resource targeting distinguishes it from sibling tools like generate_form_component or generate_livewire_component.

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 use for complete CRUD generation but does not explicitly state when to use this tool over alternatives, nor provide exclusions or prerequisite conditions. The agent must infer usage from the name and feature list.

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