Skip to main content
Glama
sepehr071

torob-mcp

by sepehr071

Find shops

tb_find_shops
Read-onlyIdempotent

Find shops in Torob's directory by name, domain, city, or type (online/offline). Returns shop and product IDs for use in price comparison workflows.

Instructions

Find shops in Torob's directory by name or domain; returns ids for tb_shop and tb_shop_products.

The directory endpoint is known from Torob's site code; its reply shape is read tolerantly (id, name, city, score).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoKeep only shops in this city or province (Persian name, matched after fetching).
kindNoall (default), online or offline (in-person) shops.all
pageNo
limitNo
queryYesShop name or domain, e.g. 'دیجی اپال' or 'bavanmobile.ir'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations fully cover the safety profile (readOnly, idempotent, non-destructive, openWorld). The description goes beyond them by disclosing the informally-sourced directory endpoint and the tolerant parsing of its reply, which warns the agent that fields may be missing. It also names the returned fields (id, name, city, score), valuable given there is no output schema.

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 tight sentences, purpose front-loaded, with the implementation caveat and return fields placed second. The second sentence is slightly meta but earns its place by disclosing fragility and return shape. No filler.

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 5-parameter search tool with no output schema, the description covers the purpose and partial return shape but omits pagination behavior and result-count semantics, which an agent needs to iterate results correctly. Adequate but with a clear gap.

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 60%: city, kind, and query are described in-schema, but page and limit have no descriptions anywhere. The description adds nothing about pagination or the max 30/50 bounds, so it does not compensate for the coverage gap. Baseline 3 for a moderately documented schema.

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?

States a specific verb and resource (find shops by name or domain) and even names the downstream consumers (tb_shop, tb_shop_products), which helps an agent place it in a workflow. It stops short of distinguishing itself from plausible siblings like tb_stores or tb_shop, which also deal with shops.

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?

The description implies the usage pattern (resolve a shop name/domain to an id before calling tb_shop), but never states when to choose this over tb_stores, tb_sellers, or a plain search. No exclusions or prerequisites are given.

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