POM authoring tool reference
Ten read-only tools that tell an MCP client how a POM site should be edited, before it writes anything. They are the difference between generated content that works and generated content that merely looks like it should.
The tools
| Tool | Answers |
|---|---|
pom_get_authoring_context |
What kind of site is this, and what should I call next? |
pom_get_available_blocks |
Which blocks are allowed for this editing target? |
pom_get_block_schema |
What native schema and nesting rules apply to this block? |
pom_validate_block_content |
Does this block document satisfy the server contract? |
pom_get_available_shortcodes |
Which shortcodes exist here? |
pom_get_shortcode_schema |
What attributes does this one take? |
pom_validate_builder_content |
Is this page content valid? |
pom_get_available_mergetags |
Which merge tags are valid in this template context? |
pom_get_template_schema |
What shape does this template type take? |
pom_validate_template_markup |
Is this template markup valid? |
All ten are read-only and have no write gate. Normal authentication, capabilities and request limits still apply.
Two scope groups
| Tools | Scopes | Capability |
|---|---|---|
| Context, shortcodes, shortcode schema, builder validation | mcp:read, wp:content:read |
edit_posts, or edit_post for a specific target |
| Block catalog, block schema, block validation | mcp:read, wp:content:read |
The content type’s edit capability, or edit_post for an existing target |
| Merge tags, template schema, template validation | mcp:read, pom_theme:read |
edit_theme_options |
The split follows the work: page content is a content permission, templates are a theme permission. A client that can edit pages cannot necessarily inspect templates.
The two workflows they serve
Building page content
Read the context and existing source first. For Gutenberg, follow block editor authoring, including the installed browser serializer and an actual editor save. For an existing Classic Builder document:
pom_get_authoring_contextpom_get_available_shortcodespom_get_shortcode_schemafor each shortcode you will use- Compose
pom_validate_builder_content- Fix, re-validate
- Write with a content tool
Building a template
pom_get_template_schemapom_get_available_mergetags- Compose
pom_validate_template_markup- Fix, re-validate
- Write with
pom_theme_upsert_html_template
Steps 2, 3 and 5 are the ones an assistant skips unless told. See Validate builder or template markup before writing.
Why guessing fails
POM classic builder content is nested shortcodes, and the vocabulary is specific to this site: which modules the theme enables, which attributes each accepts, and which nesting is legal.
An assistant composing from general knowledge produces markup with plausible attribute names that are silently ignored, modules that do not exist, and columns outside rows. MCP content writes reject violations of the target palette, while incomplete attribute contracts still require inspection before relying on their behavior.
The schema tools remove the guessing; the validators catch what remains.
Errors are not the only output
The validators return valid, issues and a summary. Shortcode/template results include suggested next steps; block validation additionally identifies its server scope and the remaining browser check. Issues carry a severity:
- error — the content is invalid;
validis false and you should not write. - warning — inspect the reported limitation or decision; this does not prove that an attribute works.
Warnings are worth reading rather than dismissing. They are how the layer tells you a page is using a discouraged element, or leaning on inline styles instead of the shortcode attributes that exist for the job.
Related layers
Resources carry the longer-form guidance the context tool points at — the builder documentation, layout and content-model guides, per-context template and merge-tag references. See MCP resources.
Prompts encode whole workflows including these tools in the right order. Where one covers your job, start from it. See Prompt recipes.