Skip to main content
Glama

List products

list_products
Read-only

List the store's products with their id, price and status (draft or published). Pass the store's agent_key (returned by open_store).

Input Schema

NameRequiredDescriptionDefault
agent_keyYesThe store's agent key (rpy_…), returned by open_store

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description adds useful behavior — it enumerates the returned fields and constrains status to draft or published. It omits ordering, pagination, or result-size behavior, which is the main remaining gap.

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?

Two short sentences, zero filler, with the core listing behavior front-loaded and the prerequisite second. Every clause carries information.

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 no output schema, the description usefully compensates by naming the returned fields and status values. For a one-parameter read tool this is nearly complete; only pagination/ordering expectations are unstated.

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 coverage is 100% and the single agent_key parameter is fully documented in the schema, including the rpy_ prefix hint. The description restates the same provenance fact rather than adding new syntax or format detail, 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?

Specific verb + resource ('List the store's products') plus the fields returned (id, price, status) and the status domain. It is clearly distinguishable from create_product and publish by the read-only listing verb, though it never names 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 Guidelines4/5

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

Gives the prerequisite for calling it: pass the store's agent_key, which is obtained from open_store — a concrete dependency an agent must satisfy first. It stops short of stating when to prefer this over siblings like sales_summary or publish, so no exclusions 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.

Resources