Skip to main content
Glama

Check a deal

check_deal

Starts a deal check on a product link from any store, or a product's name, and optionally the price the shopper was offered. It finds this exact item (same model, size and generation) at every big US store right now, compares their prices and checks the store's "was" price. Returns a check_id and the check's deal.ai page at once; the check takes 20 to 70 seconds, so call get_deal_check for the result.

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": {
      "product": "<product>"
    },
    "name": "check_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNoThe price the shopper was offered, in US dollars, to compare against other stores.
productYesA link to the product at any store (Amazon, Walmart, Target, Best Buy and others), or the product's name.

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?

Beyond the annotations, it discloses the async behavior (20-70 second runtime), that a check_id and page URL are returned immediately, and that a second call retrieves the result - exactly the context annotations cannot convey. It does not mention cost, rate limits, or whether calling repeatedly spawns duplicate checks, which matters given non-idempotentHint=false (i.e. not idempotent).

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 first sentence front-loads what the tool does and its inputs, followed by what it compares and what it returns. Four sentences all carry information, though the phrase "the check's deal.ai page" is slightly ambiguous about what that page is.

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?

For a two-parameter, no-output-schema tool, the definition covers purpose, inputs, matching semantics, return values, latency, and the required follow-up call. An agent has everything needed to invoke it correctly and interpret the immediate response.

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%, so both parameters are already documented in the input schema, including USD units and the store examples for the product field. The description mostly restates those semantics, adding only the matching logic ("same model, size and generation") rather than new syntax or format guidance.

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?

The description gives a specific verb and resource ("Starts a deal check") and defines the inputs precisely: a product link from any store or a product name, plus an optional offered price. It further narrows scope with "this exact item (same model, size and generation) at every big US store", which tells an agent exactly what the check does that a generic search would not.

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 clearly states the follow-up path: since the check takes 20 to 70 seconds, call get_deal_check for the result. That is actionable routing guidance. It does not, however, say when to prefer this over siblings like compare_products or get_product_prices, so the exclusions are only implicit.

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.