Skip to main content
Glama

Search courses

mkh_search
Read-onlyIdempotent

Search Persian online courses by title or topic, returning price, discount, hours, rating, student count, and teachers so you can compare relevant results.

Instructions

Full-text search of courses by title/topic: price, discount, hours, rating, students, teachers.

Max 300 matches, no filters (use mkh_browse or mkh_cheapest for those). Next: mkh_course.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number, 1 = first.
limitNoCourses per page.
queryYesTopic, Persian or English, e.g. 'پایتون'.
sortingNoResult order.relevance

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • changedInput schema / properties / query / description
      Previous value: -"Course topic, Persian or English, e.g. 'پایتون' or 'python'."New value: +"Topic, Persian or English, e.g. 'پایتون'."
  2. First observedv0.1.2

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, and the description adds a real constraint the schema does not express: results are capped at 300 matches, which matters given page up to 1000 and limit up to 50. It stops short of saying how matches beyond the cap are handled or what happens with empty/zero-hit queries.

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 tight lines: capability plus what a hit contains first, then constraints, alternatives and next step. No filler, and the most decision-relevant routing information (no filters, use mkh_browse) is easy to find.

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 the fields available per match and signals the follow-up call for detail, which is enough for an agent to act. The one gap is that it never says what a zero-result or truncated (300+) response looks like.

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%, so page, limit, sorting and query are already documented, including the Persian/English hint and the sorting enum. The description adds only the loose framing of the query as 'title/topic', which does not extend parameter meaning much beyond the schema.

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?

The description names a specific verb and resource ('Full-text search of courses by title/topic') and enumerates the fields a match carries (price, discount, hours, rating, students, teachers). It also implicitly distinguishes itself from sibling list/browse tools by scoping to a text query.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states the tool has no filters and routes the agent to mkh_browse or mkh_cheapest for filtered browsing. The 'Next: mkh_course' line gives the natural follow-up call, so both when-to-use and the workflow after are covered.

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