Skip to main content
Glama

royal-mcp__wp_get_block_outline

Read-onlyIdempotent

Block tree of a post: each block's path, name, key attributes, a text preview, inner block count and how it can be edited (text or attributes). Use the paths with the other block tools. Stats show blocks per plugin namespace, Custom HTML blocks and HTML outside blocks. Read-only. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

Input Schema

NameRequiredDescriptionDefault
idYesPost ID (any post type that stores block content).
pathNoOptional: outline only the block at this path and its inner blocks.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
max_depthNoOptional: how many levels deep to go (default all).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds real value by detailing the return shape—per-block paths, editability signals, and namespace-level stats—which annotations cannot convey. The 'runs straight away' note reinforces there is no approval gate. Minor deduction for restating read-only twice.

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 content description is front-loaded and dense with useful detail. However, the trailing 'Read-only... Through Royally: read-only, runs straight away' repeats the read-only claim three times, which is redundant padding.

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

Completeness4/5

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

With no output schema, the description carries the burden of explaining returns, and it does so thoroughly—covering per-block fields, editability, and aggregate stats. An agent has enough to know what it will receive, though a note on size/pagination for large posts is absent.

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 coverage is 100%, so all four parameters are already documented, including the path and max_depth semantics. The description's 'use the paths' phrasing loosely ties to the path parameter but adds no syntax or depth behavior beyond the schema—baseline 3 is appropriate.

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 opening 'Block tree of a post' states a specific resource (block tree) and enumerates exactly what each node carries (path, name, attributes, preview, inner count, editability). This clearly distinguishes it as a structural-introspection tool, though it doesn't explicitly name a sibling it should be preferred over.

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?

'Use the paths with the other block tools' gives a downstream-usage hint, implying this is a preparatory step before block mutation tools. But it never states when to choose this over alternatives like wp_get_post or wp_validate_blocks, leaving the routing decision to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources