Skip to main content
Glama

Get PrestaShop Customer

ps_get_customer
Read-onlyIdempotent

Retrieve complete customer details by ID from a PrestaShop store, including personal info, groups, and dates while excluding sensitive data such as password hashes.

Instructions

Get full details of a customer by ID.

Args:

  • id: Customer ID (required)

Returns: Complete customer data with personal info, groups, and dates. Note: sensitive data like password hashes are excluded.

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

Input Schema

NameRequiredDescriptionDefault
idYesCustomer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and closed-world scope, so the safety profile is covered. The description still adds real value by disclosing what the response contains (personal info, groups, dates) and by explicitly noting that sensitive fields such as password hashes are excluded — a disclosure the annotations cannot express.

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?

Front-loaded with the purpose, then compact Args/Returns sections — no wasted prose. The Args line is redundant with the schema but is short enough not to be damaging.

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 one-parameter read tool with no output schema, the description covers the input and summarizes the return payload, including the notable exclusion of sensitive fields. It omits only edge behavior such as what happens when the ID does not exist, which is a minor gap.

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%, with the single `id` parameter documented including an exclusiveMinimum constraint. The description only restates 'Customer ID (required)', adding no format, range, or lookup-failure semantics beyond the schema, 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 gives a specific verb and resource ('Get full details of a customer by ID'), which is a clear, unambiguous purpose. It implicitly separates itself from ps_get_customer_orders and ps_customer_ltv by emphasizing complete customer record data, but it never names or contrasts a sibling explicitly.

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 by the 'by ID' framing — the agent can infer this is the single-record lookup path. There is no explicit statement of when to prefer it over ps_get_customer_orders, ps_customer_ltv, or a search-style tool, and no prerequisites are given.

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