Skip to main content
Glama
shamimlaravel

laravel13-livewire4.2.1-mcp

generate_enum

Create a Laravel 13 enum with string or integer values, labels, colors, and helper methods for consistent data handling.

Instructions

Generate a Laravel 13 backed enum with string/int values, labels, colors, and helper methods.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNostring
valuesNo
enumNameYesEnum name e.g. 'PostStatus'
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions helper methods but does not state side effects like file creation, overwriting behavior, or required authentication. This is a significant gap for a generator tool.

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, front-loaded sentence with the verb 'Generate' leading. It contains no filler words and directly states the tool's purpose.

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

Completeness3/5

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

The core purpose is conveyed, but the description lacks usage context, output details, and behavioral caveats. With no output schema and no annotations, the description does not fully explain what the generated enum looks like or where it is placed, leaving the completeness at a minimally viable level.

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 only 33% (only enumName is described). The description adds meaning by mentioning labels, colors, and helper methods, which partially explains the 'values' parameter structure, but it does not clarify 'type' or the full expected format of values.

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 Laravel 13 backed enum, specifying the value types (string/int) and features (labels, colors, helper methods). This distinguishes it from sibling code generators like generate_policy or generate_eloquent_model.

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 provided on when to use this tool versus other generate_* siblings. The description only states what it does, not the context or criteria for selecting it over alternatives.

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