Skip to main content
Glama

list_products

Read-only

Retrieve paginated catalog products for a merchant to inspect and manage catalog items and prices.

Instructions

List catalog products (paginated; response wrapped in elements).

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": {
      "merchant_id": "<merchant_id>"
    },
    "name": "list_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage index (clients differ: some start at 0, some at 1).
limitNoPage size (e.g. 200).
merchant_idYesMerchant ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description still adds non-trivial behavior beyond that: the call is paginated and the payload is wrapped in an `elements` envelope, which matters because there is no output schema. It stops short of naming other envelope fields (e.g. total counts or cursor) or the default/maximum page size.

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?

A single short sentence, front-loaded with the operation and parenthetically carrying the two facts that aren't in structured fields. No redundant restatement of the name or title.

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 three-parameter read-only list tool with no output schema, the key unknown — the `elements` response wrapper — is disclosed, and pagination is flagged. Minor residual gaps remain: no indication of sort order, richness of product fields, or how to know when the last page is reached.

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 page, limit, and merchant_id are already documented, including the 0-vs-1 page-index caveat. The description only echoes pagination and adds no field-level meaning, which is the expected baseline when the schema carries the load.

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?

States a specific verb and resource: "List catalog products." An agent can tell it retrieves a product collection, though the description never distinguishes "products" from the near-identical sibling vocabulary of "items" (list_items_by_category) or "catalogs" (list_catalogs), so sibling disambiguation rests on the name alone.

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?

No when-to-use guidance and no mention of alternatives. Nothing says whether this is the right call for browsing an entire merchant's catalog versus list_items_by_category for a scoped subset, leaving the agent to infer the routing decision.

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