Skip to main content
Glama
torob-mcp

torob-mcp

by sepehr071

Find shops

tb_find_shops
Read-onlyIdempotent

Find shops in Torob's directory by name or domain and return shop IDs plus product IDs for follow-up queries.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity or province, Persian.
kindNooffline = in-person.all
pageNo
limitNo
queryYesShop name or domain, e.g. 'bavanmobile.ir'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / city / description
      Previous value: -"Keep only shops in this city or province (Persian name, matched after fetching)."New value: +"City or province, Persian."
    • changedInput schema / properties / kind / description
      Previous value: -"all (default), online or offline (in-person) shops."New value: +"offline = in-person."
    • changedInput schema / properties / query / description
      Previous value: -"Shop name or domain, e.g. 'دیجی اپال' or 'bavanmobile.ir'."New value: +"Shop name or domain, e.g. 'bavanmobile.ir'."
  2. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and non-destructive behavior, so safety is covered. The description adds the useful fact that the lookup key can be either a name or a domain and that results are ids meant for follow-up tools, but says nothing about pagination, result caps, or empty-result behavior for a directory search.

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?

A single tight sentence with the action, data source, lookup keys, and return value front-loaded; there is no filler or redundancy.

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?

With no output schema, the description partially compensates by saying it returns ids for tb_shop and tb_shop_products, which is genuinely useful. But for a 5-parameter paginated search it omits pagination behavior and total-count semantics, so key operational details an agent needs are missing.

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%: query, city, and kind are documented in the schema, while page and limit have no descriptions. The description's 'by name or domain' restates the query parameter but adds no new semantic detail, and it does not compensate for the undocumented pagination parameters. Baseline 3 applies.

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 in Torob's directory') and the lookup key ('by name or domain'), plus names the downstream consumers (tb_shop, tb_shop_products). It does not disambiguate from close siblings like tb_stores or tb_sellers, so it falls short of a 5, but the purpose is unambiguous.

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 phrase 'returns ids for tb_shop and tb_shop_products' implicitly tells the agent this is a discovery/lookup step that should precede those calls. However, there is no explicit statement of when to use this instead of tb_stores, tb_sellers, or tb_search, and no exclusions or prerequisites.

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