Skip to main content
Glama

Suggest cities, specialties and queries

pz_suggest
Read-onlyIdempotent

Resolve Persian or English city, specialty, symptom, or doctor-name input into slugs and type-ahead completions for pz_search_doctors arguments.

Instructions

Turn words into pz_search_doctors arguments: matching cities (city slug), specialties (specialty slug) and the site's type-ahead query completions (use one as text).

Call this first when you do not know the English city slug or the specialty slug. Then call pz_search_doctors with city=, specialty= or text=.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax items in each list.
queryYesPersian or English word: a city ('تهران', 'shiraz'), a specialty or symptom ('قلب', 'پوست'), or the start of a doctor's name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent, and non-destructive, so the safety profile is covered. The description adds meaningful context beyond that: the data is the site's type-ahead completions and is intended as a precursor resolution step. It stops short of describing the return structure, though an output schema exists.

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, front-loaded with the core mapping and then the workflow guidance. Every clause carries information; no waste.

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

Completeness5/5

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

With an output schema present, return values need not be explained, and the description covers the resolution-then-search workflow an agent needs to use this tool correctly.

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 coverage is 100%, so the schema already documents query and limit. The description restates the kinds of input words but adds no format or syntax detail beyond the schema, so the baseline 3 is appropriate.

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+resource: turning words into pz_search_doctors arguments (city slug, specialty slug, type-ahead completions). It explicitly names the sibling it feeds into, so an agent distinguishes it from pz_search_doctors without opening either schema.

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?

Gives explicit when-to-use ('Call this first when you do not know the English city slug or the specialty slug') and the exact follow-up call with argument mapping (city=<slug>, specialty=<slug>, text=<completion>). The alternative path is fully specified.

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