Skip to main content
Glama

Answer a competitor's sale

magpie_sale_response
Read-only

Everything needed to answer a competitor's sale, in one call: the sale's start, how much of the range is discounted and how deeply, the banner, codes, deepest discounts, the emails and ads that came with it, how long that store's sales usually last, and this account's own store beside it. Use it when asked how to respond to, match or counter a competitor's sale or discount.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "magpie_sale_response"
  }
}

Input Schema

NameRequiredDescriptionDefault
storeNoThe competitor: its name, web address or id. Left out, Magpie picks the one the request most likely means.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this a safe, non-destructive, closed-world read, so the description is free to spend its words on behavior: it discloses that the work is aggregated into a single call and enumerates the components returned, including the comparative own-store context. It does not cover output volume, freshness of the underlying sale data, or what happens when no sale is detected, which keeps it out of top marks.

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 payoff ("Everything needed... in one call") followed by a dense enumeration, then a clean usage sentence. The middle list is long, but each item is a real returned component rather than filler; tightening the phrasing would help but no sentence is redundant.

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 explaining returns, and it does so by naming each component the agent will receive, plus the comparative own-store framing that a caller needs to interpret results. Missing is any indication of result shape or the no-sale case, but for a one-parameter read tool this is close to complete.

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% and the single optional `store` parameter is fully documented in-schema, including the auto-selection fallback, so the baseline of 3 applies. The description itself never mentions the store parameter or its default behavior, adding no meaning 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?

The description names a specific resource (a competitor's sale) and states precisely what the tool assembles: start date, discount breadth and depth, banner, codes, deepest discounts, accompanying emails and ads, typical sale duration, and the account's own store alongside. That enumeration lets an agent distinguish this composite "answer a sale" tool from single-feed siblings such as magpie_sales or magpie_emails without opening a schema.

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?

"Use it when asked how to respond to, match or counter a competitor's sale or discount" gives a clear triggering context with three recognizable phrasings. It stops short of explicit exclusions or naming alternatives, so an agent must infer whether magpie_counter_email or magpie_promo_plan is the better fit for the drafting half of the task.

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