Skip to main content
Glama

wordpress_assign_menu_to_location

wordpress_assign_menu_to_location

Assign a menu to a theme location using the location name and menu ID.

Instructions

Assign a menu to a theme location

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
locationYes
menuIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.0
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observed

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations present, the description carries the full burden of behavioral disclosure. 'Assign a menu to a theme location' implies a write operation but fails to disclose whether an existing menu at that location is replaced, what permissions are required, or what the return value is.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with zero filler words. Every word earns its place, and the structure is ideal for quick parsing by an agent.

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

Completeness2/5

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

Although the tool is simple (2 required params, no output schema), the absence of annotations and the 0% parameter coverage leave important gaps: the agent cannot know whether assigning overwrites an existing location assignment, what the response format is, or whether any preconditions apply.

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 description coverage is 0%, so the description must compensate for the bare parameter names. It adds minimal context by identifying menuId as the menu and location as a theme location, but it does not explain valid location values, how to obtain a menuId, or any format/relationship details.

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 description 'Assign a menu to a theme location' uses a specific verb (assign) and identifies both the object (menu) and target (theme location), making the core action clear. However, it does not explicitly call out sibling tools like wordpress_get_menu_locations or wordpress_create_menu, leaving differentiation implicit rather than stated.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. It does not mention prerequisites (e.g., menu must exist, location must be registered), when to prefer it over creating a new menu, or any exclusions, so the agent receives no contextual direction.

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

Deploy Server

Other Tools