Skip to main content
Glama

Search phones by name

mi_search
Read-onlyIdempotent

Find phones, tablets, and smartwatches on Mobile.ir by model name and get their IDs for follow-up filtering. Use it first when you need to identify a specific device.

Instructions

Find phones, tablets and smartwatches on Mobile.ir by name and get their ids (autocomplete, up to about 20).

Use first when the user names a model. For filters use mi_find.

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": {
      "query": "<query>"
    },
    "name": "mi_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPart of a model name, English or Persian, e.g. 'galaxy s26'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / query / description
      Previous value: -"Part of a model name in English or Persian, e.g. 'galaxy s26', 'iphone 17', 'redmi note'."New value: +"Part of a model name, English or Persian, e.g. 'galaxy s26'."
  2. First observedv0.1.1

TDQS

A4.4/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, so the safety profile is covered. The description adds genuine context beyond that: it is an autocomplete returning ids rather than full records, capped at roughly 20 results. It does not cover no-match behavior, which is the only notable gap.

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 short sentences, front-loaded with the resource and return shape, followed by the routing rule. No filler and no repetition of 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 no output schema, the description correctly compensates by saying results are ids and roughly 20 in count. For a one-parameter autocomplete with rich annotations this is nearly sufficient; only empty-result handling is unspecified.

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% and the single parameter is already well documented with length bounds and an English/Persian example. The description only restates "by name" and the language flexibility, adding little beyond the schema, 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 (find) plus resource (phones, tablets, smartwatches on Mobile.ir) and what it returns (ids via autocomplete, ~20 results). This is clearly separable from mi_find, which the description explicitly names as the filtering alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit ordering guidance ("Use first when the user names a model") and names the alternative tool plus the condition that selects it ("For filters use mi_find"). Nothing is left to inference about when to pick this versus a sibling.

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