Skip to main content
Glama

All models of a brand

mi_brand_models
Read-onlyIdempotent

Pages through all Mobile.ir models for one brand and returns IDs, ratings, specs, and lowest shop prices when the 100-row search cap is too small.

Instructions

Page through every model Mobile.ir lists for one brand (id, rating, year, screen, camera, lowest shop price).

Use when mi_find's 100-row cap is too small; to filter by price or camera 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": {
      "brand": "<brand>"
    },
    "name": "mi_brand_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoProduct class.all
pageNoPage from 1 (40 per page).
sortNoOrder of the list.date
brandYesBrand name or id; see mi_options('brands').
descendingNoHighest / newest first.
only_pricedNoOnly models with a current shop price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / brand / description
      Previous value: -"Brand name (Samsung, اپل) or id; see mi_options('brands')."New value: +"Brand name or id; see mi_options('brands')."
    • changedInput schema / properties / descending / description
      Previous value: -"Highest / newest first (default)."New value: +"Highest / newest first."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, from 1 (40 models per page)."New value: +"Page from 1 (40 per page)."
  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, openWorld and non-destructive, so the safety profile is covered. The description still adds real context the annotations do not: the tool exists specifically to escape mi_find's 100-row cap and it enumerates the returned fields. It stops short of describing pagination limits or how many pages exist in total.

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 with the highest-value information: what it returns first, then the routing rule. Nothing is redundant with the schema or the annotations.

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 annotations covering safety and no output schema, the description's field enumeration is genuinely load-bearing and makes the tool callable without guessing at return shape. Minor gap: no indication of how many pages or models a brand typically yields, which matters for a paging tool.

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%, including the page size, the brand pointer to mi_options('brands'), and both enums, so the schema does the heavy lifting. The description only implies the paging model via "page through" and does not explain how sort values interact with the documented return fields. Baseline 3 is appropriate.

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?

The description names a specific verb and resource ("Page through every model Mobile.ir lists for one brand") and enumerates what each entry contains (id, rating, year, screen, camera, lowest shop price). An agent can distinguish it from mi_find or mi_search 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 Guidelines5/5

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

It states the exact condition that selects this tool ("Use when mi_find's 100-row cap is too small") and routes the agent away for a different need ("to filter by price or camera use mi_find"). Explicit when-to-use and named alternative in one line, though the line between filtering by price/camera and this tool's own sort values for price/camera is faint.

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