Skip to main content
Glama

Free courses

mkh_free_courses
Read-onlyIdempotent

Retrieve free courses from Maktabkhooneh filtered by category, level, minimum rating, or sorting to find no-cost learning options and compare hours, ratings, and student counts.

Instructions

List the free courses (final_price 0, about 740), optionally in one category: hours, rating, students.

A certificate may still cost money. Next: mkh_course.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1 = first.
levelNoCourse level.any
limitNoCourses per page.
sortingNomanual = site order, rate = best rated.popular
min_ratingNoMinimum average rating.
category_slugNoSlug from mkh_categories, e.g. 'python'; '-' = all.-

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / category_slug / description
      Previous value: -"Category slug from mkh_categories, e.g. 'python' or 'programming'; '-' = every category."New value: +"Slug from mkh_categories, e.g. 'python'; '-' = all."
    • changedInput schema / properties / sorting / description
      Previous value: -"popular, new, rate = best rated, manual = site order."New value: +"manual = site order, rate = best rated."
  2. First observedv0.1.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered structurally. The description adds useful behavior beyond that: the expected result-set size (~740) and the caveat that 'a certificate may still cost money', which prevents the agent from over-promising zero total cost. It says nothing about pagination limits or how results are ordered by default, so with annotations doing most of the work a 3 is fair.

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 tight sentences with the core fact (free = final_price 0) and the next-step pointer front-loaded; nothing is wasted. The only bloat is the ambiguous 'hours, rating, students' fragment, which costs clarity rather than length.

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

Completeness3/5

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

There is no output schema, but the description does not describe the returned item shape either, and the unexplained sort/filter fragment leaves the agent guessing how to order by hours, rating, or students. Given a 6-parameter, zero-required list tool with full schema coverage and rich annotations, it is adequate but not complete.

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% (page, level, limit, sorting, min_rating, category_slug are all documented in-schema), so the baseline is 3 and the description does not need to compensate. What it does add is partially misleading: 'hours, rating, students' do not correspond to the sorting enum (manual/popular/new/rate) or any other schema field, so it creates a mismatch rather than extra meaning.

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 and resource ('List the free courses') and defines 'free' precisely as 'final_price 0' with an approximate result count (~740), which lets an agent distinguish this from paid-course siblings like mkh_cheapest or mkh_deals. The trailing clause 'optionally in one category: hours, rating, students' is muddled — those read like sort criteria, not categories, and only 'category_slug' exists in the schema — so the scope statement is slightly blurred.

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?

Usage context is clear: use this to enumerate zero-price courses, optionally narrowed by category, and 'Next: mkh_course' explicitly routes the agent to the detail tool afterwards. It lacks any explicit exclusion (e.g., when to prefer mkh_cheapest or mkh_deals instead), which keeps it short of a 5.

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