Skip to main content
Glama

Sales run

magpie_sales
Read-only

When each tracked store ran a sale, newest first: start, end (null while it runs), how large a share of products was discounted at the peak, and the banner then.

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_sales"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNoOnly sales from this day on, YYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description's job is added context — and it delivers: newest-first ordering, the null-while-ongoing convention for `end`, and the peak discount share semantics. It omits any hint of volume limits or how many stores are returned, which is the main remaining gap.

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 sentence, front-loaded with the scope and ordering, with every clause mapping to a returned field. The trailing phrase "and the banner then" is slightly awkward and takes a beat to parse, but nothing is padded.

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 the result shape, and it does list all four returned attributes including the null case. It falls short only on result volume and whether the list is bounded or paginated.

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?

The single `from` parameter is fully documented in the schema (100% coverage), so the baseline applies and the description adds nothing about its format or effect on results. The description's implicit time scoping does not compensate further.

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 the resource precisely (sale runs per tracked store) and enumerates the returned fields, so an agent can tell this is a sale-history listing rather than a price or promotion tool. It never states an explicit verb ("list"/"get") and offers no differentiation from siblings like magpie_promo_plan or magpie_changes, which keeps it short of 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 Guidelines2/5

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

There is no when-to-use guidance, no exclusion conditions, and no mention of the sibling tools that also touch promotions or pricing. The agent must infer from the field list alone whether this is the right call for a given question.

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