Skip to main content
Glama

Search SIM card numbers

mi_sim_search
Read-onlyIdempotent

Find SIM card numbers listed for sale on Mobile.ir by operator, price, prefix, or number digits, with page details and seller contact URL.

Instructions

Search the SIM card numbers users sell on Mobile.ir (Iran's numbered-SIM market): operator, number, price.

Output number is the full 11-digit number; open url on the site to contact the seller.

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_sim_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoUpdated within this many days (-1 = all).
pageNoPage from 1 (20 per page).
planNopostpaid = دائمی, prepaid = اعتباری.any
sortNoUnpriced ads sort cheapest; set min_price to skip them.date
matchNoHow `number` matches.contains
numberNoDigits of the 7-digit part after the 09xx prefix, e.g. '1111'.
prefixNoExact prefix, e.g. 0912 (overrides operator).
operatorNoPrefixes per operator: mi_options('operators').
provinceNoProvince id, mi_options('provinces') (1 = Tehran).
conditionNoNew (صفر) or used line.any
max_priceNoToman, highest price (unpriced ads dropped).
min_priceNoToman, lowest price.
descendingNoNewest / priciest / highest number first.
round_onlyNoOnly 'round' (رند) numbers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed28 schema fields changedv0.2.0
    • changedInput schema / properties / condition / description
      Previous value: -"New (صفر) or used (کارکرده) line."New value: +"New (صفر) or used line."
    • changedInput schema / properties / days / description
      Previous value: -"Ads updated within this many days (-1 = all)."New value: +"Updated within this many days (-1 = all)."
    • changedInput schema / properties / descending / description
      Previous value: -"Newest / most expensive / highest number first."New value: +"Newest / priciest / highest number first."
    • changedInput schema / properties / match / description
      Previous value: -"How `number` must match."New value: +"How `number` matches."
    • removedInput schema / properties / max_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / max_price / minimum
      Added value: +0
    • addedInput schema / properties / max_price / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / min_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / min_price / minimum
      Added value: +0
    • addedInput schema / properties / min_price / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedInput schema / properties / number / anyOf
      Removed value: -[
      -  {
      -    "pattern": "^\\d{1,7}$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / number / description
      Previous value: -"Digits of the 7-digit subscriber part to match (after the 09xx prefix), e.g. '1111' or '5555'."New value: +"Digits of the 7-digit part after the 09xx prefix, e.g. '1111'."
    • addedInput schema / properties / number / pattern
      Added value: +"^\\d{1,7}$"
    • addedInput schema / properties / number / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / operator / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "mci",
      -      "irancell",
      -      "rightel",
      -      "taliya",
      -      "shatel"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / operator / description
      Previous value: -"mci = Hamrah-e Aval (0910-0919, 0990-0996), irancell (090x, 093x), rightel (092x), taliya (0932), shatel (0998)."New value: +"Prefixes per operator: mi_options('operators')."
    • addedInput schema / properties / operator / enum
      Added value: +[
      +  "mci",
      +  "irancell",
      +  "rightel",
      +  "taliya",
      +  "shatel",
      +  null
      +]
    • addedInput schema / properties / operator / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedInput schema / properties / page / description
      Previous value: -"Page number, from 1 (20 ads per page)."New value: +"Page from 1 (20 per page)."
    • changedInput schema / properties / plan / description
      Previous value: -"postpaid = permanent (دائمی), prepaid = credit (اعتباری)."New value: +"postpaid = دائمی, prepaid = اعتباری."
    • removedInput schema / properties / prefix / anyOf
      Removed value: -[
      -  {
      -    "pattern": "^09\\d{2}$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / prefix / description
      Previous value: -"One exact prefix such as 0912 (overrides operator)."New value: +"Exact prefix, e.g. 0912 (overrides operator)."
    • addedInput schema / properties / prefix / pattern
      Added value: +"^09\\d{2}$"
    • addedInput schema / properties / prefix / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / province / anyOf
      Removed value: -[
      -  {
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / province / description
      Previous value: -"Province id from mi_options('provinces') (1 = Tehran, 5 = Isfahan, 14 = Khorasan Razavi)."New value: +"Province id, mi_options('provinces') (1 = Tehran)."
    • addedInput schema / properties / province / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • changedInput schema / properties / sort / description
      Previous value: -"Order of the ads. Unpriced ads sort as the cheapest: set min_price with sort=price to skip them."New value: +"Unpriced ads sort cheapest; set min_price to skip them."
  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 cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the bar is lower, and the description still adds two useful behavioral facts: that the returned `number` is the full 11-digit form even though the query takes only the 7-digit stem, and that contacting the seller happens by opening `url` externally rather than through the tool. It does not mention pagination limits or the 20-per-page cap, but the schema covers those.

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 tight sentences with the resource and domain front-loaded, followed by the one output-behavior detail an agent could not get from the schema. Nothing is redundant with the annotations or parameter descriptions.

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?

For a 14-parameter, filter-heavy search tool with no output schema, the definition covers what the tool is and the shape of the key return field, which is the essential part. It stops short of explaining result volume, how to page through a large listing set, or why one would pick this over mi_sim_summary, leaving gaps that matter at this complexity.

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% with enums on six parameters, so the schema already carries the parameter semantics and a baseline of 3 applies. The description's only added parameter-related meaning is the query-vs-output number format distinction, which clarifies but does not extend the documented `number`/`match` behavior.

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 names a specific verb (search) and a specific resource (SIM card numbers listed for sale on Mobile.ir), and clarifies the domain as Iran's numbered-SIM market with the three attributes returned (operator, number, price). It does not explicitly distinguish itself from siblings such as mi_used_search or mi_sim_summary, so an agent must infer the boundary from the resource name alone.

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 is only implied: the description establishes that this searches SIM listings, from which an agent can infer it is the right tool for SIM-number queries. There is no explicit statement of when to prefer it over mi_used_search, mi_search, or mi_sim_summary, and no mention of prerequisites or result limits.

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