Skip to main content
Glama

List PrestaShop Combinations

ps_list_combinations
Read-onlyIdempotent

Lists product combinations (variants) with optional product ID filtering and pagination, returning IDs, references, price impacts, and stock details for variant management.

Instructions

List product combinations (variants) with optional filtering.

Args:

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

  • offset: Pagination offset (default: 0)

  • id_product: Filter by product ID

Returns: Array of combinations with id, product_id, reference, price impact, and stock info.

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

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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered by structured data. The description adds the default limit of 50 and the shape of returned fields, but says nothing about pagination behavior, total counts, or what happens when id_product matches nothing.

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?

The purpose sentence is front-loaded and the Args/Returns structure makes scanning easy with no filler prose. The Args block is partially redundant with a fully described schema, which keeps it just short of a 5.

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 read-only list tool with three optional parameters, the description covers what it returns (id, product_id, reference, price impact, stock info), which compensates for the absence of an output schema. Pagination semantics and result ordering remain unstated but are minor for this complexity level.

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 each parameter is already documented with defaults and bounds; the Args section largely restates this and even omits the schema's maximum of 500 on limit. The description adds no syntax, format, or edge-case meaning beyond what the schema provides, so baseline 3 applies.

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 opens with a specific verb and resource ('List product combinations (variants)') and clarifies the domain term 'combinations' as 'variants', which is genuinely useful disambiguation. It does not, however, contrast itself with the closely related ps_list_products or ps_list_product_options siblings, so an agent must infer the boundary.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as listing parent products instead. Only the phrase 'with optional filtering' hints at the intended scenario, and the id_product parameter implicitly suggests the common case, but the agent gets no explicit routing rule.

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