Skip to main content
Glama

scaffold_dashboard_widget

Creates a WordPress admin dashboard widget with configurable content, AJAX refresh support, and an optional settings form.

Instructions

Generate a WordPress admin Dashboard Widget with configurable content, AJAX refresh, and optional configuration form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootNamespaceYesPlugin root namespace
widgetIdYesWidget ID (e.g., "plugin_stats")
widgetTitleYesWidget title (e.g., "Plugin Statistics")
textDomainYesPlugin text domain
hasConfigNoInclude configuration form (default: false)
refreshableNoAdd AJAX refresh button (default: false)
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It mentions generation and features but does not reveal side effects (e.g., file creation, overwriting), required environment, or potential impacts. The description is minimal.

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, well-structured sentence that conveys the purpose and key features without extraneous words. Every element earns its place.

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 generates code and has no output schema, the description adequately covers its capabilities. It mentions the main features (configurable content, AJAX, config form). However, it could benefit from noting what is produced (e.g., PHP files). Still, it is fairly complete for a scaffold tool.

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 coverage is 100%, so parameters are already documented. The description lists features (configurable content, AJAX refresh, config form) that map to parameters (hasConfig, refreshable) but does not add new meaning beyond the schema. Baseline score of 3 is appropriate.

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 generates a WordPress admin Dashboard Widget, mentioning configurable content, AJAX refresh, and optional configuration form. It does not explicitly differentiate from siblings like scaffold_meta_box or gutenberg_scaffold_block, but the name and context make its purpose unambiguous.

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 on when to use this tool versus alternatives, prerequisites, or when not to use it. The description only states what it does, leaving the agent to infer usage context.

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