Skip to main content
Glama
asalbanoo-mcp

asalbanoo-mcp

by sepehr071

Filters of a category or brand

ab_filters
Read-onlyIdempotent

List a category's or brand's attribute filters—such as volume, hair/skin type, gender, and origin—with in-stock counts so you can narrow product browsing before selecting a size or type.

Instructions

List the attribute filters of a category or brand (volume, hair/skin type, gender, origin) with in-stock counts.

Use before ab_browse for a size or type.

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

Input Schema

NameRequiredDescriptionDefault
brandNoSlug from ab_brands, e.g. 'la-roche-posay'.
categoryNoSlug from ab_categories, e.g. 'sunscreen'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • changedInput schema / properties / brand / description
      Previous value: -"Brand slug from ab_brands, e.g. 'graph' or 'la-roche-posay'."New value: +"Slug from ab_brands, e.g. 'la-roche-posay'."
    • changedInput schema / properties / category / description
      Previous value: -"Category slug from ab_categories, e.g. 'hair-shampoo' or 'sunscreen'."New value: +"Slug from ab_categories, e.g. 'sunscreen'."
  2. Changed4 schema fields changedv0.3.0
    • removedInput schema / properties / brand / title
      Removed value: -"Brand"
    • removedInput schema / properties / category / title
      Removed value: -"Category"
    • removedInput schema / title
      Removed value: -"ab_filtersArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "ab_filtersDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorld, so the safety profile is covered. The description adds only the in-stock count detail and the sequencing advice; it does not say whether counts reflect live inventory, whether results are cached, or how large the filter list can be.

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?

Two short sentences with the resource front-loaded and the sequencing advice second; no filler. The phrase 'for a size or type' is slightly ambiguous (size/type of what) and is the only weak spot.

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?

This is a simple read tool with no output schema, so the description does most of the work and does state the return content (attribute filters with in-stock counts). However, with zero required parameters it never explains what happens when both brand and category are omitted, which is a real ambiguity for an agent deciding how to call it.

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 description coverage is 100% and already documents both slugs with examples and the source tools (ab_brands, ab_categories). The description reinforces the either/or nature of brand vs category, adding mild meaning, but nothing about the slug format is new.

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: 'List the attribute filters of a category or brand', and enumerates the filter kinds (volume, hair/skin type, gender, origin) plus the in-stock count payload. This is clearly distinguishable from ab_browse, ab_search, and ab_product, which are the neighbouring retrieval tools.

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?

'Use before ab_browse for a size or type' explicitly names the sibling and the ordering, which is real routing guidance. It lacks any when-not guidance (e.g. when ab_browse alone suffices, or what to do if a category has no filters), so it stops short of full coverage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.