Skip to main content
Glama

Search Farmhouse Chocolates products

search_products
Read-onlyIdempotent

Search the Farmhouse Chocolates online shop (handmade in Bristol, Vermont): chocolate-covered salted caramels, dark chocolate truffles, organic 2 oz chocolate bars and gift bundles. Returns live retail prices in USD, availability and the product page URL. Leave the query empty to list everything.

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

Input Schema

NameRequiredDescriptionDefault
kindNoOnly this kind of product
limitNoMost results to return (default 10)
queryNoWords to look for, e.g. "maple truffles", "salted caramel", "gift set"
max_priceNoOnly products with a price at or under this, in USD
vegan_onlyNoOnly vegan products (no milk added)
in_stock_onlyNoHide sold-out products (default true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.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 value beyond that by disclosing what comes back — live retail prices in USD, availability, and the product page URL — which tells the agent results are current and linkable. It stops short of mentioning result-count limits or pagination, which the schema only partly covers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the action and scope, then return shape, then the one usage rule. The Bristol/Vermont parenthetical and category roll-call are mildly promotional but do double duty by anchoring the `kind` enum values, so little is wasted.

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, full schema descriptions, and no output schema, the description covers what is needed: what is searched, what comes back, and the empty-query edge case. The only omission is any hint about ordering or how many results the default `limit` yields, which is minor given the schema documents the default.

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%, so every parameter is already documented and the baseline is 3. The description adds one real semantic not in the schema — that an empty `query` means list-all rather than match-nothing — and reinforces USD pricing for `max_price`, but adds nothing about `kind`, `limit`, or the default-true `in_stock_only`.

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 ('Search the Farmhouse Chocolates online shop') and enumerates the catalog categories, which maps directly onto the `kind` enum. It is clearly a catalog search rather than a store lookup or single-product fetch, but it never names a sibling like get_product or recommend_gifts, so differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The line 'Leave the query empty to list everything' gives one concrete usage rule, which is genuinely helpful for a zero-required-parameter tool. However, there is no guidance on when to prefer this over get_product (single item) or recommend_gifts (curated suggestions), so the agent must guess the boundary between searching and fetching.

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