Skip to main content
Glama

enabiz_download_document

Read-only

Download a health document PDF from E-Nabız and save it locally. Supports lab, pathology, discharge, and radiology records.

Instructions

Bir sağlık belgesinin PDF'ini indirir ve yerel diske kaydeder.

kind ve ona ait parametreler (hepsi ilgili liste tool'unun çıktısından alınır):

  • "lab"card_tarih + kurum_kodu (enabiz_list_lab_tests). Opsiyonel: start_year/end_year, dil (tr-TR | en-US).

  • "pathology"reference_no + sys_no (enabiz_list_pathology).

  • "discharge"reference_no + sys_no (enabiz_list_discharge_summaries).

  • "radiology"order_id (enabiz_list_radiology_studies).

PDF ENABIZ_DOWNLOAD_DIR'e (chmod 600) yazılır; içerik LLM'e verilmez, yalnız {saved_path, byte_size, sha256, content_type} döner — PHI diskte kalır. Kimlikli oturum gerektirir; yoksa error: "auth_required".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dilNotr-TR
kindYes
sys_noNo
end_yearNo
order_idNo
card_tarihNo
kurum_koduNo
start_yearNo
reference_noNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Discloses important behaviors beyond annotations: PDF is saved to a specific directory with chmod 600, the content is not passed to the LLM, only metadata is returned, and an error is thrown if no authenticated session exists. This fully addresses the readOnlyHint annotation by clarifying that server data is not modified.

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?

The description is well-organized with a clear opening sentence followed by a bulleted list of document types and their parameters. Every sentence earns its place; no fluff.

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?

Covers all necessary aspects: document types, parameter mapping, authentication requirement, output format, and file permissions. Despite having 9 parameters and only 1 required, the description makes usage straightforward. Output schema exists, so return values are handled.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description adds full meaning by mapping each 'kind' value to required and optional parameters (e.g., 'lab' requires card_tarih and kurum_kodu; optional start_year/end_year and dil). This is far beyond what the schema alone provides.

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 states exactly what the tool does: downloads a PDF health document and saves to disk. It lists the supported document types (lab, pathology, discharge, radiology) with their specific parameter requirements, clearly distinguishing this download action from sibling tools that list or retrieve data.

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?

Provides explicit guidance on when to use: to download a PDF. It references sibling list tools for obtaining required parameter values and mentions authentication prerequisites. While it does not explicitly state when not to use, the context is clear enough for an agent.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/UmutKDev/e-nabiz-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server