Skip to main content
Glama

User comments on a phone

mi_comments
Read-onlyIdempotent

Retrieve Mobile.ir user comments for a phone, tablet, or watch by product ID, including comment text, Persian dates, likes, and reply relationships.

Instructions

Read what Mobile.ir users wrote about a phone, tablet or watch: comment text, date (Persian calendar), likes.

reply_to is the comment id a comment answers.

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

Input Schema

NameRequiredDescriptionDefault
idYesProduct id from mi_search/mi_find, e.g. 41113.
sortNoOrder of the comments.newest
limitNoComments to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / id / description
      Previous value: -"Product id from mi_search, mi_find or mi_market_prices, e.g. 41113."New value: +"Product id from mi_search/mi_find, e.g. 41113."
    • changedInput schema / properties / sort / description
      Previous value: -"'helpful' puts the most liked comments first."New value: +"Order of the comments."
  2. First observedv0.1.1

TDQS

A3.8/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 safety is covered. The description adds genuinely new context: this is user-generated content from a specific site, dates are in the Persian calendar, and replies are nested via `reply_to`. Pagination/total-count behavior is not mentioned, which is the main remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with what the tool returns, followed by the one non-obvious structural note. No filler or restatement of the name. The `reply_to` sentence is slightly ambiguous in placement since that key is not an input parameter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the burden of describing returns, and it does: comment text, Persian-calendar date, likes, and reply threading. Combined with full schema coverage on the three inputs and complete read-only annotations, an agent has everything needed to call this correctly.

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 id, sort enum and limit already documented including ranges and defaults, so the baseline is 3. The description adds no meaning for sort or limit, only explaining `reply_to`, which is actually a response field rather than an input parameter. Schema does the heavy lifting here.

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 (Read) and resource (Mobile.ir user comments on a phone, tablet or watch) and enumerates the returned content: comment text, Persian-calendar date, likes. It clearly separates this from sibling tools like mi_articles or mi_phone by focusing on user-written comments. It stops short of explicitly naming a contrasting sibling, which keeps it from a 5.

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: an agent infers this tool is called after obtaining a product id from search. The description never states when to use it versus alternatives, nor any prerequisite or follow-up step. The pointer to mi_search/mi_find exists only in the schema's id description, not in the tool description.

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