Skip to main content
Glama

Hospital or clinic profile

pz_center
Read-onlyIdempotent

Retrieve hospital or clinic profiles with address, phone, website, map, departments, and doctor lists by specialty and insurance to compare care options.

Instructions

Profile of a hospital or clinic: type, address, phone, website, map, about, departments and its doctors (slug, department, specialty, basic insurances).

For its doctors by nearest free time: pz_search_doctors(center_id=..., sort='earliest').

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

Input Schema

NameRequiredDescriptionDefault
slugYesCenter slug (or URL) from a pz_search_doctors center result.
full_textNoDo not clip about (1500 chars).
specialtyNoOnly doctors whose department or specialty contains this Persian text.
doctors_limitNo0 = none.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.0
    • changedInput schema / properties / doctors_limit / description
      Previous value: -"Max doctors to list (0 = none)."New value: +"0 = none."
    • changedInput schema / properties / full_text / description
      Previous value: -"True = do not clip the about text (default 1500 chars)."New value: +"Do not clip about (1500 chars)."
    • changedInput schema / properties / slug / description
      Previous value: -"Center slug from a pz_search_doctors center result (or its URL), e.g. 'بیمارستان-تخصصی-و-فوق-تخصصی-تریتا'."New value: +"Center slug (or URL) from a pz_search_doctors center result."
    • changedInput schema / properties / specialty / description
      Previous value: -"Only doctors whose department or specialty contains this Persian text, e.g. 'قلب'."New value: +"Only doctors whose department or specialty contains this Persian text."
  2. Changed8 schema fields changedv0.3.0
    • removedInput schema / properties / doctors_limit / title
      Removed value: -"Doctors Limit"
    • addedInput schema / properties / full_text
      Added value: +{
      +  "default": false,
      +  "description": "True = do not clip the about text (default 1500 chars).",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / slug / description
      Previous value: -"Center slug from a pz_search_doctors center result (or its /center/... URL), e.g. 'بیمارستان-تخصصی-و-فوق-تخصصی-تریتا'."New value: +"Center slug from a pz_search_doctors center result (or its URL), e.g. 'بیمارستان-تخصصی-و-فوق-تخصصی-تریتا'."
    • removedInput schema / properties / slug / title
      Removed value: -"Slug"
    • changedInput schema / properties / specialty / description
      Previous value: -"Only doctors whose department or specialty contains this Persian text, e.g. 'قلب' or 'زنان'."New value: +"Only doctors whose department or specialty contains this Persian text, e.g. 'قلب'."
    • removedInput schema / properties / specialty / title
      Removed value: -"Specialty"
    • removedInput schema / title
      Removed value: -"pz_centerArguments"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": true,
      -  "title": "pz_centerDictOutput",
      -  "type": "object"
      -}New value: +null
  3. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety is covered by structured data. The description adds behavior beyond that: it discloses the payload shape (a nested doctors list with specific fields) and, via the schema-linked full_text note, that 'about' is clipped by default — useful context for a tool with no output schema.

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 short sentences, front-loaded with the resource and its contents, with the redirect to the sibling tool placed last where it is needed only if the first sentence did not fit. The trailing 'pz_search_doctors(center_id=...)' fragment is slightly telegraphic but costs nothing.

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, enumerating the returned profile fields is exactly the right compensation, and the alternative-tool pointer covers the main adjacent intent. Minor gaps remain — no mention of what happens with an invalid slug or how large the doctors list can be — but nothing critical for a read-only profile fetch is missing.

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 every parameter is already documented, and the baseline of 3 applies. The description implies filtering to 'departments and its doctors' but adds no syntax or format detail (e.g. how slug is obtained, that specialty filters Persian text) beyond what the schema already states.

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 the resource precisely ('Profile of a hospital or clinic') and then inventories exactly what the profile contains: type, address, phone, website, map, about, departments and doctors with their slug, department, specialty and insurances. That is a verb-less but highly specific statement of scope that an agent can match to a user request 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?

It explicitly routes one adjacent need elsewhere: 'For its doctors by nearest free time: pz_search_doctors(center_id=..., sort='earliest')', including the call shape. It does not state when *not* to use pz_center (e.g. vs pz_doctor for a single doctor), so it stops short of full when/when-not coverage.

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