Skip to main content
Glama

List products

list_products
Read-only

List the business's products with price, cost, stock and sales totals. These are catalogue items for sale; for recorded money-out use list_expenses and money-in use list_income.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOnly rows on/before this date (ISO 8601). Rows without a date are kept.
maxNoOnly rows whose amount is at most this (inclusive). Rows with no amount are excluded when min/max is set.
minNoOnly rows whose amount is at least this (inclusive). Rows with no amount are excluded when min/max is set. Applied before pagination.
fromNoOnly rows on/after this date (ISO 8601, e.g. "2026-01-01"). Rows without a date are kept.
limitNoMax rows to return in this page (default 50). Responses include next_cursor / truncated / total; pass next_cursor back as `cursor` to fetch the next page. Never silently truncated.
queryNoCase-insensitive substring filter — keeps only rows whose text (name, notes, and other string fields) contains this. Applied before pagination, so total/next_cursor reflect the filtered set.
cursorNoOpaque pagination cursor. Omit for the first page; pass the next_cursor from a previous response verbatim to fetch the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

The readOnlyHint annotation already discloses the main behavioral trait (safe, read-only operation), and the description's verb 'List' is consistent with it — no contradiction. The description adds no further behavioral context (e.g., determinism, side effects), but for a simple read-only list tool the annotation largely suffices, so the bar is met with only a minor 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 tight sentences with zero filler. The verb and resource are front-loaded in the first sentence, and the sibling differentiation is packed efficiently into the second. Nothing is redundant or extraneous.

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 filtered/paginated list tool with no output schema, the description covers the essential context: what the tool returns, that it is read-only, and how it differs from the closest money-related siblings. It does not itemize every return field (e.g., id, name) or explicitly distinguish it from the other list_* siblings, but the annotated schema and parameter docs fill most of the gap, so the description is complete enough for safe invocation.

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% and every parameter (from, to, min, max, limit, query, cursor) carries a rich, self-documenting description, which establishes a baseline of 3. The main description adds domain meaning beyond that by noting products include price, cost, stock, and sales totals, which clarifies how the generic min/max 'amount' filters apply — a modest but real increment.

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?

The description opens with a specific verb ('List') and a clear resource ('the business's products'), then states the returned data (price, cost, stock, sales totals). It explicitly differentiates from the sibling tools list_expenses and list_income by pointing out that those handle recorded money-out and money-in, so an agent can immediately tell this tool apart.

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?

The second sentence gives explicit when-not-to-use guidance: 'for recorded money-out use list_expenses and money-in use list_income.' This directly names the alternatives and the condition that selects them, leaving nothing to inference.

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