Skip to main content
Glama
shopify-mcp-complete

shopify-mcp-complete

by hishamalhadi

get-discounts

List Shopify discount codes and filter them by search query or status to retrieve codes, values, and usage counts.

Instructions

List discount codes with optional search and status filter. Returns discount details including codes, values, and usage counts.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoSearch query
cursorNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It implies a read-only listing and names the return fields, but says nothing about pagination behavior (the tool accepts a cursor and a limit up to 250), result ordering, empty-result behavior, or any permission requirements — significant gaps for a list tool with zero annotation coverage.

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?

Two tight sentences, zero filler, with the listing purpose front-loaded and the return contents following. Every sentence carries information since no output schema exists to describe the response.

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 simple four-parameter list tool with no annotations and no output schema, the description covers purpose, filtering, and return fields adequately. The remaining gap is pagination semantics around cursor/limit, which matters for a tool with a cursor parameter.

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?

Schema coverage is only 25% (only "query" is documented), so the description must compensate. It does explain that search and status filtering are optional and hints at their behavior, but leaves "cursor" and "limit" completely unexplained in both schema and description, so half the parameters remain opaque.

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?

States a specific verb and resource ("List discount codes") with the scoping qualifiers "optional search and status filter," and the second sentence names the returned fields. An agent can tell this is the read/list counterpart to create-discount and delete-discount without opening the schema, 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 phrase "optional search and status filter" implies browsing vs. filtered lookup, but there is no explicit when-to-use guidance, no mention of paging through results with the cursor, and no exclusion or alternative named. Usage is inferable rather than stated.

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