wp_list_menu_locations
List the active theme's registered menu locations (e.g. primary, footer) and which menu is assigned to each. Read-only. Xyle Connector v0.6.0+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The WordPress site ID |
List the active theme's registered menu locations (e.g. primary, footer) and which menu is assigned to each. Read-only. Xyle Connector v0.6.0+.
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The WordPress site ID |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, destructiveHint, idempotentHint, and openWorldHint, and the description's 'Read-only' merely repeats them. The added value is the scope of returned data, but it does not disclose permissions, response structure, or other behavioral details beyond that.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two tight sentences with the core operation front-loaded. The version note and read-only marker are brief and do not bloat the definition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read-only, single-parameter list tool with no output schema, the description says enough about what is returned. Annotations already cover safety and openness, so no critical context is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the single site_id parameter is already documented. The description adds no additional parameter meaning, which is appropriate for a one-parameter tool whose schema carries the load.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource: list the active theme's registered menu locations and the menu assigned to each. It is clearly distinguishable from sibling tools like wp_list_menus because it focuses on theme locations and assignments rather than the menus themselves.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description does not state when to use this tool versus alternatives such as wp_list_menus or wp_assign_menu_location. It gives no prerequisites, exclusions, or alternative-selection guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.