Skip to main content
Glama

Shop prices of a phone

mi_shop_prices
Read-onlyIdempotent

Retrieve current shop prices for a Mobile.ir phone, sorted cheapest first, with shop, city, warranty, notes, and variant details for comparing offers.

Instructions

List what each shop currently charges for a phone on Mobile.ir (price in Toman, shop, city, note, warranty).

Cheapest first. Prices differ by variant: read each shop's note.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "mi_shop_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesProduct id from mi_search/mi_find, e.g. 41113.
include_oldNoInclude expired prices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / id / description
      Previous value: -"Product id from mi_search, mi_find or mi_market_prices, e.g. 41113."New value: +"Product id from mi_search/mi_find, e.g. 41113."
    • changedInput schema / properties / include_old / description
      Previous value: -"Also list older, expired shop prices."New value: +"Include expired prices."
  2. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so safety is covered. The description adds real value beyond them: result ordering ('Cheapest first'), the exact fields returned with currency unit ('price in Toman'), and a genuine caveat that prices vary by variant so the per-shop note must be read.

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 sentences, both front-loaded: the primary capability first, then the ordering and the variant caveat. Every clause carries information (unit, fields, sort, warning) with no filler.

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?

For a two-parameter read with no output schema, the description compensates well by enumerating returned fields, stating sort order and currency, and flagging the variant caveat. Pagination behavior and the meaning of include_old's effect on ordering are unaddressed, which keeps it short of full completeness.

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 100%, so both id and include_old are already documented in the schema, and the description adds no new meaning about them. Its note about variants refers to an output field rather than an input parameter, so the baseline of 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?

The description uses a specific verb and resource: 'List what each shop currently charges for a phone on Mobile.ir', and enumerates the returned fields (price in Toman, shop, city, note, warranty). The word 'currently' implicitly separates it from the historical sibling mi_price_history, but no sibling is actually named, so differentiation is inferred rather than stated.

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?

Usage context is implied: this is the tool for per-shop current pricing once you have a product id. There is no explicit statement of when to prefer mi_price_history, mi_market_prices, mi_compare or mi_shop instead, and no prerequisites are given beyond the schema's pointer to mi_search/mi_find.

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