Skip to main content
Glama

get_promos

List active ATB promotional campaigns for a selected store or city to find current deals and plan purchases.

Instructions

List active ATB promotional campaigns for the selected store.

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": "get_promos"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNomd
city_idNo
shop_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It does disclose two useful traits — only 'active' campaigns are returned and results are scoped to the selected store — but says nothing about read-only safety, result size/pagination, how city_id/shop_id interact with the 'selected store', or failure modes when no store is set.

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?

A single front-loaded sentence with no filler; the filtering scope is stated first. It is economical, though the 'ATB' acronym is unexplained and the extreme brevity leaves substance on the table.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, but for a three-parameter tool with zero schema coverage and no annotations, one sentence is not enough — parameter meaning and the store-selection precondition are the key omissions an agent would need before calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for three parameters (format, city_id, shop_id), so the description must compensate and largely does not. 'Selected store' loosely gestures at shop_id, but city_id versus shop_id precedence and the format parameter's allowed values are never explained.

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 uses a specific verb plus resource ('List active ATB promotional campaigns') and adds a scope qualifier ('for the selected store'), so an agent can immediately tell this is a promotion-read tool, clearly distinct from order/cart/product siblings. It stops short of explicitly naming what it is not, so it lands at 4 rather than 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?

'For the selected store' faintly implies a store must already be selected, but there is no explicit when-to-use statement, no when-not-to-use, and no mention of what to do if no store is selected. No alternatives are referenced, leaving the agent to infer the precondition entirely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.