Skip to main content
Glama

bricks_add_menu_item

Add a single item to an existing menu, supporting custom links, pages, posts, categories, and submenus with parent ID.

Instructions

Add a single item to an existing menu. Supports custom links, pages, posts, and categories. Use parent for submenus.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoURL for custom links
typeNoLink type: custom (default), post_type, taxonomycustom
titleYesMenu item display text
objectNoObject type when type=post_type: page, post. When type=taxonomy: category, post_tag
parentNoParent menu item ID for creating submenus (0 = top level)
targetNo"_blank" to open in new tab
classesNoCSS classes for styling
menu_idYesMenu ID to add item to
positionNoMenu order position (1-based)
object_idNoPost/page/category ID when linking to existing content
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions basic behavior but fails to disclose side effects, required permissions, error conditions, or what happens if the menu_id doesn't exist. This is insufficient for a mutation tool.

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 extremely concise with only two sentences, no filler, and front-loaded with the primary action. Every sentence earns its place by either defining the operation or providing a critical usage hint.

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?

Despite 10 parameters and no output schema, the description adequately covers the essential usage: adding a single item, supported types, and submenu functionality. It does not explain return values or errors, but is sufficient for a simple creation tool.

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 the schema documents all parameters. The description adds value by summarizing supported item types (custom, page, post, category) and reinforcing the use of 'parent' for submenus, which agents might miss in the schema.

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?

The description clearly states the action ('Add'), the resource ('menu item'), and the context ('existing menu'). It distinguishes from siblings like bricks_create_menu (create menu) and bricks_delete_menu_item (delete) by specifying the addition operation.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool: adding a single item to an existing menu. It offers guidance on submenu creation via the 'parent' parameter but does not explicitly exclude alternatives or state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/developer2013/bricks-mcp-open'

If you have feedback or need assistance with the MCP directory API, please join our Discord server