Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

get_global_source_element

Read-only

Fetch complete details for one element in a global source, including styles, config, events, bindings, responsive settings, and children.

Instructions

Get full detail of a single element (style, config, specials, events, bindings, responsive, children).

Input Schema

NameRequiredDescriptionDefault
componentNoComponent hint for faster lookup
element_idYesElement ID (e.g. 'TEXT-3', 'BUTTON-1')
global_source_idYesGlobal source ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.31.8

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read. The description adds the useful detail of which facets are returned, but says nothing about permissions, lookup cost, or what happens when an element ID is not found.

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 zero filler; the parenthetical enumeration is dense and directly useful.

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 enumeration of returned fields carries meaningful weight, and annotations cover the safety profile. It is complete enough for a low-complexity read tool, though error/empty-result behavior is unstated.

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% with only 3 parameters, so the schema already documents global_source_id, element_id, and the optional component hint. The description adds no additional meaning beyond the schema; 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) and resource (full detail of a single element in a global source), and enumerates the returned facets (style, config, specials, events, bindings, responsive, children), which clearly separates it from the plural 'search_global_source_elements'. It does not name a sibling explicitly, so it stops short of 5.

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?

There is no explicit when-to-use or when-not guidance. The word 'single' implicitly contrasts with the search_global_source_elements sibling and get_global_source_detail, but the agent must infer that routing decision from the name alone.

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