Skip to main content
Glama

Brand offers, policies & sale history

magpie_brand_offers
Read-only

Read a brand's active banner, discount codes, free-shipping threshold, standing policies (returns, loyalty, bundles, BNPL), and recent sale periods from the Brand Graph. Costs 1 credit.

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": {
      "domain": "<domain>"
    },
    "name": "magpie_brand_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days for sale periods (7 to 365, default 90).
domainYesPublic storefront domain, such as allbirds.com.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety behavior is covered structurally. The description adds genuinely new behavior beyond that, namely the 1-credit cost and the Brand Graph source, but says nothing about coverage limits, missing-data behavior, or response shape. Useful additions at a moderate level, not rich disclosure.

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?

One tightly packed sentence that front-loads the verb and the highest-value content (banner, discounts, shipping threshold), with the cost caveat appended at the end. Nothing is padded, though the dense field list reads slightly as a run-on.

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 carries the burden of describing return values, and the field enumeration does that adequately for a two-parameter read tool. The remaining gap is edge-case behavior (unknown domain, empty policy set) against a fully documented schema and read-only annotations.

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 description coverage is 100%, so both 'domain' and 'days' are already documented with types, bounds, and defaults. The description contributes no additional semantics about the lookback window or domain format beyond what the schema states. Baseline 3 applies.

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 ('Read') and a concretely enumerated resource set: active banner, discount codes, free-shipping threshold, policies, and recent sale periods, plus its source ('Brand Graph'). It is clear what the tool returns, though it never contrasts itself with neighbors like magpie_brand_profile or magpie_promo_plan, so an agent must infer the boundary.

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

Usage Guidelines3/5

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

Usage is only implied by the enumerated payload; there is no explicit 'use this when...' or 'prefer X instead' statement. The disclosure that it 'Costs 1 credit' gives useful context for cost-sensitive selection, but not the when-not guidance that would earn a 4 or 5.

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