Skip to main content
Glama

What is discounted right now

get_deals
Read-onlyIdempotent

For a "find something on offer" task. GET /api/agent/browse/deals?tab=, where tab is markdowns, refurbished, top-rated, brands, or door: for one department. No wallet and no signature. Every item carries cachedAt, which is when that price was true: A selection over rows this site has already cached, so it costs no catalogue call. An unknown tab is refused with 400 rather than guessed at. A sticker discount is not a cheaper order.

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": {
      "tab": "<tab>"
    },
    "name": "get_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabYesmarkdowns, refurbished, top-rated, brands, or door:<slug> with a slug from list_categories.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses that no wallet or signature is needed, that results come from already-cached rows (so there is no catalogue call cost) and that each item carries cachedAt showing when the price was true. It also documents the failure mode: an unknown tab returns 400 rather than being silently guessed, and it warns that a sticker discount does not mean a cheaper order.

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?

The task framing and endpoint are front-loaded, and the caching, auth, and error notes each carry distinct information. The prose is telegraphic and the closing line about sticker discounts is oblique enough to cost a re-read, but there is no filler.

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 does the necessary work of saying items carry cachedAt and are drawn from cached rows. It leaves the rest of the item shape unexplained, but for a single-parameter browse tool that omission is minor.

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?

Schema coverage is already 100%, so the enum values themselves are duplicative. The description still adds meaning by explaining that door:<slug> scopes to one department and that an unrecognized tab is rejected with a 400, which tells the agent the parameter is validated strictly rather than best-effort.

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 names the concrete resource and endpoint (GET /api/agent/browse/deals) and frames the job as a 'find something on offer' task, which separates it from price-lookup or product-search siblings. It stops short of naming an alternative tool explicitly, so differentiation is by task framing rather than direct contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the triggering situation ('find something on offer') and spells out the accepted tab values including the door:<slug> form for a single department, so the agent knows when and how to reach for it. It gives no explicit when-not or named alternative, but the tab contract and prerequisites are clear.

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