Skip to main content
Glama
sepehr071

torob-mcp

by sepehr071

Deal check

tb_deal_check
Read-onlyIdempotent

Check whether a product price is a good deal by scoring it 0-100 from its past-year weekly minimums and today's competing offers.

Instructions

Is this a good price? Score 0-100 from the product's price history and today's competing offers.

Heuristic (documented, not Torob's): start at 100 minus the percentile of the price in the past year's weekly minimums (cheaper than most weeks = high score), minus up to 20 points when the price is above today's cheapest usable offer. 70+ good deal, 40-69 fair, below 40 wait or shop around. reasons explains the score. Costs 2 requests (chart + sellers).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
priceNoA price in Toman you were offered; default: today's cheapest usable offer.
productYesProduct id (the UUID from search cards, e.g. '57ea65ae-0798-4cd0-96a7-38d8af180345'), a '/p/<id>/...' path or a full torob.com product URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/open-world/non-destructive, and the description adds genuinely new behavior: the explicit cost of 2 requests, the internal sources it calls (chart + sellers), the scoring heuristic, and the `reasons` output field. That is well beyond what the annotations declare.

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?

Front-loaded with the purpose and result before any methodology, and each sentence earns its place (bands, cost, reasons field). The heuristic paragraph is dense but justified since it explains how to interpret the output; only the '(documented, not Torob's)' aside borders on expendable.

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 carries the return-value burden and does cover the score scale, the `reasons` field, and the request cost. It stops short of enumerating the full response shape, but for a read-only scoring tool this is nearly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds real meaning: it explains how the price input is used (percentile against the past year's weekly minimums, penalty when above today's cheapest usable offer) and confirms the default. This clarifies the parameter's role in the algorithm, not just its format.

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?

Opens with a specific question ('Is this a good price?') and states exactly what it produces: a 0-100 score derived from price history and today's offers. This clearly separates it from data-returning siblings like tb_price_chart or tb_price_history, which report numbers rather than render a verdict.

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?

The framing question plus the score bands (70+ good deal, 40-69 fair, below 40 wait or shop around) make the intended use case and interpretation clear. However, it never names a sibling as an alternative or states when-not to use it (e.g. vs tb_cheapest or tb_best_value), so an agent must infer the routing.

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