Skip to main content
Glama

Read a news article or review

mi_article
Read-onlyIdempotent

Reads one Persian Mobile.ir news item, expert review, or product introduction as text without images. Use offset and max_chars to retrieve long articles in parts.

Instructions

Read the text of one Mobile.ir news item, expert review or product introduction (Persian, images dropped).

Take source, id, phone_id from mi_articles. For long texts use total_chars and call again with offset.

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": {
      "source": "<source>",
      "id": "<id>"
    },
    "name": "mi_article"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesArticle id.
offsetNoStart character.
sourceYesFrom mi_articles; for 'intro' the id is the product id.
phone_idNoProduct id (required for 'review').
max_charsNoCharacters to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.2.0
    • changedInput schema / properties / id / description
      Previous value: -"Article id (news id, review id, or product id for 'intro')."New value: +"Article id."
    • changedInput schema / properties / offset / description
      Previous value: -"Start at this character, to read a long review in parts."New value: +"Start character."
    • removedInput schema / properties / phone_id / anyOf
      Removed value: -[
      -  {
      -    "minimum": 1,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / phone_id / description
      Previous value: -"Product id the review belongs to (required for 'review')."New value: +"Product id (required for 'review')."
    • addedInput schema / properties / phone_id / minimum
      Added value: +1
    • addedInput schema / properties / phone_id / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • changedInput schema / properties / source / description
      Previous value: -"From mi_articles: 'news', 'review' or 'intro' (for 'intro' the id is the product id)."New value: +"From mi_articles; for 'intro' the id is the product id."
  2. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely useful context beyond that: output is Persian, images are dropped, and text may be truncated. It says nothing about rate limits, auth, or what happens on an invalid id, so the addition is real but modest against an already-complete annotation set.

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, no filler, with the what-it-returns statement front-loaded and the operational recipe second. Every clause carries information an agent needs.

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 five-parameter read tool with no output schema, the description covers content type, language, image stripping, pagination, and id sourcing – enough to invoke it correctly. Only error/edge-case behavior (invalid id, missing phone_id for reviews) is left unstated.

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 the schema already documents all five parameters including the enum and the review/intro id quirks. The description adds only the provenance of the ids and the offset/total_chars pagination loop, which is helpful but marginal against a fully documented schema – 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?

"Read the text of one Mobile.ir news item, expert review or product introduction" gives a specific verb plus the exact resource variants, and the phrase "one" together with the pointer to mi_articles separates it from the listing sibling. An agent can tell this is the single-item fetch rather than the index tool without opening a schema.

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

Usage Guidelines4/5

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

It states the precondition (obtain `source`, `id`, `phone_id` from mi_articles) and the continuation rule for long texts (use `total_chars`, call again with `offset`). There is no explicit when-not guidance or note on failure modes for a bad id, so it falls short of a full 5.

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