Skip to main content
Glama

List discounts

data_list_discounts
Read-onlyIdempotent

Return all available discounts or promotions, including their names, types (percentage or fixed), values, and conditions.

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

Input Schema

NameRequiredDescriptionDefault
formatNoResponse format: 'json' (default), 'csv', or 'html'json

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description adds value by disclosing the returned fields (names, types, values, conditions), but says nothing about pagination, result limits, or empty-result behavior. Given the annotation coverage, a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded sentence with no filler; every clause ('names, types, values, conditions') maps to information the agent actually needs.

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?

For a no-required-parameter read-only list tool, the description is sufficient: it names the resource and sketches the return payload, compensating for the absent output schema. It falls short only on result-set size/pagination behavior, a minor gap at this complexity.

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?

There is a single optional 'format' parameter with 100% schema description coverage and an enum of json/csv/html, so the schema carries the full burden. The description never mentions response format or that it is selectable, but baseline 3 applies when schema coverage is complete.

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 gives a specific verb and resource ('Return all available discounts or promotions') and enumerates the returned attributes, so the agent knows exactly what is produced. It does not differentiate itself from adjacent catalog tools such as coupon_check, coupon_issue, or personal_voucher_list, which is the only thing keeping it from 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, when-not-to-use, or alternative routing guidance. The word 'available' vaguely hints at filtering to active promotions, but nothing tells the agent whether this tool supersedes or complements coupon_check / coupon_issue in the sibling list.

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