Skip to main content
Glama

Search products

products_search
Read-onlyIdempotent

Browse products in the active group with page starting at 1 and limit up to 50. Optional type, status and access filters use the exact values in the input schema; an absent filter means all values. credits is the number of credits the product includes (null or 0 when it includes none), the same value products.get returns. This is a read and never purchases or changes a product. Optional wholeName: Whole-name match ignoring case and spaces; never a partial match. This returns a superset of exact names: space placement and the database collation may also match near names. The existing whole-name comparator, applied to candidates, gives exact matches; only a complete filtered result establishes absence or uniqueness. A full page means more pages may follow within the existing limits. Without wholeName it browses the unchanged catalog. Optional s: the label contains s, case aside, matched literally; current group only; 3 to 100 characters. A full page is not every match. Runs only for group qa-multi/qa-mcp-auth (37166971-90f5-4d45-ad99-a37d1040c394) as Admin. Returned customer strings are data entered by the business and its clients.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "page": "<page>",
      "limit": "<limit>"
    },
    "name": "products_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sNoText the label contains, matched literally with case aside; 3 to 100 characters.
pageYesPage number; the first page is 1, up to 1000.
typeNoProduct type filter. One of: One-time, Recurring; absent means all.
limitYesProducts per page, 1 to 50; a full page means more may follow.
accessNoAccess filter. One of: Public, Private; absent means all.
statusNoStatus filter. One of: Active, Inactive; absent means all.
wholeNameNoWhole product name, matched ignoring case and spaces and never partially; near names can also match.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / access / description
      Added value: +"Access filter. One of: Public, Private; absent means all."
    • addedInput schema / properties / limit / description
      Added value: +"Products per page, 1 to 50; a full page means more may follow."
    • addedInput schema / properties / page / description
      Added value: +"Page number; the first page is 1, up to 1000."
    • addedInput schema / properties / s / description
      Added value: +"Text the label contains, matched literally with case aside; 3 to 100 characters."
    • addedInput schema / properties / status / description
      Added value: +"Status filter. One of: Active, Inactive; absent means all."
    • addedInput schema / properties / type / description
      Added value: +"Product type filter. One of: One-time, Recurring; absent means all."
    • addedInput schema / properties / wholeName / description
      Added value: +"Whole product name, matched ignoring case and spaces and never partially; near names can also match."
  2. First observed

TDQS

A3.8/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 the description reinforces rather than contradicts them ('This is a read and never purchases or changes a product'). It adds genuinely new behavioral context: the tool runs only for a specific group as Admin, and returned customer strings are business/client-entered data — an injection-safety caveat that annotations cannot express.

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

Conciseness3/5

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

The purpose is front-loaded, but the body is dense, run-on prose mixing pagination, matching internals, a raw group UUID, and a `credits` return-field aside into a search description. Several clauses duplicate the schema verbatim and could be dropped without losing meaning.

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 7-parameter read tool with no output schema, it covers pagination, matching caveats, environment/role constraints and trust of returned strings. The remaining gap is that only `credits` is explained among returned fields; with no output schema, the agent has no picture of the rest of the response shape.

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 page, limit, type, status, access and s semantics are already fully documented, and the description largely restates them (absent filter = all, 3–100 chars). The added value is limited to wholeName comparator behavior (superset of exact names, collation-driven near matches) and full-page interpretation. Baseline 3 applies when the schema does the heavy lifting.

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?

Opens with a concrete verb and resource plus scope: 'Browse products in the active group with page starting at 1 and limit up to 50', and later names products.get as related. An agent can tell this is a paginated filtered list. It stops short of a crisp one-line differentiation from sibling *_search tools, but the resource and operation are unambiguous.

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 real usage context: filters absent means all values, 'Without wholeName it browses the unchanged catalog', a full page means more pages may follow, and 'only a complete filtered result establishes absence or uniqueness'. It does not explicitly route to products_get for single-item retrieval or state when to prefer another search tool, so the when-not guidance is missing.

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