Skip to main content
Glama

List PrestaShop Suppliers

ps_list_suppliers
Read-onlyIdempotent

List PrestaShop suppliers with optional active-status filtering and pagination to retrieve supplier IDs, names, statuses, and descriptions for catalog management.

Instructions

List suppliers with optional filtering.

Args:

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

  • offset: Pagination offset (default: 0)

  • active: Filter by active status

  • lang_id: Language ID for multilang fields (default: "1")

Returns: Array of suppliers with id, name, active status, and description.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
activeNoFilter by active status
offsetNoPagination offset
lang_idNoLanguage ID for multilang fields1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.6/5.0
Behavior4/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 the safety profile is fully covered without prose. Beyond that, the description adds genuinely new information by stating the return shape ("Array of suppliers with id, name, active status, and description"), which matters because there is no output schema. It stops short of mentioning pagination limits or total counts, which is why it is not a 5.

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

Conciseness3/5

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

The leading sentence is well front-loaded, but the Args block duplicates four parameters that are already fully described in the schema, and the Returns line partially repeats the same idea. Roughly a third of the text is restatement of structured data rather than added meaning. It is readable and organized, but not every sentence earns its place.

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-optional-parameter read-only list tool, the definition covers purpose, parameters, and return contents. Annotations handle the safety and idempotency profile, and the description compensates for the absent output schema by naming the returned fields. Only pagination behavior (whether more pages exist, totals) is left unaddressed.

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 every parameter is already documented in the input schema. The Args block restates the same defaults and meanings almost verbatim (limit default 50, offset default 0, lang_id default "1") without adding format, interaction, or edge-case guidance. This meets the baseline-3 case where the schema carries the semantics.

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 suppliers") plus scope ("with optional filtering"), so the agent immediately knows this is a read operation over the supplier collection. Sibling tools follow the same ps_list_<resource> pattern, so the resource name does the differentiation, but the description itself makes no explicit contrast with any alternative.

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?

"with optional filtering" implies the tool is a general-purpose listing endpoint that can be narrowed, which is a reasonable usage cue. However, there is no statement of when to prefer this over a single-supplier lookup or when filtering is unnecessary, and no prerequisites or exclusions are given. Usage is implied rather than stated.

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