Skip to main content
Glama

جستجوی پزشک در اپ‌های نوبت‌دهی ایران

search_doctor
Idempotent

Search a doctor by name across five Iranian booking platforms, merge duplicate profiles, and get the first free appointment, price in Toman, and booking links.

Instructions

Search a doctor BY NAME across the 5 Iranian booking platforms that support name search + free appointment + price (Paziresh24 پذیرش۲۴, Doctoreto دکترتو, Nobat.ir نوبت, DrNext دکترنکست, Darmankade درمانکده). Returns a Persian report: summary, one block per doctor (profiles of the same person on different sites are merged) with first free time, price in Toman and booking links, best options, next steps and platform status. Also saves an interactive HTML page and returns its path: give that path to the user. Use Persian names (e.g. «مریم احمدی»); last name alone also works. ALWAYS pass city when the user mentions one: each platform is then searched inside that city, so local doctors are not crowded out.

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

Input Schema

NameRequiredDescriptionDefault
cityNoCity in Persian (e.g. 'تهران', 'اصفهان', 'مشهد'). Platforms are searched within this city.
htmlNoSave an interactive HTML page of the results (default: on, see DOCTOR_MCP_HTML)
nameYesDoctor name in Persian, e.g. 'دکتر مریم احمدی' or 'احمدی'
sortNoSort ordersoonest
platformsNoSubset of platforms (default all): paziresh24, doctoreto, nobat, drnext, darmankade
visit_typeNoFilter visit typeall
include_jsonNoAlso append raw structured JSON of all results
max_per_platformNoMax matching doctors to open per platform (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing that profiles of the same person across sites are merged, that the response is a Persian report with free-time/price-in-Toman/booking links, and that an HTML file is written to disk and its path must be handed to the user. That side effect usefully explains why readOnlyHint is false. It stops short of covering timeouts, per-platform failure handling, or rate limits.

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?

Front-loads the core action and platform list, then layers output shape, name format, and the city rule in a logical order. Sentences are long and dense—the returned-report sentence in particular crams summary/steps/status into one breath—but no sentence is pure filler.

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 8 parameters, no output schema, and a non-trivial side effect, the description does the heavy lifting: it describes the report structure, the HTML artifact, and the name/city conventions. Minor gaps remain on sort ordering, visit-type filtering, and include_json, which an agent must infer from the schema alone.

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 already 100%, so the tool is not relying on the description for parameter documentation. The description nonetheless adds meaning: Persian script for the name, that a surname alone suffices, and the consequence of supplying city (search scoped inside that city). sort, visit_type, include_json and max_per_platform are left entirely to 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?

States a specific verb (search), resource (doctor), and matching key (BY NAME) plus the exact scope: the 5 named Iranian platforms. An agent can immediately tell this apart from get_doctor_details or list_platforms because the description enumerates what is searched and what comes back.

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?

Gives concrete invocation guidance: use Persian names, last name alone works, and 'ALWAYS pass city when the user mentions one' with the reason (local doctors crowded out otherwise). It lacks explicit routing advice such as when to move to get_doctor_details for a single doctor, so it stops 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.

Deploy Server

Other Tools