Skip to main content
Glama
faradars-mcp
by sepehr071

Compare courses

fr_compare_courses
Read-onlyIdempotent

Compare 2–4 Faradars courses side by side on price, sale, length, lessons, students, rating, certificate, and exams to guide course selection.

Instructions

Compare 2-4 Faradars courses side by side: price, sale, length, lessons, students, rating, certificate, exams.

best names the cheapest, longest, most popular and best rated course (rating needs 50+ reviews). Prices are Toman.

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": {
      "slugs": "<slugs>"
    },
    "name": "fr_compare_courses"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsYes2-4 course slugs or URLs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / slugs / description
      Previous value: -"2 to 4 course slugs or URLs from fr_search_courses."New value: +"2-4 course slugs or URLs."
  2. First observedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's job is added context, which it delivers: the exact compared fields, the meaning of the `best` key, the 50+ review threshold for the rating winner, and the Toman currency. It stops short of describing error behavior for invalid or duplicate slugs.

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, front-loaded with the operation and the compared dimensions, followed by the qualification about `best` and currency. No filler or redundant restatement of the tool name.

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?

With no output schema, the description usefully enumerates what comes back and clarifies the derived `best` field and its rating caveat, which an agent could not otherwise infer. Minor residual gaps remain around failure modes (fewer than 2 valid slugs, unknown slugs) and result ordering.

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 minItems/maxItems already encoding the 2-4 constraint, so the schema carries the parameter burden. The description only echoes the cardinality and adds nothing about slug/URL format, ordering of results, or how matches are resolved.

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 ('Compare 2-4 Faradars courses side by side') and enumerates the compared attributes (price, sale, length, lessons, students, rating, certificate, exams). This scope of 2-4 courses in one call cleanly separates it from fr_course (single course) and fr_search_courses (discovery) without needing to name them.

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?

The 2-4 course range implies the intended scenario (side-by-side evaluation) rather than single-course lookup, and the note on 'best' explains what the aggregate output is for. However, there is no explicit guidance on when to prefer this over repeated fr_course calls or the review/instructor siblings.

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