Skip to main content
Glama

List PrestaShop Addresses

ps_list_addresses
Read-onlyIdempotent

List customer or supplier addresses with optional filtering by customer ID, pagination, and deleted-address inclusion, returning key contact and location details.

Instructions

List customer or supplier addresses with optional filtering.

Args:

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

  • offset: Pagination offset (default: 0)

  • id_customer: Filter by customer ID

  • deleted: Include deleted addresses (default: false)

Returns: Array of addresses with id, customer_id, firstname, lastname, company, address, city, country_id, and phone.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items
offsetNoPagination offset
deletedNoInclude deleted addresses
id_customerNoFilter by customer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

B3.2/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 profile is fully covered. The description adds the default values and the returned field set, which is modest extra context. It does not mention pagination behavior or ordering, and its 'supplier addresses' claim is not backed by any parameter.

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 purpose sentence is front-loaded and efficient, but the Args block duplicates four parameters that are already fully described in the schema. The returns line is useful; the argument recap is filler against 100% coverage.

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 read-only list tool with annotations covering safety and no output schema, and the description compensates by naming the returned fields. Nothing essential is missing for correct invocation, though the unsupported 'supplier addresses' phrasing could mislead an agent into expecting a supplier filter.

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 every parameter including defaults and bounds. The Args block restates the same defaults without adding format, interaction, or edge-case semantics. Baseline 3 applies when the schema does the heavy lifting.

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 or supplier addresses') and mentions optional filtering, so the operation is unambiguous. It does not explicitly distinguish itself from other ps_list_* siblings, though the resource name does most of that work. Minor imprecision: it advertises 'supplier addresses' but no supplier-related parameter exists.

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 explicit when-to-use or when-not guidance and no named alternative (e.g., listing customers first to obtain an id_customer). The phrase 'with optional filtering' implies the tool is for filtered address retrieval, but the agent must infer all selection conditions on its own.

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