Skip to main content
Glama

Filter by attribute and price

filter

Products of Telly Co matching attribute values (key: value, exact, case-insensitive — the keys are the store's own specification attributes, see any product's attributes) and/or a price range in Telly Co's currency, e.g. price_min 200, price_max 1500. Combine with a category, brand and in-stock.

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

Input Schema

NameRequiredDescriptionDefault
pageNo
sortNoorder of the results
brandNo
categoryNo
page_sizeNo
price_maxNo
price_minNoin major units of the store's currency
attributesNoe.g. {"material": "teak", "groups": 2}
fulfilmentNo
in_stock_onlyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does usefully disclose matching behavior (exact, case-insensitive key:value against the store's own specification attributes) and the currency/unit convention for prices, but says nothing about pagination defaults, default sort order, or what the 'fulfilment' own/affiliate option means - and behaviour on an empty result set is unstated.

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?

A single dense sentence, but it is well ordered: the resource and matching rules come first, the price example second, and the combinable facets last. Examples earn their place by disambiguating units and attribute keys. A sentence break would improve readability but no wording is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter tool with a nested attributes object, no annotations and no output schema, the definition covers the hard parts (attribute key semantics, price units) but leaves result-set control (paging, sort) and the fulfilment enum undescribed. Enough to call it correctly on the core filters, not enough to call it correctly in every configuration.

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 only 30% across 10 parameters, so the description must compensate. It genuinely adds meaning for 'attributes' (exact, case-insensitive, keys taken from product attributes, with a concrete example) and for price_min/price_max (store currency, major units, worked example), and it mentions category, brand and in-stock. It leaves page, page_size, sort and fulfilment entirely unexplained in both schema and description.

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?

The description states a specific verb and resource: it returns products of Telly Co matching attribute values and/or a price range, and it names the facets it can be combined with (category, brand, in-stock). It never contrasts itself with siblings such as search or browse, so an agent must infer which retrieval tool to pick, but the operation itself is unambiguous.

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?

Usage is implied rather than explained: 'combine with a category, brand and in-stock' tells the agent these constraints are composable filters, and the matching semantics tell it when attributes will behave predictably. There is no explicit when-to-use-this-vs-search/browse guidance and no exclusion, so an agent still has to guess at tool selection.

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