Skip to main content
Glama
sepehr071

torob-mcp

by sepehr071

Browse category

tb_category
Read-onlyIdempotent

Find a Torob category's parents, sub-categories, and products; filter by brand, price, sort, and page to explore offers.

Instructions

A category page: where it sits in the tree, its sub-categories, and its top products.

Use to walk the category tree (parents and children come with each reply; Torob has no tree endpoint, so counts per sub-category are not available) and to list a category's products. For text search inside a category use tb_search(category=).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
sortNoOrder: popular (Torob default), cheapest, priciest, newest, most_sellers (most shops).popular
brandNoBrand id or name inside this category.
limitNoProducts to return (default 10, max 50).
categoryYesTorob category id, e.g. 94 (mobile phones). Find ids with tb_filters or tb_category.
max_priceNoHighest price in Toman.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, so the safety profile is covered. The description adds real behavioral value beyond them: 'parents and children come with each reply' and the disclosed limitation that Torob has no tree endpoint so per-sub-category counts are unavailable, which prevents an agent from expecting aggregate counts.

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 with the parenthetical caveat attached to the relevant clause; the resource definition is front-loaded before usage guidance. Every sentence earns its place.

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 no output schema, the description usefully states what a reply contains (parents, children, top products) and where a limitation exists. It stops short of covering paging behavior for the 'page' parameter, but the agent has enough to call the tool correctly.

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 83%, so sort, brand, limit, category, and max_price are already documented in the schema; the description only alludes to the category parameter via the tb_search(category=) reference. No additional syntax, format, or interaction detail is added, so the baseline 3 applies.

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?

The description names a specific resource (a category page) and enumerates exactly what it contains: tree position, sub-categories, and top products. It also distinguishes itself from the closest sibling by pointing at tb_search(category=) for in-category text search.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives two explicit use cases (walk the category tree; list a category's products) and names the alternative plus the condition that selects it: 'For text search inside a category use tb_search(category=).' Nothing is left to inference.

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