Skip to main content
Glama
ArsNovaSingers

ars-nova-wordpress-mcp

Official

Get Raw Block Content

wp_get_raw_content
Read-onlyIdempotent

Fetch raw Gutenberg block markup for a page or post to inspect the editable source, transform content, and then write changes back via the WordPress REST API.

Instructions

Read a page/post's RAW Gutenberg block markup (comment-delimited blocks), via core REST with context=edit. This is the editable source that wp_get_page/wp_get_post strip away. Use to inspect and transform page content, then write it back with wp_update_page. Requires admin.

Args:

  • id (number): page/post ID.

  • type ('page' | 'post'): default 'page'.

  • response_format (enum): markdown | json.

Returns: { id, title, slug, content } where content is the raw block markup.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPage or post ID.
typeNoContent type. Default 'page'.page
response_formatNoOutput format: 'markdown' for human-readable, 'json' for machine-readable.markdown
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false. The description adds valuable context: it specifies the REST context=edit, the admin permission requirement, and the exact return structure. This goes beyond annotations without contradicting them.

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 well-structured and front-loaded with the core purpose and usage in the first three sentences. The Args section is redundant with the schema but still concise and readable. No wasted sentences beyond the duplication.

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

Completeness5/5

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

Despite no output schema, the description fully specifies the return object and its fields. It covers the raw source distinction, the write-back workflow, and the admin requirement, making it complete for a read-only single-item tool with full schema coverage and annotations.

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?

The input schema has 100% description coverage for all three parameters. The description's Args section restates parameter info without adding new meaning beyond the schema. Since the schema already explains defaults, enums, and formats, the description adds no significant semantic value.

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

Purpose5/5

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

The description clearly states the tool reads a page/post's RAW Gutenberg block markup, using a specific verb ('Read') and resource ('page/post RAW block markup'), and explicitly distinguishes it from sibling tools wp_get_page/wp_get_post by noting they strip away the raw source.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit usage context: 'Use to inspect and transform page content, then write it back with wp_update_page.' It also contrasts with alternatives (wp_get_page/wp_get_post) and mentions the admin requirement, giving clear when-to-use guidance.

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/ArsNovaSingers/ars-nova-wordpress-mcp'

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