Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

search_promotions

Find promotions using filters for type, status, keyword, and date range to locate relevant offers for your storefront.

Instructions

Search/filter promotions with advanced filters: by type, status (coming_soon/in_progress/finished), keyword, date range

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number
termNoSearch by promotion name
typeNoFilter by type: normal, same_price, coupon, coupon_id_multiple_times, discount_by_coupon_id, promotion_order, promotion_category, x_get_y_prod, x_get_y_category
limitNoItems per page
statusNoFilter by time status: 1=coming_soon, 2=in_progress, 3=finished
is_activatedNoFilter by active status
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions filters but omits important behavioral details such as whether it is read-only, what the return format is, and whether pagination is supported. Additionally, the description references a 'date range' filter that is not present in the input schema, which could mislead users.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence, but it includes an inaccurate reference to a date range filter. While concise, the misleading content reduces its effectiveness, earning it a middle score.

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?

The tool has 6 parameters and no output schema, so the description should clarify what the tool returns and any pagination behavior. It does not. It also fails to mention the is_activated filter and includes a non-existent date range filter, making the context incomplete and somewhat confusing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers 100% of parameters with descriptions, so the baseline is 3, but the description adds little value beyond repeating schema info. It introduces a 'date range' filter that does not exist in the schema, which is misleading. It also omits the is_activated, page, and limit parameters from its summary.

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?

The description clearly states the tool's purpose: 'Search/filter promotions with advanced filters'. It specifies the resource (promotions) and the action (search/filter). However, it does not explicitly differentiate from sibling tools like list_promotions, but the mention of 'advanced filters' implies a more specific capability.

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 description implies when to use the tool (when filtering promotions by various criteria) but does not provide explicit guidance on when to use it instead of alternatives like list_promotions or get_active_promotions. No exclusions or alternatives are mentioned.

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/vuluu2k/webcake-storefront-mcp'

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