Skip to main content
Glama

List products

list_products
Read-onlyIdempotent

The organization's product catalogue (its own item master, as loaded from its ERP), each product with what every supplier calls it: the supplier's reference and description, and the conversion factor to the organization's unit. Use it for "what is our SKU for supplier reference OR-2-369", "which products does Supplier X ship us" or "is product ABC-1 discontinued". To narrow to one supplier, find its id with list_companies and pass it as supplier_id. query matches SKU, description and any supplier's reference; sku finds the one product with exactly that SKU. Each supplier reference has an id (prf_...) for remove_product_supplier_reference. Returns products, newest first, with has_more and the id (prd_...) of the last one to pass as starting_after.

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": "list_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
skuNoAn exact SKU, such as "ABC-1" (case aside), to look one product up.
limitNoHow many results to return, 1 to 100.
queryNoMatches a SKU, a description or any supplier's reference, such as "OR-2-369".
statusNoOnly active or only discontinued products. Omit for both.
supplier_idNoOnly products this supplier has a reference or description for. A company id such as "cmp_123", from list_companies.
starting_afterNoPaging cursor: the id of the last result of the previous page. Only when has_more was true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sku
      Added value: +{
      +  "description": "An exact SKU, such as \"ABC-1\" (case aside), to look one product up.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so safety is covered; the description adds real context beyond that: results come newest first, pagination exposes `has_more` plus the last `prd_...` id for `starting_after`, and supplier reference ids are `prf_...` and feed remove_product_supplier_reference. It does not mention rate limits or result-size behavior beyond the schema's limit bounds, so not a full 5.

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 what the resource is, then usage examples, then parameter semantics, then return/paging behavior — a logical order with no filler sentences. It is dense and packs several clauses into one paragraph, so a minor structural deduction for readability rather than for length.

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 compensates by stating the return shape: products newest first, with `has_more` and the `prd_...` id of the last item for `starting_after`. Combined with the annotation-covered read-only profile and full schema coverage, an agent has everything needed to call and page it correctly.

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?

Schema coverage is 100%, set the baseline at 3; the description goes further by clarifying the semantic split between `query` (matches SKU, description and any supplier's reference) and `sku` (finds the one product with exactly that SKU), and by naming the `prf_...` id used to remove a supplier reference. It adds interpretation rather than just restating field text.

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?

Names a specific verb and resource (the organization's product catalogue / item master loaded from ERP) and states the distinctive content it carries: each supplier's reference, description and conversion factor to the org unit. The three quoted example questions make the resource concrete, and it is clearly distinguishable from siblings like list_companies or create_product.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use cases ('what is our SKU for supplier reference OR-2-369', 'which products does Supplier X ship us', 'is product ABC-1 discontinued') and states the alternative workflow for supplier filtering: find the id with list_companies and pass it as `supplier_id`. It also routes the agent between its own two lookup modes, `sku` (exact, single result) vs `query` (broad match across SKU, description, supplier reference).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources