Skip to main content
Glama

PostThisDeal Deal Evidence

Check eligibility

check_eligibility
Read-onlyIdempotent

Evaluate whether a shopper can get an offer’s price, given what you know about them: memberships, location, app or store purchase, first order, coupon clipping, Subscribe & Save and order total. Anything not supplied stays unknown and makes the verdict "uncertain" rather than "eligible".

Input Schema

NameRequiredDescriptionDefault
countryNoISO 3166-1 alpha-2 country of delivery.
in_storeNoWhether the shopper will buy in a store.
offer_idYesOffer id from search_deals.
uses_appNoWhether the shopper will buy in the retailer’s app.
will_clipNoWhether the shopper will clip an on-page coupon.
first_orderNoWhether this would be the shopper’s first order at the retailer.
membershipsNoProgrammes the shopper holds: amazon_prime, walmart_plus, target_circle_360, target_circle_card, costco_member, sams_club, kohls_rewards, student, store_card. Omit if unknown.
order_totalNoExpected order total, for minimum-spend conditions.
will_subscribeNoWhether the shopper accepts Subscribe & Save.

Output Schema

NameRequiredDescriptionDefault
stepsNo
checksNo
summaryNo
verdictNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add semantics — and it does, by disclosing the three-valued outcome and the rule that missing inputs produce 'uncertain'. That is exactly the non-obvious behavior an agent needs. It does not describe cost, latency, or what the verdict payload contains, but an output schema exists to cover the latter.

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?

Two sentences, front-loaded with the purpose and then the uncertainty rule. Every clause carries information — the factor list doubles as a checklist of what to supply — with no restatement of the title or 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 an output schema, full parameter coverage, and rich annotations, the description covers the remaining gaps: purpose and the semantics of partial input. What is missing is only the workflow position — whether to call this before presenting an offer and what to do when the result is 'uncertain'. That is a modest omission for a 9-parameter evaluation tool.

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 100%, so the baseline is 3; the description goes beyond it by generalizing the 'unknown if omitted' rule to all nine inputs, whereas the schema only states 'Omit if unknown' for memberships. It also frames order_total as a minimum-spend input, adding intent beyond the field label. It adds no format or unit detail for country beyond what the schema already gives.

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 a specific verb and outcome ('Evaluate whether a shopper can get an offer's price') and enumerates the exact eligibility dimensions considered (memberships, location, channel, first order, coupon clipping, Subscribe & Save, order total). This is far more specific than the bare title 'Check eligibility' and is distinguishable from read-oriented siblings like get_offer or get_price_context. It stops short of explicitly naming which sibling to use instead, which keeps it from a 5.

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 gives clear invocation context: pass whatever you know about the shopper, and any omitted fact degrades the verdict to 'uncertain' rather than a false 'eligible'. That is actionable guidance about how to call the tool well. It does not discuss when to prefer verify_offer or get_price_context, so alternatives are left 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.

Resources