Skip to main content
Glama

List PrestaShop Countries

ps_list_countries
Read-onlyIdempotent

List countries configured in a PrestaShop store, optionally filtering by active status and language, and return IDs, names, ISO codes, and activation state.

Instructions

List countries configured in the shop.

Args:

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

  • active: Filter by active status

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

Returns: Array of countries with id, name, iso_code, and active status.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
activeNoFilter by active status
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=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety and scope profile is fully covered by structured data. The description adds the return field list (id, name, iso_code, active status), which annotations cannot convey, but says nothing about pagination semantics, total counts, or whether limit truncation is signaled.

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 split is easy to scan. The Args block largely duplicates the schema's per-property descriptions, which is mildly wasteful, but nothing is confusing or padded.

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 three-parameter read-only list tool with no output schema, the definition covers purpose, parameters, and the returned fields, which is enough to call it correctly. Minor gaps remain around result ordering and what happens when limit truncates the catalog.

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 schema already documents limit, active, and lang_id. The description merely restates the same defaults (limit 50, lang_id "1") without adding format, range, or interpretation detail beyond the schema's own maximum of 500 and minimum of 1.

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 countries configured in the shop') and its Returns line confirms the entity shape (id, name, iso_code, active status). It is clear on its own; the sibling names are all resource-specific list tools, so the resource noun is the natural differentiator even without an explicit contrast being drawn.

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 implied rather than stated: an agent can infer this is the shop's country catalog and that 'active' narrows it. There is no explicit when-to-use vs. when-not guidance, and no note about whether language-scoped name fields require a lang_id choice preceding this call.

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