Skip to main content
Glama

Browse categories

browse_categories
Read-only

List CheapestInIndia product category groups (id + name). Use an id as category_ids in search_products, or as category_id in top_price_drops. Optionally filter by a name fragment.

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

Input Schema

NameRequiredDescriptionDefault
top_onlyNoOnly top-level groups (default false)
name_containsNoCase-insensitive name filter, e.g. 'phone'

Output Schema

NameRequiredDescriptionDefault
categoriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, non-destructive, closed-world behavior, so the safety profile is covered. The description adds that results are id/name pairs and that filtering is by name fragment, but says nothing about list size, ordering, or whether all categories are returned by default. Some value beyond annotations, but thin.

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?

Two short sentences, zero filler, with the resource and output shape front-loaded before the usage hint. Every clause carries information.

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?

With an output schema and full-coverage annotations, the description only needs purpose, downstream use, and filtering — all present. The omission of top_only's meaning and any sense of result volume are minor gaps for a simple read-only list tool.

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%, so both parameters are already documented, making 3 the baseline. The description explains how the returned ids are consumed elsewhere and confirms optional name filtering, but never mentions top_only, the more semantically interesting parameter.

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?

"List CheapestInIndia product category groups (id + name)" gives a specific verb and resource and even states the return shape. It stops short of full sibling differentiation — it doesn't contrast with searching products directly — but the id-routing sentence makes the tool's role in the workflow evident.

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?

It explicitly states the downstream options: pass an id as category_ids in search_products or as category_id in top_price_drops, and mentions an optional name-fragment filter. What's missing is any statement about when you should NOT need this (e.g. when a category id is already known).

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