Skip to main content
Glama

patient_ad_note

Fetch an inpatient admission note in HTML format using the case number and admission date, returning the medical record summary.

Instructions

取得住院病歷摘要 (HTML)。

Args: caseno: 住院案件號,由 patient_ad_list 返回 adidate: 入院日期 (YYYY-MM-DD 或 YYYYMMDD),由 patient_ad_list 返回的 住院日期_iso

Example: # 步驟 1: 取得住院清單 ad_list = await patient_ad_list(..., hisno) # → [{'住院日期': '20250930', '住院日期_iso': '2025-09-30', 'caseno': '33365977', ...}]

# 步驟 2: 用 caseno 和 住院日期_iso 取得住院病歷
ad_note = await patient_ad_note(..., hisno, caseno='33365977', adidate='2025-09-30')

內部轉換: API 需要 YYYYMMDD 格式,會自動轉換。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hisnoYes
casenoYes
eip_idYes
adidateYes
eip_passwordYes
Behavior3/5

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

No annotations are provided, so the description carries the burden. It adds useful context: the return format is HTML, and the API requires YYYYMMDD format but the tool automatically converts from YYYY-MM-DD. Nevertheless, it does not mention authentication requirements beyond the schema parameters, error behaviors, or what happens if no record is found.

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?

The description is well-structured: a one-line purpose, an Args section, a detailed example, and a brief note about internal conversion. It is not overly verbose and the example is genuinely useful for executing the tool correctly. It slightly exceeds the minimal needed but each section earns its place.

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?

Given no output schema and no annotations, the description covers the essential usage: what the tool does, how to obtain required inputs, and the date format conversion. It is adequate for a note-retrieval tool, though it could benefit from stating the output structure or any error scenarios. Overall it is complete enough for an agent to invoke 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 0%, so the description must compensate. It explains caseno as the admission case number from patient_ad_list and adidate as the admission date with format flexibility and conversion. However, it does not describe eip_id, eip_password, and hisno, which are likely common across siblings but still undocumented in 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 clearly states the tool's purpose: '取得住院病歷摘要 (HTML)' which means get inpatient admission note summary in HTML format. It identifies the specific resource (住院病歷摘要 / admission note) and distinguishes it from sibling tools like patient_opd_note and patient_consult_note which handle different clinical document types.

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?

The description provides a clear step-by-step example showing that the tool should be used after patient_ad_list, and it explains exactly how to obtain and pass the required caseno and adidate from that prior call. However, it does not explicitly state when to avoid using this tool or mention alternative tools.

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/eyeduck-ai/vghsdk-mcp'

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