Skip to main content
Glama

mcp-easy-ai__wp_get_post_meta

Read-only

Gets REST-API-visible meta fields for a post. Only meta fields registered with show_in_rest are returned. Optional key parameter filters to a single meta key and returns { post_id, key, value }; omit it to receive all meta. Optional post_type (REST base, default posts) lets this tool also operate on pages or any custom post type, not just posts. Through Royally: its server marks it read-only, so it runs straight away.

Input Schema

NameRequiredDescriptionDefault
keyNoOptional single meta key to retrieve. Omit to return all meta.
post_idYesThe ID of the post to retrieve meta for.
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)
post_typeNoThe REST base for the post type (e.g. posts, pages). Default: posts. A post_type slug is also accepted.posts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds genuinely useful context beyond that: only show_in_rest-registered meta is visible (so absence of a key is not proof it doesn't exist), plus the operational note that the server marks it read-only so it executes without approval. It does not cover what happens for an unregistered key or error behavior.

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?

Four tight sentences, front-loaded with what is returned and its visibility constraint, then parameters, then execution behavior. The "Through Royally" clause is slightly awkward filler but carries a real detail (auto-execution) so it still earns its place.

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?

No output schema exists, and the description compensates by describing both return modes (all meta vs. single-key object) and the show_in_rest visibility limit. Combined with fully documented parameters and safety annotations, an agent has everything needed to call this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a baseline of 3 applies, but the description earns more: it specifies the alternate return shape { post_id, key, value } when `key` is set, and clarifies that `post_type` is a REST base (default `posts`) with a slug also accepted. That is real meaning beyond the schema text.

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?

Opens with a specific verb+resource ("Gets REST-API-visible meta fields for a post") and immediately bounds the scope to fields registered with show_in_rest. That boundary plus the post_id/key framing makes it distinguishable from wp_get_post and wp_get_term_meta, though no sibling is named explicitly.

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?

The description tells the agent precisely when to supply `key` (single key, structured return) versus omit it (all meta), and when to use `post_type` (pages/custom post types rather than posts). It never names an alternative tool or states when not to use this one, so the routing guidance is implied rather than explicit.

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