Skip to main content
Glama

List PrestaShop Sites

ps_list_targets
Read-onlyIdempotent

Lists every configured PrestaShop shop available to the MCP server, returning key, name, URL, and connection status so clients can verify targets before managing stores.

Instructions

List all configured PrestaShop shops available for this MCP server.

Sites are configured via environment variables:

  • Default: PS_API_URL + PS_API_KEY (+ optional PS_SITE_DEFAULT_NAME)

  • Extra shops: PS_SITE_1_URL, PS_SITE_1_KEY, PS_SITE_1_NAME, PS_SITE_2_URL, etc.

Returns: Array of configured shops with key, name, URL, and connection 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_targets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: how shops get configured (PS_API_URL/PS_API_KEY, PS_SITE_N_* variables) and that each returned entry includes a connection status, which hints the call may probe connectivity.

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

Conciseness5/5

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

Front-loaded one-line purpose, then a compact bulleted block on configuration, then a returns line. No redundant restatement of the title or annotations, and the env-var detail is short enough to earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description supplies the return contract (array of shops with key, name, URL, connection status). For a no-parameter, read-only discovery tool that is everything an agent needs to call it and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, so the schema imposes nothing to explain; baseline is 4. The description correctly spends no space on parameter semantics and instead documents the return shape.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List all configured PrestaShop shops') plus the scope ('available for this MCP server'). This clearly separates it from the sibling ps_list_* tools, which enumerate PrestaShop entities (customers, orders, products) rather than the configured shop connections themselves.

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 discovery step for finding which shop keys exist before calling other tools. There is no explicit when-to-use/when-not framing or named alternative, but for a zero-parameter discovery tool the intent is reasonably evident.

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