Skip to main content
Glama

Browse courses with filters

mkh_browse
Read-onlyIdempotent

Filter and list Maktabkhooneh courses by category, type, level, hours, rating, publisher, and features to discover matching Persian online courses.

Instructions

List courses of a category (or all about 5700) with the site's own filters: type, level, hours, rating, publisher, feature.

No text query (use mkh_search) and no price filter (use mkh_cheapest).

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_browse"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1 = first.
typeNopaid (Maktab Plus), free, or any.any
levelNoCourse level.any
limitNoCourses per page.
featureNoRequire one feature.any
sortingNomanual = site order, rate = best rated.popular
durationNoTotal hours; '1h' = under 1, '15h' = over 15.
min_ratingNoMinimum average rating.
category_slugNoSlug from mkh_categories, e.g. 'python'; '-' = all.-
organization_idsNoPublisher ids from mkh_organizations, e.g. [2].

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 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 / duration / description
      Previous value: -"Total hours: '1h' = under 1, '15h' = over 15."New value: +"Total hours; '1h' = under 1, '15h' = over 15."
    • changedInput schema / properties / organization_ids / description
      Previous value: -"Publisher ids from mkh_organizations, e.g. [2] (Maktabkhooneh) or [3] (University of Tehran)."New value: +"Publisher ids from mkh_organizations, e.g. [2]."
    • changedInput schema / properties / sorting / description
      Previous value: -"manual = the site's default order, popular, new, rate = best rated."New value: +"manual = site order, rate = best rated."
  2. First observedv0.1.2

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered by structured data. The description adds only the catalog scale (~5700 courses) and the notion of using the site's own filter facets. It says nothing about pagination behavior or result ordering beyond what the sorting enum already implies.

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 sentences, zero filler. The capability statement comes first and the routing/exclusion sentence second, which is exactly the right front-loading for an agent scanning for a browse tool.

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?

With 10 optional parameters and no output schema, the description carries some burden for explaining what a call returns — a page of courses plus what pagination metadata? That is left unspecified, as is the interaction between page/limit and the 1000/50 caps. The filter surface itself is adequately framed, so this is adequate-but-gapped rather than deficient.

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 self-documenting enums (duration, min_rating, sorting, feature) and even slug/ID provenance hints ("from mkh_categories", "from mkh_organizations"). The description's filter list in the first sentence merely restates those parameter names, adding little meaning beyond the schema, so baseline 3 applies.

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 ("List courses") plus scope ("of a category (or all about 5700)") and enumerates the filter axes it exposes: type, level, hours, rating, publisher, feature. This maps directly onto the sibling distinction against mkh_search and mkh_cheapest, so an agent can identify the tool without opening the schema.

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 states two exclusions with the correct alternative for each: "No text query (use mkh_search) and no price filter (use mkh_cheapest)." That is genuine when-not/alternative routing. It misses one obvious overlap, however — mkh_free_courses is effectively reachable here via type=free, and the description never says which to prefer.

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