Skip to main content
Glama
brilliantdirectories

brilliant-directories-mcp

Official

createMenu

Create a new navigation menu container for a Brilliant Directories site. Requires a unique internal name and visible title. After creation, add menu items using the returned ID.

Instructions

Create a menu - Create a new menu record. Writes live data.

Use when: adding a new navigation container. After creating the container, add entries via createMenuItem using the returned menu_id.

Required: menu_name, menu_title.

Pre-check before create: BD does NOT enforce uniqueness on menu_name. Duplicates cause the wrong menu to render wherever the menu is referenced. Do a server-side filter-find: listMenus property=menu_name property_value=<proposed> property_operator==. Zero rows = name free; >=1 row = taken. Do NOT paginate unfiltered lists - filtered lookup is one tiny response. If taken: reuse via updateMenu, OR ask the user, OR pick an alternate menu_name and re-check. Never silently create a duplicate.

Parameter interactions:

  • menu_name (max 35 chars) - the internal identifier

  • menu_title - the visible heading

  • menu_active: 0=Inactive, 1=Active

See also: updateMenu (modify existing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
menu_nameYes
menu_titleYes
menu_locationNo
menu_div_idNo
menu_div_classNo
menu_div_cssNo
menu_div_codeNo
menu_effectsNo
menu_activeNo
Behavior5/5

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

The description reveals that the tool writes live data (consistent with annotations), lacks uniqueness enforcement on menu_name, and that duplicates cause rendering issues. It also warns against paginating unfiltered lists, adding behavioral context beyond what annotations provide.

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?

The description is well-structured with sections and front-loaded essential information. It is slightly verbose due to the pre-check details, but each sentence adds value. Could be tightened without losing clarity.

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?

The description covers purpose, usage, preconditions, parameter interactions, and sibling links. However, it lacks full parameter documentation and does not explicitly state the return value structure (though implied). For a 9-param tool with no output schema, it is fairly complete but not exhaustive.

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

Parameters3/5

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

The description explains menu_name, menu_title, and menu_active with semantics and constraints, but ignores 6 other parameters (menu_location, menu_div_id, etc.) despite 0% schema coverage. It partially compensates but leaves significant gaps.

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 'Create a menu - Create a new menu record' with a specific verb and resource. It distinguishes itself from siblings like createMenuItem and updateMenu by explicitly mentioning the workflow and alternatives.

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

Usage Guidelines5/5

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

The description includes a 'Use when' section, a required pre-check for duplicates with a specific server-side filter-find technique, and a 'See also' pointing to updateMenu. It also notes the consequence of duplicates, providing comprehensive when-to-use and when-not-to-use guidance.

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/brilliantdirectories/brilliant-directories-mcp'

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