Skip to main content
Glama

listPriceRules

Retrieves paginated price rules so users can browse and manage Shopify discount pricing rules.

Instructions

List price rules

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

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses nothing: not the return format, pagination behavior, permission requirements, or read-only nature. With zero annotation coverage and a one-line restatement of the name, an agent gets no behavioral signal beyond the implied 'list' verb.

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

Conciseness2/5

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

It is short, but the brevity is under-specification rather than efficiency: a single four-word phrase that duplicates the tool name and front-loads nothing useful. There is no wasted sentence, but there is also no earned content.

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

Completeness1/5

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

With no annotations, no output schema, 0% parameter coverage, and no explanation of what a price rule is or how pagination works, the definition is wholly inadequate for a list tool with cursor-based pagination. Everything an agent needs to call it correctly is missing.

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

Parameters1/5

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

Schema description coverage is 0% for both parameters, and the description says nothing about 'limit' (default 10) or 'cursor' (pagination token). The description does not compensate for the undocumented schema at all, leaving pagination semantics entirely to guesswork.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List price rules" only restates the tool name in prose; it identifies a verb (list) and a resource (price rules) but adds no scope, no domain context (e.g., Shopify discount/price rules), and no differentiation from the many sibling list* tools. An agent knows roughly what it does but nothing about what a 'price rule' is here or how this list differs from listDiscounts.

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?

No when-to-use, when-not-to-use, or alternative guidance is present, despite numerous sibling list tools (listDiscounts, listOrders, etc.) that an agent must disambiguate from. Usage can only be inferred from the name.

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