Skip to main content
Glama

Brands, provinces, shops, operators

mi_options
Read-onlyIdempotent

Lists valid IDs for brands, provinces, price-listing shops, and SIM operator prefixes so Mobile.ir tool arguments can be filled correctly.

Instructions

List the ids the other Mobile.ir tools take: brands, provinces, price-listing shops, SIM operator prefixes.

Brand names are also accepted directly by brand arguments.

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": {
      "what": "<what>"
    },
    "name": "mi_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the useful fact that brand names may be passed directly instead of resolved ids, but says nothing about the returned id format, ordering, or whether results are cached/static. With annotations carrying the safety burden, this is adequate but not rich.

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 with no filler. The core purpose is front-loaded and the brand-name exception follows immediately after as a parenthetical caveat, which is the right ordering.

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 one-parameter enum lookup with no output schema, the description covers what the tool returns ('the ids') and why an agent would want them. Minor gaps remain: no hint about the shape/cardinality of the returned id list or whether any category requires prior context, but these are small for a tool of this simplicity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, but the single parameter is a fully self-documenting enum. The description earns credit by glossing values the enum names alone don't disambiguate: 'price-listing shops' and 'SIM operator prefixes' clarify what those two options actually return, and the opening clause explains the purpose of every id category.

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 gives a specific verb ('List') and an explicit resource set (brands, provinces, price-listing shops, SIM operator prefixes), and frames the tool as a lookup of ids consumed by the other Mobile.ir tools. That framing separates it from siblings like mi_search or mi_shop_prices, though it never names a specific sibling tool that would otherwise be confused with it.

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 implied rather than stated: the agent must infer it should call this before tools that require ids. The one genuinely useful conditional is 'Brand names are also accepted directly by `brand` arguments', which tells the agent the brands lookup is optional for brand parameters. There is no explicit when/when-not rule and no mapping of which sibling tools need which id category.

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