Skip to main content
Glama

A shop's phone price list

mi_shop
Read-onlyIdempotent

Retrieve a Mobile.ir shop profile and the phones it lists with current prices in Toman; open the shop URL for contact details.

Instructions

Show one Mobile.ir shop's profile and the phones it lists with their current prices in Toman.

For one model across all shops use mi_shop_prices. Contact details: open shop_url.

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": {
      "shop_id": "<shop_id>"
    },
    "name": "mi_shop"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage from 1 (20 per page).
brandNoOnly this brand (name or id).
shop_idYesShop id, mi_options('shops').
name_containsNoPart of the model name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.2.0
    • removedInput schema / properties / brand / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / brand / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / name_contains / anyOf
      Removed value: -[
      -  {
      -    "maxLength": 40,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / name_contains / maxLength
      Added value: +40
    • addedInput schema / properties / name_contains / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / page / description
      Previous value: -"Page number, from 1 (20 phones per page)."New value: +"Page from 1 (20 per page)."
    • changedInput schema / properties / shop_id / description
      Previous value: -"Shop id from mi_options('shops') or mi_shop_prices."New value: +"Shop id, mi_options('shops')."
  2. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuine value beyond that by disclosing what comes back (shop profile + listed phones with current prices, denominated in Toman) and where contact details surface, which matters since there is no output schema. It says nothing about pagination limits or result counts.

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, zero waste. The primary purpose leads, and the sibling routing plus output-fact follow. Nothing is buried or repeated from the schema.

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 four fully documented parameters and no output schema, the description carries the right load by stating what is returned and in which currency. Minor gaps remain around pagination/result totals and how brand and name_contains filter within a single shop, but nothing that would cause a failed call.

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 description coverage is 100%, so page, brand, shop_id and name_contains are already explained, including the 20-per-page size and the mi_options('shops') source for shop_id. The description adds no parameter-level meaning beyond 'one shop', so the baseline 3 applies.

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?

States a specific verb and resource with explicit scope: 'Show one Mobile.ir shop's profile and the phones it lists with their current prices in Toman.' The 'one shop' scoping distinguishes it immediately from the cross-shop sibling mi_shop_prices, so an agent can route without opening the schema.

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?

Gives an explicit alternative with its selecting condition ('For one model across all shops use mi_shop_prices'), plus a pointer that contact details live in `shop_url`. It does not address other plausibly confusable siblings such as mi_phone or mi_search, so routing for those cases is left to inference.

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