Skip to main content
Glama

Filter by attribute and price

filter

Products of Study Trading 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 Study Trading'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

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses matching semantics (exact, case-insensitive), that attribute keys are the store's own specification attributes, and that prices are in Study Trading's currency. It omits what happens with zero filters (all parameters are optional), pagination/sort defaults, and any response shape, so the behavioral picture is incomplete.

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 tight sentence front-loads the resource and matching behavior, then appends the combinable filters and price example. The parenthetical about attribute keys is dense but earns its place; overall there is little waste.

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 object, no annotations, and no output schema, the description covers the core filtering semantics well but leaves pagination, sorting, fulfilment, and the shape of returned results unaddressed. Adequate for the main use case, but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 30%, so the description must compensate and largely does: it explains attribute key semantics and matching rules beyond the schema's bare example, gives concrete price_min/price_max examples and currency units, and covers category, brand, and in-stock. It says nothing about page, page_size, sort, or fulfilment, leaving four parameters undocumented.

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 names the concrete outcome: products matching attribute key/value pairs and/or a price range, with combinable category, brand, and in-stock filters. The verb is generic ('filter') but the resource and matching logic are unambiguous. It does not distinguish itself from siblings such as search or browse, so it stops short of a 5.

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 by the description: use it to narrow products by specification attributes and price, and 'Combine with a category, brand and in-stock' signals that filters are additive. There is no when-not guidance and no mention of when to prefer search or browse instead, leaving the agent to infer routing.

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