Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

get_active_promotions

Read-only

Retrieve all currently active promotions from WebCake/StoreCake storefronts, filtering by activation status and valid start/end times.

Instructions

Get all currently active promotions (is_activated=true and within start_time/end_time range)

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.31.8

TDQS

A3.7/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, so the description's main added value is operationalizing 'active' as is_activated=true plus a start/end time window, which prevents a misread of the filter. It says nothing about return volume, ordering, or pagination for what could be a large set.

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 sentence with the resource and the defining filter front-loaded; there is no filler and nothing that could be cut without losing meaning.

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 parameterless read with no output schema and a one-line annotation, the description supplies the one thing that matters: what 'active' means. Missing only secondary details such as result ordering or whether results are capped.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics to convey; the schema is empty and nothing in the description contradicts it. Baseline 4 applies for a no-parameter tool.

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 ('promotions') and pins down the scope with the parenthetical definition of 'active' (is_activated=true and within start_time/end_time). This implicitly separates it from sibling readers like list_promotions, search_promotions, and get_promotion, though none of those siblings are named.

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 'currently active' predicate implies when to reach for this tool versus an unfiltered listing, but there is no explicit when-to-use or when-not-to-use guidance and no named alternative. Usage must be inferred from the scope qualifier.

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