Skip to main content
Glama

doc_opd_patient_list_appointment

Retrieve the patient appointment list for a specific outpatient clinic session by providing date, department code, and room. Access patient details like name, medical record number, and phone.

Instructions

取得醫師特定門診時段的掛號名單。

Args: date: 門診日期 (YYYY-MM-DD),由 doc_opd_schedule 返回的 掛號日期_iso ect: 科代碼,由 doc_opd_schedule 返回 (如 '010') room: 診間代碼,由 doc_opd_schedule 返回 (如 '08')

Returns: 號碼, 病歷號, 姓名, 性別, 生日, 身份, 電話

Example: # 步驟 1: 取得門診掛號日期清單 schedule = await doc_opd_schedule(...) # → [{'掛號日期_iso': '2025-12-22', '科代碼': '010', '診間代碼': '08', '掛號數': '61', ...}]

# 步驟 2: 用參數取得該時段的掛號名單
patients = await doc_opd_patient_list_appointment(..., date='2025-12-22', ect='010', room='08')

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ectYes
dateYes
roomYes
eip_idYes
eip_passwordYes
Behavior3/5

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

No annotations are present, so the description bears the full burden. It discloses that the API requires YYYYMMDD format and auto-converts the input, and it lists returned fields. However, it does not mention read-only nature, auth requirements, or error behavior beyond that.

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 into sections (summary, args, returns, example, internal conversion). Every section adds value, and the example is concise and illuminates the intended usage. No wasted words.

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?

The description covers the full workflow, parameter sources, return fields, and internal format conversion. With no output schema, it adequately explains what the tool returns. It lacks edge-case notes (e.g., invalid inputs), but for an agent to invoke it correctly, the provided context is sufficient.

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 0%, so the description must compensate. It provides source and format for date, ect, and room, including examples. However, eip_id and eip_password are not described at all, leaving two required parameters undefined.

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 '取得醫師特定門診時段的掛號名單' (get registration list for a physician's specific outpatient clinic time slot). It references doc_opd_schedule for inputs, distinguishing it from previous-list and patient-list tools. The verb and resource are specific.

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 clear usage context: the parameters come from doc_opd_schedule, and a two-step example shows when to invoke this tool. It implies the workflow but does not explicitly mention exclusions or alternative tools, so it falls 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.

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