Skip to main content
Glama

Theme Create

theme_create

Create a new Drupal theme with full scaffolding, including regions, libraries, and base theme configuration.

Instructions

Create a new Drupal theme with full scaffolding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
pathNo
packageNoCustom
regionsNo
librariesNo
base_themeNostable9
descriptionNo
machine_nameNo
core_version_requirementNo^10 || ^11

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
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 behavioral burden. 'Full scaffolding' implies files and directories get written to disk, but the description never states what is generated, whether existing files are overwritten, what permissions or write paths are required, or how base_theme influences output. For a 9-parameter creation tool this is a substantial disclosure gap.

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?

A single front-loaded sentence with no wasted words, and the core action appears immediately. It is efficient but arguably under-specified for the amount of behavior it is trying to convey.

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?

Though an output schema exists (so return shape is covered), the definition leaves both the 9 undocumented parameters and the mutation behavior unexplained. For a tool that scaffolds an entire theme directory with no annotations, the description is not complete enough for an agent to invoke it confidently.

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 0% across 9 parameters, so the schema documents only names and types. The description adds no meaning for path, package, base_theme, regions, libraries, machine_name, or core_version_requirement; 'full scaffolding' vaguely implies several of them are used but supplies no semantics. With near-zero coverage the description needed to compensate and does not.

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 states a specific verb and resource ('Create a new Drupal theme') and adds a scope qualifier ('with full scaffolding') that hints this is a generator rather than a config entry. It does not, however, name which sibling theme_* tools it replaces or contrasts with (e.g., theme_library_create, theme_region_create), so differentiation is left to inference.

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 when-to-use, prerequisites, or alternatives are given. An agent cannot tell from the text whether this should be preferred over theme_library_create/theme_region_create or whether scaffolding is idempotent when a theme already exists at the target path.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools