Skip to main content
Glama

royal-mcp__wp_get_menu_items

Read-onlyIdempotent

Get the items of a menu: id, title, url, parent, order, type (custom, post_type or taxonomy), object (the post type or taxonomy), object_id and target. A post_type or taxonomy item keeps the link of what it points to, so only a custom item's url can be changed. (site: demo.royalplugins.com) Through Royally: read-only, runs straight away.

Input Schema

NameRequiredDescriptionDefault
menu_idYes
site_idNoSite to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so 'read-only, runs straight away' largely restates them. The description does add genuinely new behavioral context: post_type/taxonomy items inherit the link of their target, so only custom items' urls are mutable — a non-obvious constraint an agent would not get from the schema.

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?

Purpose is front-loaded in the first clause and the field enumeration is informative rather than padding. The trailing '(site: ...)' and 'Through Royally: read-only, runs straight away' are boilerplate that add little, keeping it short of a 5.

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 usefully documents the returned field set, and annotations cover the safety profile for this read-only tool. The remaining gap is guidance on sourcing menu_id, which the description should supply given the undocumented required parameter.

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 only 50%: site_id is fully described with an enum, but menu_id is a bare integer with no description. The description says 'items of a menu' but never explains that menu_id is the menu term ID nor how to retrieve it, so it fails to compensate for the coverage gap on the one required parameter.

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?

States a specific verb and resource ('Get the items of a menu') and enumerates the returned fields (id, title, url, parent, order, type, object, object_id, target), which distinguishes it from the sibling wp_get_menus that lists menus themselves. An agent can tell what this returns without opening any schema.

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?

Usage is implied by the required menu_id, but the description never says to first call wp_get_menus to obtain a menu_id, nor does it state when to prefer this over mcp-easy-ai__wp_list_menu_items or the generic wp_rest_read. The only routing hint is the note about editing custom item urls, which points implicitly at wp_update_menu_item.

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