Skip to main content
Glama

game_ui_menu

Manage PopupMenu and MenuBar items through add, remove, get, set checked, and clear actions.

Instructions

PopupMenu/MenuBar: add/remove/get menu items

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoItem ID
textNoItem text (for add)
indexNoItem index
actionYesAction: get_items, add, remove, set_checked, clear
checkedNoChecked state
nodePathYesPath to PopupMenu/MenuBar
Behavior2/5

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

Without annotations, the description must disclose behaviors but only lists three actions. It omits other valid actions like set_checked and clear from the schema, and does not describe side effects or requirements (e.g., node must exist).

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?

Very concise single sentence that front-loads the target UI components and primary operations. Minor improvement possible by listing all actions explicitly.

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?

With 6 parameters, multiple actions, and no output schema, the description is too minimal. It does not explain return values for 'get_items' or behavior for different actions, leaving important gaps for an agent.

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?

Schema coverage is 100%, so parameters are documented. However, the description adds no extra meaning beyond what the schema already provides, such as clarifying the role of each parameter in context.

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 tool is for PopupMenu/MenuBar and covers add, remove, and get menu items. It distinguishes from sibling UI tools by specifying the target component type.

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?

No guidance on when to use this tool versus alternatives like game_ui_popup or game_ui_tabs. The description does not mention prerequisites or context for use.

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/tugcantopaloglu/godot-mcp'

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