Skip to main content
Glama

Current deals at a Costco warehouse

warehouse_deals
Read-onlyIdempotent

List the current in-warehouse deals (instant savings) at one Costco warehouse, from the site's copy of that warehouse's deals: item number, name, discount, regular price, price after the discount, dates, stock and department. Use it to answer "what is on sale at my Costco?". It does not fetch from Costco; status says how fresh the copy is (not_cached means the site has none: checking a receipt for that warehouse fetches them).

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": {
      "warehouse": "<warehouse>"
    },
    "name": "warehouse_deals"
  }
}

Input Schema

NameRequiredDescriptionDefault
warehouseYesThe warehouse number, e.g. 111.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), but the description adds substantive behavior they cannot: the data is a cached copy rather than a live Costco fetch, and a status field reports freshness with not_cached meaning the site holds none. It does not discuss pagination, volume, or auth, so it is strong but not exhaustive.

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?

Front-loads the core action and scope, then follows with the returned fields, the intended question, and the freshness caveat. The field enumeration is dense but earns its place since there is no output schema; a slightly tighter phrasing of the not_cached clause would make it cleaner.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by naming the returned fields and the status/freshness signal, plus the empty-state interpretation. For a single-parameter read tool this covers everything an agent needs to call it and interpret the result.

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 coverage is 100% and the single 'warehouse' parameter is documented with its number format, so the schema carries the burden. The description only reinforces that the scope is one warehouse; it adds no syntax or format detail beyond the schema.

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?

States a specific verb and resource ('List the current in-warehouse deals (instant savings) at one Costco warehouse') and enumerates the returned fields, so the agent knows exactly what comes back. It also distinguishes itself from a live fetch by noting the data is the site's copy of that warehouse's deals.

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?

Gives an explicit use case ('what is on sale at my Costco?') and a remediation path when the result is empty: not_cached means checking a receipt for that warehouse fetches them, which points at check_receipt behavior. It stops short of a full when-to-use/when-not comparison against the sibling tools, so it is clear context rather than explicit routing.

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