Skip to main content
Glama

Get PrestaShop Customer Group

ps_get_group
Read-onlyIdempotent

Retrieve full details of a PrestaShop customer group by ID, including name, reduction, and configuration, with an optional language ID for multilanguage fields.

Instructions

Get full details of a customer group by ID.

Args:

  • id: Group ID (required)

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

Returns: Complete group data with name, reduction, and configuration.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "ps_get_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesGroup ID
lang_idNoLanguage ID for multilang fields1

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, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds useful behavior detail beyond that: it returns the full record including reduction and configuration, and that multilingual fields are resolved by lang_id. It does not cover behavior when the ID does not exist.

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 is front-loaded in the first sentence, and the Args/Returns blocks are easy to scan. The Args section duplicates schema content verbatim, which is minor waste but not harmful.

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?

This is a simple two-parameter read tool with no nested objects and no output schema, and the description covers the lookup key, the language selector, and a summary of returned fields. That is sufficient to invoke it correctly; only error behavior on a missing group is 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 both parameters are already documented in the schema; the Args block largely restates them. The only added value is the explicit note that lang_id selects which language's values populate multilang fields, which is a small clarification rather than new 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?

"Get full details of a customer group by ID" names a specific verb (get), resource (customer group) and lookup key (ID), so the operation is unambiguous. It does not distinguish itself from siblings such as ps_get_customer or ps_get_configuration, which is why it falls short of a 5.

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 ID-based lookup and the lang_id default hint at the retrieval scenario, but there is no statement of when to prefer this tool over siblings or any preconditions. An agent must infer that it should call this before/alongside customer-group-related operations.

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