Skip to main content
Glama
UVU-Store

shopify-graphql-mcp

by UVU-Store

update_menu_item_children

Replace the children of a specific menu item to update a submenu without reconstructing the entire menu structure.

Instructions

Update only the children of a specific menu item. This is useful for updating a submenu without needing to reconstruct the entire menu structure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
menuIdYesMenu ID (e.g., 'gid://shopify/Menu/123456789')
childrenYesNew children to replace existing children of the specified menu item
menuItemIdYesMenu item ID whose children will be updated (e.g., 'gid://shopify/MenuItem/987654321')
Behavior4/5

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

No annotations are provided, so the description must carry the burden. It discloses that the tool modifies only the children of a given menu item, leaving the rest of the menu unchanged, and notes the benefit of avoiding full reconstruction. It does not explicitly state that existing children are replaced, but the schema's children parameter description already covers that.

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?

Two brief, informative sentences with no unnecessary wording. The first states exactly what the tool does; the second provides a practical use case.

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?

For a focused update tool with three well-documented parameters and no output schema, the description gives sufficient context about its purpose and when to use it. It lacks some detail about the replacement behavior, but that is already in the schema, so the overall tool definition is complete.

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%, with each parameter having a clear description. The tool description adds no additional parameter-specific details beyond what the schema already provides, so baseline 3 is appropriate.

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 states a specific verb ('Update'), exact scope ('only the children of a specific menu item'), and clearly distinguishes this from the sibling update_menu tool by emphasizing partial update.

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?

It explicitly states the use case ('useful for updating a submenu without needing to reconstruct the entire menu structure'), which implies when to prefer this over update_menu. It doesn't list exclusions, but the context is clear.

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/UVU-Store/shopify-graphql-mcp'

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