Skip to main content
Glama

Acme Store

search_products

Read-onlyIdempotent

Search product titles, descriptions and tags, ignoring case. Use it first to find a product's handle; without q it lists the whole catalogue. Returns each product's handle, title, description, price range, availability and page.

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
qNopart of a product name, description or tag; leave out to list every product
sortNothe order of the products; leave out for the shop's own order

Output Schema

NameRequiredDescriptionDefault
productsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, closed-world behavior, so the description's job is to add operational detail — and it does: case-insensitive matching across three fields, and that omitting q returns the entire catalogue. It does not mention pagination or result limits, which matters for the unbounded no-q case.

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, each doing distinct work: what is searched, how to use it, what comes back. No filler and the guidance is front-loaded.

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?

With an output schema present the description needn't document return shapes in depth, but it still summarizes the key fields. Annotations cover safety, and both parameters are documented, leaving no gap an agent must guess at to call this correctly.

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 both parameters already carry descriptions covering omission behavior and enum values. The description reinforces the no-q behavior and adds case-insensitivity for q, but says nothing about sort, so it adds little beyond the schema.

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 product titles, descriptions and tags) and pins down the matching rule (case-insensitive) plus the empty-query scope (whole catalogue). The phrase 'use it first to find a product's handle' distinguishes it from handle-based retrieval tools such as get_product.

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 clear sequencing guidance ('use it first to find a product's handle') and states what happens without q. It stops short of naming a specific alternative for the follow-up step or saying when not to use it, so it is strong rather than exhaustive.

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