Skip to main content
Glama

Cashback rates by store name

get_cashback_rates_by_store_name
Read-onlyIdempotent

Finds a store by name and returns its current cashback rates from every cashback portal that lists it — online and in-store, percentage or fixed amount, with 'up to' flags — so the user can compare every portal and see the best. This is the preferred first call for any cashback question that names a store: 'best cashback for Walmart', 'highest Nike cashback', 'cashback at Expedia', 'Walmart cashback today', 'compare Walmart cashback portals', 'Best Buy in-store cashback', 'Dell cashback in Germany'. No prior lookup is needed — do not call get_stores_by_name, get_stores_by_country or get_countries first. Returns every matching store (best match first, one entry per country), each with its 'cashback_rates'; an empty list means no match — retry with a shorter name or without country_code. Use get_cashback_rates_by_store_id only when a store_id is already known, get_gift_cards_by_store_name for gift card discounts, and get_best_deals_by_brand when the user asks where to buy a brand's products rather than about a specific store. Rates reflect GotCashback's current data, refreshed several times a day. Present every returned portal's rate to the user (a table with a link column, not only the best one) and always show each rate's 'url' as a clickable link — cashback is only credited when the user clicks through it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
store_nameYesThe retailer or brand name as a shopper would say it, e.g. 'Walmart', 'Nike', 'Best Buy', 'Expedia', 'Home Depot'. Matched as a case-insensitive substring of the store name and its known alternate names, best match first. Pass the plain name only — no words like 'cashback', 'gift card' or a country.
country_codeNoOptional. Lowercase ISO 3166-1 alpha-2 country code that limits results to one country, e.g. 'us' (United States), 'ca' (Canada), 'gb' (United Kingdom — use 'gb', not 'uk'), 'de' (Germany), 'au' (Australia), 'fr' (France). Pass it when the user names a country ('in Canada', 'UK cashback'); omit it to search all supported countries.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
storesNoMatching stores (one entry per country). Empty when nothing matched.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already carry readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the bar is lower, and the description adds substantive behavior beyond them: data freshness ('refreshed several times a day'), matching semantics ('best match first, one entry per country'), no-match edge behavior ('an empty list means no match'), and the critical click-through rule ('cashback is only credited when the user clicks through it'). No contradiction with annotations — the description is fully consistent with a read-only, idempotent lookup.

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-loaded with the core purpose, then ordered logically: trigger examples, routing rules, return semantics, and presentation requirements. It is a long description, and the six example queries are somewhat redundant (all illustrate the same trigger pattern), while the final presentation paragraph edges into UX policy rather than invocation guidance. Still, every sentence carries decision-relevant information, so it earns a 4 rather than a 3.

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 substring-matching, multi-portal aggregation tool with an output schema present, nothing an agent needs is missing: when to call it, sibling routing, matching and edge-case behavior, data freshness, and how results must be presented (show every portal's rate in a table with a clickable url, not just the best). The output schema relieves the description of explaining return-value fields, and the 100% param coverage relieves it of param semantics.

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% and the schema already documents store_name (case-insensitive substring, plain name only) and country_code (lowercase ISO alpha-2, 'gb' not 'uk', default null). The description adds value above that: operational retry guidance tied to each parameter ('retry with a shorter name or without country_code') and result-level semantics for country_code ('one entry per country'), plus query examples that map to parameter usage ('Dell cashback in Germany').

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?

Opens with a specific verb+resource+scope: 'Finds a store by name and returns its current cashback rates from every cashback portal that lists it,' including coverage details (online/in-store, percentage/fixed, 'up to' flags). It immediately differentiates from siblings by declaring itself 'the preferred first call for any cashback question that names a store' and explicitly naming calls NOT to make first (get_stores_by_name, get_stores_by_country, get_countries).

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

Usage Guidelines5/5

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

Provides explicit when-to-use with six concrete example queries ('best cashback for Walmart', 'Dell cashback in Germany'), explicit when-not-to ('do not call get_stores_by_name...'), and explicit alternative selection conditions: get_cashback_rates_by_store_id only when store_id is known, get_gift_cards_by_store_name for gift card discounts, get_best_deals_by_brand for brand-level purchase questions. Failure recovery is also specified: empty list means no match — retry with a shorter name or without country_code.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool targets a clearly distinct lookup or action: store names versus store ids, cashback versus gift cards, brand versus category versus store, and portals versus stores versus user account data. The descriptions also include explicit cross-references telling an agent which tool to prefer, so misselection is unlikely.

Naming Consistency5/5

Tool names follow a consistent get_/set_/remove_/toggle_ verb pattern with resource and qualifier suffixes like by_store_name, by_store_id, and by_country. Singular and plural resource names are used naturally and do not break the overall predictable convention.

Tool Count4/5

18 tools is slightly above the typical well-scoped range, mainly because of parallel by_name and by_id variants for stores, gift cards, and portals. However, each variant serves a distinct workflow and the overall count is coherent for a cashback-comparison and account-management server.

Completeness5/5

The surface covers the full range of the domain: cashback rate lookups, gift card comparisons, brand/category deals, store and portal browsing, payout term checks, and user favorites/alerts with create, update, and delete operations. There are no obvious dead ends, and the cross-references between tools make workflows like finding a store_id and then setting an alert seamless.

Resources