Skip to main content
Glama

Search Aparat

apr_search
Read-onlyIdempotent

Find Aparat videos and channels by Persian or English search text, with relevance-ordered results and next-page tokens for continued browsing.

Instructions

Search Aparat videos and channels by text.

Returns matching channels and videos in relevance order (about 40 per page). Pass next for more. Use apr_video with a uid for full details, apr_channel with a username for a channel.

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": "apr_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
nextNo`next` token from a previous result, for the next page.
queryYesPersian or English search text, at least 2 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A4/5.0
Behavior3/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 useful behavior beyond that: results come back in relevance order, roughly 40 per page, with the `next` token for continuation. It stops short of describing result field shape or whether the two result types are interleaved or grouped.

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?

Front-loaded with the purpose in the first sentence, then pagination, then drill-down routing. No filler sentences and no repetition of the structured fields.

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 two-parameter search tool with no output schema, the description supplies page size, ordering, continuation mechanism, and next-step tools, which is close to sufficient. Only the shape of individual results is left unspecified, which an agent could need before parsing.

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%, so `query` (Persian or English, 2+ chars) and `next` are already documented in the schema. The description's "Pass `next` for more" restates rather than extends that, adding only the page-size context (~40) which is marginally useful.

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 and resource ("Search Aparat videos and channels by text") and implicitly scopes the tool to discovery rather than detail retrieval. It distinguishes itself from apr_video and apr_channel by naming them as the drill-down tools for the results this search returns.

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?

Explicitly routes the agent: use apr_video with a uid or apr_channel with a username once a result is chosen, which establishes this as the entry point. It does not exclude alternatives such as apr_trending or apr_categories, so the when-not-to-use case is left implicit.

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