Skip to main content
Glama

Check whether a UK shop has a sale on

check_shop_sales
Read-onlyIdempotent

Checks whether a UK shop has a sale on today and when it ends. Returns each sale the shop is running now with its start and end dates and a link, its sales from the latest December and January, and the dates of its sales in each earlier season. From January Sales' listings of UK shops' sales all year round (Black Friday, Boxing Day, January and the seasons between).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "shop": "<shop>"
    },
    "name": "check_shop_sales"
  }
}

Input Schema

NameRequiredDescriptionDefault
shopYesThe shop's name, e.g. 'Next', 'John Lewis', 'Currys'

Output Schema

NameRequiredDescriptionDefault
shopYes
winterYesSales from the latest December to January season
runningYesSales running now
seasonsYesThe shop's sales by season, newest first: each season's first start and last end
siteUrlYesThe shop's January Sales page
disclosureYes
suggestionsNoShop names to try when nothing matched

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / seasons
      Added value: +{
      +  "description": "The shop's sales by season, newest first: each season's first start and last end",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ends": {
      +        "description": "The day its last sale of the season ends or ended, UK time",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "running": {
      +        "type": "boolean"
      +      },
      +      "season": {
      +        "description": "The season and year, e.g. 'Black Friday 2026', 'January 2026'",
      +        "type": "string"
      +      },
      +      "started": {
      +        "description": "The day the shop's first sale of the season started, UK time (yyyy-mm-dd)",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "season",
      +      "started",
      +      "ends",
      +      "running"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "shop",
      -  "siteUrl",
      -  "running",
      -  "winter",
      -  "disclosure"
      -]New value: +[
      +  "shop",
      +  "siteUrl",
      +  "running",
      +  "winter",
      +  "seasons",
      +  "disclosure"
      +]
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds value by disclosing the shape of the result set (current sales with start/end dates and a link, last December/January sales, earlier season dates) and the data source, but says nothing about freshness, missing-shop behavior or rate limits.

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

Conciseness4/5

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

Lead sentence is front-loaded with the core question and the ending date, then a compact enumeration of returned data, then a single source sentence. Slightly dense and the 'January Sales' branding sentence contributes less, but nothing is redundant.

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 annotations covering safety and an output schema covering return structure, the description is complete enough to decide and invoke the tool. Minor gaps remain: whether 'today' means UK local time, and how the tool responds when the shop has no sale or is unknown.

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?

There is a single required parameter with 100% schema coverage, including examples ('Next', 'John Lewis', 'Currys'), so the schema fully documents it. The description adds no extra meaning about the shop name beyond 'UK shop', which is the baseline for high schema coverage.

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 gives a specific verb and resource with scope: 'Checks whether a UK shop has a sale on today and when it ends', and it enumerates what is returned (current sales, latest December and January, earlier seasons). The distinction from list_category_sales is only implicit in the word 'shop' versus 'category' — the sibling is never 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?

Use is implied by the phrasing 'whether a UK shop has a sale on today', but there is no explicit when-to-use or when-not-to-use guidance, and no mention of the alternative list_category_sales or what the agent should do for non-UK shops or non-shop queries.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources