Skip to main content
Glama
faradars-mcp
by sepehr071

Search courses

fr_search_courses
Read-onlyIdempotent

Search Faradars courses and videos by text, category, price, duration, certificate, or instructor to find matching learning content.

Instructions

Search Faradars (faradars.org) courses and videos by text, category, price, length, certificate or instructor.

Pass a result slug to fr_course. Prices are Toman; sale_price only during a sale. related_categories slugs can narrow via category.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "fr_search_courses"
  }
}

Input Schema

NameRequiredDescriptionDefault
freeNoTrue = free only, False = paid only.
kindNovideo = single videos; blind = made for blind learners.
pageNoPage, from 1.
sortNorelevance suits a query; trend_count = trending now.most_sold
limitNoPer page.
queryNoFree text, e.g. پایتون.
categoryNoCategory slug from fr_categories, or id.
durationNoTotal length bucket.
upcomingNoTrue = only unreleased items.
instructorNoInstructor slug from fr_instructors.
certificateNoTrue = certificate only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.2.0
    • changedInput schema / properties / category / description
      Previous value: -"Category slug from fr_categories (e.g. python, programming) or numeric id."New value: +"Category slug from fr_categories, or id."
    • changedInput schema / properties / certificate / description
      Previous value: -"True = only items with a certificate."New value: +"True = certificate only."
    • changedInput schema / properties / duration / description
      Previous value: -"Total video length bucket."New value: +"Total length bucket."
    • changedInput schema / properties / free / description
      Previous value: -"True = only free items, False = only paid. Omit for both."New value: +"True = free only, False = paid only."
    • changedInput schema / properties / instructor / description
      Previous value: -"Instructor slug from fr_instructors, e.g. pejman-eqbali."New value: +"Instructor slug from fr_instructors."
    • changedInput schema / properties / kind / description
      Previous value: -"course = multi-lesson courses, video = single videos, exam, podcast, webinar, book, blind = made for blind learners."New value: +"video = single videos; blind = made for blind learners."
    • changedInput schema / properties / limit / description
      Previous value: -"Results per page (1-24)."New value: +"Per page."
    • changedInput schema / properties / page / description
      Previous value: -"Page number, starting at 1."New value: +"Page, from 1."
    • changedInput schema / properties / query / description
      Previous value: -"Free text, Persian or English, e.g. پایتون or Excel."New value: +"Free text, e.g. پایتون."
    • changedInput schema / properties / sort / description
      Previous value: -"most_sold (default; with category it is the top-selling list), relevance (best with a query), most_viewed, newest, trend_count (trending now)."New value: +"relevance suits a query; trend_count = trending now."
    • changedInput schema / properties / upcoming / description
      Previous value: -"True = only items still in production (not yet published) instead of live ones."New value: +"True = only unreleased items."
  2. First observedv0.1.2

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, non-destructive and open-world, so the safety profile is covered. The description adds real business behavior not in the schema: prices are denominated in Toman and `sale_price` is only present during a sale, and it identifies `related_categories` as a usable response field. It still omits pagination bounds and whether totals are returned.

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?

Three short blocks: purpose, workflow hand-off, then semantic caveats. Nothing is wasted and the primary purpose is front-loaded. The final sentence about `related_categories` is terse to the point of slight ambiguity, since no output schema exists to explain that field.

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 an 11-parameter, zero-required, read-only search tool with full schema coverage and a strong annotation set, the description supplies most of what is needed: purpose, downstream hand-off, currency semantics, and one cross-field hint. It could still say more about result volume and paging behavior, given there is no output schema.

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 100%, so the baseline is 3. The description earns the bump by documenting a second legitimate source for the `category` value — slugs surfaced in `related_categories` — beyond the schema's 'slug from fr_categories, or id'. Otherwise it defers correctly to the schema for the 11 parameters.

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?

A specific verb (search) plus resource (Faradars courses/videos) and an enumeration of filterable facets: text, category, price, length, certificate, instructor. This clearly separates it from detail-oriented siblings like fr_course. The only blemish is that it says 'courses and videos' while the kind enum also covers book, exam, podcast, webinar and blind.

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?

It implies the search-then-fetch workflow by saying to pass a result `slug` to fr_course, which is useful routing. But it never states when to prefer this over fr_suggest, fr_related_courses, or fr_compare_courses, and gives no exclusions or prerequisites for the filters.

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