Skip to main content
Glama
Shopify Admin MCP Server

Shopify Admin MCP Server

get_automatic_discounts

List automatic discounts applied without a code and filter them by search query or pagination.

Instructions

List only automatic discounts (applied automatically without a code).

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

Input Schema

NameRequiredDescriptionDefault
afterNo
firstNo
queryNoSearch query to filter automatic discounts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden; it does clarify the scope exclusion (no code-based discounts), which is real behavioral context. It says nothing about pagination (the first/after params), auth requirements, or what fields come back, which are notable gaps for a list 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?

A single compact sentence with the key scoping fact front-loaded and no filler. It is efficiently written, though one sentence is arguably too thin for a tool with three params.

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?

For a three-param list tool with no annotations, no output schema, and partial schema coverage, the definition omits pagination behavior, result shape, and any hint about the undocumented params. It identifies the tool but not how to drive it correctly.

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 coverage is only 33%: 'query' is documented, but 'after' and 'first' (with its default 50 and max 250) are undocumented anywhere. The description adds no parameter meaning at all, so it fails to compensate for the low coverage.

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?

Uses a specific verb (List) plus a clearly scoped resource (automatic discounts) and even defines the distinguishing trait: applied automatically without a code. That implicitly separates it from code-based discount siblings, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The word 'only' implies this is the filtered variant for code-less discounts, so an agent can infer when to pick it. But there is no explicit guidance pointing to get_code_discounts or get_discounts for the alternative cases, leaving routing to inference.

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