Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

get_global_section_element

Read-only

Retrieve full details for one element in a global section, including style, config, events, bindings, responsive breakpoints, and child IDs. Use global section and element IDs.

Instructions

Get full detail (style, config, specials, events, bindings, responsive bp1..bp4, children IDs) of a single element inside a global section.

Input Schema

NameRequiredDescriptionDefault
element_idYesElement ID (e.g. 'MENU-1', 'TEXT-3')
global_section_idYesGlobal section ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.31.8

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so safety is covered; the description adds genuine value by disclosing the returned payload categories (style, config, specials, events, bindings, responsive bp1..bp4, children IDs). It does not cover pagination or auth, but for a read-only fetcher this is solid disclosure.

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?

A single front-loaded sentence with no filler; the enumerated detail is the information an agent needs and every element earns its place.

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?

With no output schema, the description's field enumeration is important and largely compensates by telling the agent what is returned. It is nearly complete for a two-param read tool, missing only pagination/error behavior.

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 description coverage is 100% and the schema already documents both IDs, including the element_id format example ('MENU-1'). The description adds no meaning beyond that, so the baseline 3 applies.

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?

States a specific verb ('Get full detail') and resource ('a single element inside a global section'), and the parenthetical enumerates the exact fields returned. It implicitly distinguishes from get_global_section (whole section) and search_global_section_elements (search), but does not name those siblings explicitly.

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

Usage Guidelines3/5

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

The phrase 'of a single element inside a global section' implies when this is used (retrieving one element by ID), but there is no explicit when-to-use/when-not guidance or named alternative such as search_global_section_elements for discovery.

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