Skip to main content
Glama

Theme Region Create

theme_region_create

Add a region to a Drupal theme by providing machine name, region name, and label. Define custom content areas for theme layouts.

Instructions

Add a region to theme.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo
region_nameYes
machine_nameYes
region_labelYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

No annotations provided, so the description carries full burden. It doesn't disclose what happens on creation (e.g., whether it modifies theme config, requires a specific theme context, or returns the new region). No information about permissions, errors, or side effects.

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, clear sentence with no waste. However, it's overly terse for a tool with 4 parameters and 0% schema coverage, leaving much unsaid. It earns its place but could be more informative without becoming verbose.

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

Completeness1/5

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

Given 4 parameters, 0% schema coverage, no annotations, and a complex context (theme system), the description is woefully incomplete. It provides no parameter details, no behavioral context, and no usage guidance. Even the presence of an output schema doesn't excuse the lack of input explanation.

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 coverage is 0%, so the description must compensate. It doesn't explain any of the four parameters: machine_name, region_name, region_label, or path. An agent has no guidance on format, constraints, or relationships between these fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Add a region to theme' states a verb and resource, but is vague about what a 'region' constitutes in this context (Drupal theme region) and does not differentiate from related siblings like block_region_list. It's minimally viable but lacks specificity.

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 or why to use this tool versus alternatives. There's no mention of prerequisites (e.g., theme must exist) or related tools like theme_create. Only implied usage from the name.

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