Skip to main content
Glama

list_price_rules

List discount price rules with filters for status and pagination using since_id cursor. Retrieve active, archived, or scheduled rules to manage promotions efficiently.

Instructions

List price rules (discount rules) with optional filters. Returns paginated results via since_id cursor. Filter by status (active, archived, scheduled).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results per page (default 50, max 250).
statusNoFilter by price rule status.
since_idNoReturn price rules with ID greater than this value (cursor pagination).
Behavior3/5

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

With no annotations, the description carries the burden. It discloses pagination behavior via since_id and the status filter values, which is useful. However, it does not mention ordering, default limit (though schema does), response shape, or potential side effects (none expected). It is adequate but not rich.

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 clear, front-loaded sentences with no filler. The first sentence states the purpose, the second adds pagination and filter details. Every word contributes.

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 list operation with three optional parameters and no output schema, the description covers the essential semantics: what it lists, how to filter, and pagination. It stops short of explicitly stating that it is a read-only operation, which is implied by 'List,' but otherwise it is complete for an AI agent to use it effectively.

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 description coverage is 100%, so baseline is 3. The description adds minimal context by explaining that since_id is used for cursor pagination, which reinforces the schema's own parameter description. It does not add significant extra meaning beyond what is already in the input schema.

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

Purpose5/5

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

The description clearly identifies the verb ('List') and resource ('price rules'), and even clarifies that 'price rules' are 'discount rules.' It distinguishes from sibling tools like get_price_rule (single) and create/update_price_rule by focusing on listing with optional filters.

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

Usage Guidelines4/5

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

The description implies this is the tool for listing all price rules with optional filters, and the sibling list includes alternate tools for single-rule retrieval or mutation. It does not explicitly state when not to use it, but the context is clear enough.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nguyennguyenit/Sapo-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server