Skip to main content
Glama
torob-mcp

torob-mcp

by sepehr071

Shopping basket

tb_basket
Read-onlyIdempotent

Find a cost-effective way to buy a multi-item shopping list: compare one shop that sells all items against a split cart across sellers.

Instructions

Cheapest shop for a whole shopping list: best single shop that sells everything, and the split-cart total.

Names resolve to the top search match (check items[].name; pass ids to be exact).

Input Schema

NameRequiredDescriptionDefault
cityNoCity id or name: only offers serving that city.
itemsYesProduct names ('آیفون 13 128') or ids / URLs.
conditionNoused = کارکرده / stock.new
min_scoreNo
installment_onlyNoInstallment shops only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • changedInput schema / properties / city / description
      Previous value: -"City id or name (e.g. 'مشهد' or 468): only offers that deliver to / sit in that city."New value: +"City id or name: only offers serving that city."
    • changedInput schema / properties / condition / description
      Previous value: -"new (default), used (کارکرده / stock) or any."New value: +"used = کارکرده / stock."
    • changedInput schema / properties / installment_only / description
      Previous value: -"Only shops offering installments."New value: +"Installment shops only."
    • changedInput schema / properties / items / description
      Previous value: -"2 to 8 things to buy: product names ('آیفون 13 128') or product ids / URLs."New value: +"Product names ('آیفون 13 128') or ids / URLs."
  2. 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 already cover the safety profile (readOnly, idempotent, non-destructive, open world), so the description's real contribution is the fuzzy name-resolution behavior: names map to the top search match and ids should be passed for exactness. That is a genuine behavioral caveat an agent would otherwise miss, though it says nothing about what happens when no single shop stocks everything.

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, front-loaded with the core behavior and the caveat placed second. The parenthetical reference to items[].name is compact, though it points at a response field with no output schema to anchor it.

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 does sketch the return shape ('best single shop' plus 'split-cart total'), which is the minimum needed. It omits the fallback behavior when no single shop covers the list and leaves the min_score threshold unexplained for a tool with five parameters.

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 80%, so the baseline applies. The description meaningfully clarifies the `items` parameter (names resolve loosely; verify against the returned items[].name), but the undocumented `min_score` parameter — a scoring threshold with no schema description — is not addressed at all.

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 computation over a specific resource: cheapest single shop covering a whole list plus the split-cart total. That is clearly distinct from single-product siblings like tb_cheapest and tb_compare, though it never names those siblings explicitly.

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 'whole shopping list' implies the multi-item use case, distinguishing it in spirit from single-item price tools, but there is no explicit when-to-use/when-not or named alternative such as tb_cheapest or tb_shop. The agent must infer the routing decision.

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