Skip to main content
Glama

List PrestaShop Specific Prices

ps_list_specific_prices
Read-onlyIdempotent

Retrieve promotional and quantity-based prices configured for products, with pagination and optional filtering by product ID.

Instructions

List specific prices (promotional prices, quantity-based prices) configured for products.

Args:

  • limit: Max items to return (default: 50)

  • offset: Pagination offset (default: 0)

  • id_product: Filter by product ID

Returns: Array of specific prices with id, product_id, price, reduction type/amount, and validity dates.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
offsetNoPagination offset
id_productNoFilter by product ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds value by disclosing the return shape (id, product_id, price, reduction type/amount, validity dates), which is useful since there is no output schema, but says nothing about permissions, pagination exhaustion, or total counts.

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?

Front-loaded one-line purpose followed by an Args block and a Returns line — easy to scan and nothing is buried. The Args entries duplicate the schema's own descriptions and defaults, which is mildly redundant but not wasteful enough to hurt.

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 three-parameter read-only list tool with no output schema, the definition supplies the essentials: what is listed, the three filters, and the shape of each returned record. Only minor gaps remain, such as ordering of results or behavior when offset exceeds the result set.

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 the baseline is 3. The Args block largely restates the schema (defaults 50 and 0, filter by product ID) and adds no syntax or behavioral detail beyond it, such as how id_product interacts with the limit/offset window.

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 ('List specific prices') and disambiguates the domain term by naming the concrete kinds of records returned ('promotional prices, quantity-based prices'). It does not explicitly contrast itself with ps_create_specific_price or ps_delete_specific_price, but the read-only listing intent is unmistakable from the verb.

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?

Usage is only implied: the presence of a limit/offset/id_product arg block signals 'use this to browse or filter specific prices,' but the description never states when to choose this tool over a sibling or any prerequisite (e.g. store context, permissions). No exclusions or alternatives are named.

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

Deploy Server

Other Tools