Skip to main content
Glama

List PrestaShop Customer Groups

ps_list_groups
Read-onlyIdempotent

List all PrestaShop customer groups, including IDs, names, reductions, and price display settings, for a specified language ID.

Instructions

List customer groups (e.g., Visitor, Guest, Customer).

Args:

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

Returns: Array of groups with id, name, reduction, price_display_method, and show_prices.

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

Input Schema

NameRequiredDescriptionDefault
lang_idNoLanguage ID for multilang fields1

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior. The description goes beyond that by enumerating the returned fields (id, name, reduction, price_display_method, show_prices), which is valuable since no output schema exists. It does not discuss pagination or result limits.

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 description is short and front-loaded with the purpose sentence, followed by clean Args and Returns sections. The Args block largely duplicates the schema, which is minor redundancy.

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 one-optional-parameter list tool with annotations covering safety and no output schema, the description covers purpose and return fields adequately. Pagination or ordering behavior is the only notable omission.

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 single lang_id parameter is fully documented in the schema. The description's Args section restates the same default and meaning without adding format or behavior detail, 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 states a specific verb and resource ('List customer groups') and gives concrete examples of the group types (Visitor, Guest, Customer). No sibling tool lists customer groups, so differentiation is implicit rather than needed.

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 guidance on when to use this tool versus alternatives or when not to. The purpose is obvious enough from the name, but the description provides no usage context, prerequisites, or conditions.

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