Skip to main content
Glama

Confita

Find products

find_products
Read-onlyIdempotent

For customers: search products across every shop, or one shop's with shop, by words in the name, a category, a day it can still be ordered for, or a price ceiling. Returns up to 20 rows with shop and price, without options or times: get_product has those for one product.

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

Input Schema

NameRequiredDescriptionDefault
dateNoOnly products that can still be ordered for this day on the shop's clock. For example "2026-12-05".
shopNoOnly this shop, by slug, id (shp_...) or name.
textNoWords from the product's name or tags.
cursorNoThe `next_cursor` of the page before.
categoryNoWhat kind of food, such as "cakes" or "bread".
max_priceNoOnly products priced at most this (their lowest price); those priced by quote are left out. For example {"amount": "30.00", "currency": "USD"}.

Output Schema

NameRequiredDescriptionDefault
nextNo
errorNo
choicesNo
outcomeNo
listingsNo
timezoneNo
next_cursorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, non-destructive, idempotent, closed-world behavior, so the safety profile is covered. The description adds real behavioral detail beyond that: a hard 20-row cap and the fact that rows carry shop and price but omit options and times. It does not mention pagination beyond the schema's cursor parameter, which is 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 sentences, front-loaded with the scoping distinction, then the return shape, then the alternative. No filler and nothing repeated from the schema verbatim.

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 six optional parameters, a nested max_price object, an output schema, and rich annotations, the description covers the essential decision inputs and the result shape. Only pagination behavior across pages is left implicit, which the cursor parameter description partly handles.

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 all six parameters are already documented, including the date pattern example, shop slug/id/name forms, and the max_price nested shape. The description largely restates those filters rather than adding new meaning, so the baseline of 3 applies.

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?

States a specific verb and resource ("search products") and immediately defines scope: across every shop, or narrowed with `shop`. It names the filter dimensions (name words, category, orderable day, price ceiling) and explicitly contrasts with get_product, so an agent can distinguish it from siblings 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?

The audience is named ("For customers") and the alternative is named with the condition that selects it: get_product when you need options or times for a single product. This tells the agent both when to use this tool and when to route elsewhere.

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