Skip to main content
Glama

List products

list_products
Read-onlyIdempotent

Lists products, newest first, with name, price, currency, stock, image and store link. Filter by artist, store or stock. Pass nextCursor back as cursor for the next page. Use search_products when you have words to match.

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
limitNoHow many to return, 1 to 50. Default 10.
storeNoA store id from list_stores.
artistNoAn artist id or slug from list_artists.
cursorNoThe nextCursor value from the page before.
in_stockNoTrue for in-stock products only, false for sold-out only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds behavior the annotations cannot: result ordering (newest first), the fields returned per product, and the cursor contract. It stops short of stating limits, auth needs, or what an empty result looks like, so it is strong but not exhaustive.

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?

Three short sentences, front-loaded with what the tool returns, then filters and pagination, then the sibling handoff. Every clause carries information; there is no repetition of the annotation flags or the title.

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?

For a five-parameter, read-only listing tool with no output schema, the description compensates by naming the returned fields and describing the pagination loop. Nothing an agent needs in order to call it correctly or handle a second page is missing.

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%, so the baseline is 3; the description still earns credit by explaining that cursor takes the previous page's nextCursor (a value produced by this tool, not visible anywhere in the input schema) and by tying the filters to the returned fields. It does not add format or validation detail beyond the schema for limit, store, artist, or in_stock.

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?

"Lists products, newest first" gives a specific verb, resource and ordering, and the sentence enumerates the returned fields (name, price, currency, stock, image, store link). It also names the sibling it is not (search_products), so an agent can select between the two without opening a schema.

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?

It states the filtering options (artist, store, stock), the pagination procedure ("Pass nextCursor back as cursor"), and an explicit alternative with the condition that selects it ("Use search_products when you have words to match"). Both when-to-use and when-not-to-use are covered.

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.