Skip to main content
Glama

Get PrestaShop Supplier

ps_get_supplier
Read-onlyIdempotent

Retrieve full PrestaShop supplier details by ID, including name, description, and SEO metadata, with optional language selection for multilingual fields.

Instructions

Get full details of a supplier by ID.

Args:

  • id: Supplier ID (required)

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

Returns: Complete supplier data with name, description, and SEO metadata.

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

Input Schema

NameRequiredDescriptionDefault
idYesSupplier 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 the safety profile is fully covered by structured data. The description adds a modest amount beyond that: it lists the returned content (name, description, SEO metadata) and notes that lang_id governs multilang fields. It says nothing about behavior when the ID does not exist, so it stays at an adequate 3.

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 one-line purpose, then a compact Args/Returns breakdown with no filler sentences. Slightly mechanical restatement of the schema in Args keeps it from being maximally efficient.

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?

With only two simple parameters, no output schema, and full annotation coverage, the definition covers what an agent needs: what it returns and how language selection works. The only notable omission is behavior for a nonexistent or invalid supplier ID.

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% and both parameters are already documented (including the lang_id default of '1' and its multilang purpose). The description's Args block essentially restates the schema, so no meaning is added beyond it; 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?

'Get full details of a supplier by ID' names a specific verb (get), resource (supplier), and lookup key (ID), which cleanly separates it from analytics siblings such as ps_supplier_performance. It does not explicitly name an alternative or contrast its scope with other get_* tools, so it stops 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?

The 'by ID' phrasing implies the precondition that the agent already knows a supplier ID, but there is no explicit when-to-use/when-not-to-use guidance and no pointer to any sibling for listing or searching suppliers. Usage is inferable rather than stated.

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