Skip to main content
Glama

scaffold_settings_page

Generates a complete WordPress admin settings page module with settings class, menu registration, service provider, and view template for a plugin.

Instructions

Generate a complete admin settings page module: Settings class, Menu registration, ServiceProvider, and view template.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootNamespaceYesPlugin root namespace
pageNameYesSettings page name in PascalCase (e.g., "GeneralSettings")
menuTitleYesMenu title (e.g., "My Plugin Settings")
sectionsYesComma-separated section names (e.g., "general,appearance,advanced")
Behavior2/5

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

With no annotations, the description carries full behavioral disclosure burden. It does not mention whether files are overwritten, what structure is required, or any side effects. For a scaffolding tool, these omissions are significant.

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 that front-loads the purpose. It is concise and has no wasted words, though it could be slightly more structured for clarity.

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 description explains what the tool generates, but lacks detail on output (e.g., file generation) or behavior. No output schema exists. For a 4-parameter required tool, it is minimally 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 the baseline is 3. The description adds no extra meaning beyond the schema; it just lists components without mapping to parameters.

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 admin settings page module, listing specific components (Settings class, Menu registration, ServiceProvider, view template). This specific verb+resource combination effectively distinguishes it from sibling tools like generate_settings or generate_menu.

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 alternatives (e.g., generate_settings, generate_menu). There are no exclusions, prerequisites, or context about when not to use it.

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/WPDiggerStudio/wpzylos-mcp'

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