Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

get_promotion_items

Read-only

Retrieve products, variations, and categories attached to a promotion, including discount details such as fixed prices, level info, and coupon item info.

Instructions

Get products/variations/categories attached to a promotion. Returns items with discount details (fixed_prices, level_info, coupon_item_info)

Input Schema

NameRequiredDescriptionDefault
idYesPromotion ID
pageNoPage number
limitNoItems per page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.31.8

TDQS

A3.8/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation. The description adds useful context about the returned item structure, mentioning fixed_prices, level_info, and coupon_item_info, but does not describe pagination behavior or whether there are any rate or auth constraints.

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 sentences with no wasted words. The core action and scope are front-loaded, and the parenthetical return detail is compact and 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?

For a read-only tool with a simple schema and no output schema, the description is almost complete: it explains what is retrieved and names key return fields. Minor missing detail about pagination or response shape keeps it from being fully comprehensive.

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%, so the schema already documents id, page, and limit. The description adds no additional syntax, format, or constraints beyond indicating that id refers to a promotion. Baseline 3 is appropriate when the schema does the heavy lifting.

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 and resource: getting products, variations, or categories attached to a promotion. It also names the kind of data returned (discount details), which clearly distinguishes it from sibling promotion tools like get_promotion or list_promotions.

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?

Usage is implied by the description—use this when you need items attached to a promotion—but there is no explicit guidance about when to choose this tool over get_promotion, get_active_promotions, or search_promotions. No exclusions or prerequisites are mentioned.

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