Skip to main content
Glama

wordpress_theme_from_static

Convert static HTML/CSS/JS websites into functional WordPress themes with smart template detection for production-ready code generation.

Instructions

Convert static HTML/CSS/JS sites into fully functional WordPress themes with smart template detection

WORKFLOW: Ideal for creating production-ready code, tests, and documentation TIP: Generate unlimited iterations locally, then review with Claude SAVES: Claude context for strategic decisions

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
analysisDepthNoLevel of analysis detail for theme conversioncomprehensive
analysisTypeNoType of theme conversion to performcomprehensive
codeNoHTML content to convert (for single-file analysis)
filePathNoPath to HTML file to convert
filesNoArray of specific static site files to analyze
includeCustomizerNoInclude WordPress Customizer options
includeGutenbergNoInclude Gutenberg block support
includeMenusNoInclude dynamic WordPress menus
includeSidebarsNoInclude WordPress sidebar/widget areas
includeWooCommerceNoInclude WooCommerce template support
languageNoPrimary language (HTML/PHP for WordPress themes)html
maxDepthNoMaximum directory depth for static site discovery (1-5)
projectPathNoPath to static site directory (for multi-file analysis)
themeAuthorNoTheme author nameTheme Generator
themeDescriptionNoTheme descriptionWordPress theme generated from static site
themeNameNoWordPress theme nameCustom Static Theme
themeVersionNoTheme version1.0.0
urlNoSingle URL to analyze for theme conversion
urlsNoArray of URLs to analyze for theme conversion (e.g., home, blog, about pages)
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'smart template detection' and workflow tips, but fails to disclose critical behavioral traits such as whether this is a read-only analysis or a destructive write operation, what permissions are needed, potential rate limits, or what the output looks like (e.g., generated files, error handling). For a complex conversion tool with 19 parameters, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured with sections (WORKFLOW, TIP, SAVES), but includes extraneous content like 'SAVES: Claude context for strategic decisions,' which doesn't directly help tool selection. The core purpose is clear upfront, but some sentences don't earn their place, reducing efficiency.

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?

Given the tool's complexity (19 parameters, no annotations, no output schema), the description is incomplete. It lacks details on behavioral aspects (e.g., mutation vs. analysis), output format, error conditions, and integration with sibling tools. While the schema covers parameters, the description fails to provide sufficient context for safe and effective use.

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%, meaning all parameters are documented in the schema itself. The description adds no specific parameter semantics beyond what the schema provides (e.g., it doesn't explain how 'analysisDepth' vs 'analysisType' differ or clarify parameter interactions). With high schema coverage, the baseline is 3, and the description doesn't compensate with additional insights.

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 the tool's purpose: 'Convert static HTML/CSS/JS sites into fully functional WordPress themes with smart template detection.' This specifies the verb (convert), resources (static sites), and output (WordPress themes). However, it doesn't explicitly differentiate from sibling tools like 'generate_wordpress_plugin' or 'audit_wordpress_theme,' which would require a 5.

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 provides implied usage context through 'WORKFLOW: Ideal for creating production-ready code, tests, and documentation' and 'TIP: Generate unlimited iterations locally, then review with Claude.' This suggests when to use it (for production themes) and a workflow tip, but lacks explicit guidance on when to choose this over alternatives like 'generate_wordpress_plugin' or clear exclusions.

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/houtini-ai/houtini-lm'

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