Skip to main content
Glama

Find phones with filters

mi_find
Read-onlyIdempotent

Filter Mobile.ir's phone, tablet, or smartwatch database by brand, shop price range, OS, camera, weight, or name to return matching cards with specs and lowest shop price in Toman.

Instructions

Filter Mobile.ir's phone database like its 'mobile finder': brand, shop price range, OS, camera, weight, name.

Returns cards with id, rating, year, screen, camera and lowest shop price (Toman). If found exceeds limit, tighten the filters; the site never shows more than 100.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
osNoDefault both.
kindNoProduct class.phone
sortNoOrder of the list.rating
brandNoBrand name or id; see mi_options('brands').
limitNoRows to return.
marketNo'any' adds discontinued and cancelled.available
min_yearNoReleased this year or later.
max_priceNoHighest shop price, Toman.
min_priceNoLowest shop price, Toman. Unpriced phones are dropped.
descendingNoHighest first.
min_ratingNoMin user rating (0-10).
max_weight_gNoMax weight, grams.
min_camera_mpNoMain camera at least this many MP.
name_containsNoPart of the model name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed41 schema fields changedv0.2.0
    • removedInput schema / properties / brand / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / brand / description
      Previous value: -"Brand name (Samsung, Xiaomi, اپل) or id; see mi_options('brands')."New value: +"Brand name or id; see mi_options('brands')."
    • addedInput schema / properties / brand / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / descending / description
      Previous value: -"Highest first (default)."New value: +"Highest first."
    • changedInput schema / properties / limit / description
      Previous value: -"Rows to return (the site shows at most 100)."New value: +"Rows to return."
    • changedInput schema / properties / market / description
      Previous value: -"'available' = on sale or announced (default); 'any' adds discontinued and cancelled."New value: +"'any' adds discontinued and cancelled."
    • removedInput schema / properties / max_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / max_price / description
      Previous value: -"Highest shop price in Toman."New value: +"Highest shop price, Toman."
    • addedInput schema / properties / max_price / minimum
      Added value: +0
    • addedInput schema / properties / max_price / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / max_weight_g / anyOf
      Removed value: -[
      -  {
      -    "maximum": 952,
      -    "minimum": 2,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / max_weight_g / description
      Previous value: -"Weight at most this many grams."New value: +"Max weight, grams."
    • addedInput schema / properties / max_weight_g / maximum
      Added value: +952
    • addedInput schema / properties / max_weight_g / minimum
      Added value: +2
    • addedInput schema / properties / max_weight_g / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / min_camera_mp / anyOf
      Removed value: -[
      -  {
      -    "maximum": 300,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / min_camera_mp / description
      Previous value: -"Main camera at least this many megapixels."New value: +"Main camera at least this many MP."
    • addedInput schema / properties / min_camera_mp / maximum
      Added value: +300
    • addedInput schema / properties / min_camera_mp / minimum
      Added value: +0
    • addedInput schema / properties / min_camera_mp / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / min_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / min_price / description
      Previous value: -"Lowest shop price in Toman (e.g. 20000000). Phones without a shop price are dropped."New value: +"Lowest shop price, Toman. Unpriced phones are dropped."
    • addedInput schema / properties / min_price / minimum
      Added value: +0
    • addedInput schema / properties / min_price / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / min_rating / anyOf
      Removed value: -[
      -  {
      -    "maximum": 10,
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / min_rating / description
      Previous value: -"User rating at least this (0-10)."New value: +"Min user rating (0-10)."
    • addedInput schema / properties / min_rating / maximum
      Added value: +10
    • addedInput schema / properties / min_rating / minimum
      Added value: +0
    • addedInput schema / properties / min_rating / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedInput schema / properties / min_year / anyOf
      Removed value: -[
      -  {
      -    "minimum": 1990,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / min_year / description
      Previous value: -"Released in this year or later, e.g. 2024."New value: +"Released this year or later."
    • addedInput schema / properties / min_year / minimum
      Added value: +1990
    • addedInput schema / properties / min_year / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / name_contains / anyOf
      Removed value: -[
      -  {
      -    "maxLength": 40,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / name_contains / description
      Previous value: -"Part of the model name, e.g. 'ultra'."New value: +"Part of the model name."
    • addedInput schema / properties / name_contains / maxLength
      Added value: +40
    • addedInput schema / properties / name_contains / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / os / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "enum": [
      -        "android",
      -        "ios"
      -      ],
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / os / description
      Previous value: -"Operating systems; default both."New value: +"Default both."
    • addedInput schema / properties / os / items
      Added value: +{
      +  "enum": [
      +    "android",
      +    "ios"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / os / type
      Added value: +[
      +  "array",
      +  "null"
      +]
  2. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so safety is covered; the description adds value beyond them by describing the return card fields (id, rating, year, screen, camera, lowest shop price in Toman), which is essential given there is no output schema. It also discloses the 100-result ceiling and the `found` counter, though it does not explain whether `found` is a total match count or truncated.

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 capability and followed by the return shape and the result-cap caveat; nothing is padded. The enumerated facet list slightly duplicates what the schema already declares, which is the only inefficiency.

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 14-parameter, fully-documented, zero-required filter tool with no output schema, the description covers the essentials: what can be filtered, what comes back, and how to react to truncation. Residual gaps are the absence of pagination/offset discussion (there is no offset parameter, so the 'tighten filters' advice partially covers it) and no mention of how unpriced or discontinued items are excluded.

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 every parameter is already documented in the schema, and the baseline of 3 applies. The description adds only the high-level framing that price filtering means shop price and that results are cards; it contributes no syntax, unit, or interaction detail (e.g. how min_price interacts with max_price) beyond the schema.

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 concrete verb ('Filter') and a concrete resource ('Mobile.ir's phone database'), and enumerates the filterable facets (brand, price, OS, camera, weight, name), which lets an agent map it to a faceted catalogue search. It does not differentiate itself from siblings such as mi_search, mi_brand_models or mi_compare, so an agent must infer which of several lookup tools applies.

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?

Gives one actionable operating rule — if `found` exceeds `limit`, tighten the filters, because the site caps at 100 — which is genuinely useful guidance. It never says when to choose this over mi_search or mi_brand_models, and offers no exclusions, so the when-to-use decision is only implied by the filter list.

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