Skip to main content
Glama

When to run my next promotion

magpie_promo_plan
Read-only

When each tracked store ran a sale over the last year, with length, depth and the weekday it started, how long each store has been on record, and the retail dates in the next ten weeks. Use it when asked when to run a promotion, how to plan around competitors' sales, or how often competitors 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_promo_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Beyond the read-only, non-destructive annotations, the description discloses the temporal scope of the data (last year, next ten weeks) and the sale attributes returned (length, depth, weekday started). It does not explain data freshness, aggregation rules, or return format, but it adds meaningful behavioral context for a read-only analytics tool.

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?

The description is compact and front-loads the data returned before giving use cases. The first sentence is a dense list but every element contributes relevant scope information, and there is no 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 no output schema, the description carries the burden of explaining what comes back, and it lists the key return components and their time windows. It leaves some ambiguity around terms like 'depth' and 'tracked store,' but overall it is complete enough for an agent to select and call the 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?

The tool takes no parameters, so there is no parameter semantics to document. The description appropriately focuses on output content and use cases instead.

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 clearly identifies the data the tool provides: historical sale timing and characteristics for tracked stores, store tenure, and upcoming retail dates. It does not explicitly distinguish itself from siblings such as magpie_sales or magpie_sale_response, so the purpose is clear but not fully differentiated.

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?

The second sentence gives concrete when-to-use guidance: asking when to run a promotion, planning around competitors' sales, or assessing competitor discount frequency. It does not state when not to use the tool or name alternative sibling tools, but the intended context is clear.

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