Skip to main content
Glama

doc_batch_opd_note

Batch retrieve outpatient SOAP notes by date range. Set target departments and limits to collect data while avoiding timeouts.

Instructions

批次取得門診 SOAP (耗時操作)。

Args: date_start: 開始日期 (YYYY-MM-DD) date_end: 結束日期 (YYYY-MM-DD),預設同 date_start limit: 最大處理數量 (預設 50) target_depts: 科別代碼清單,預設眼科 ['010', '110', '0PH', '1PH']

Returns: 含 S, O, P, soap, drugs 欄位

防護機制: - 基本延遲 1 秒 + 隨機 0~0.5 秒 - 每 50 筆額外休息 10 秒 - 錯誤時加倍延遲,連續 3 錯暫停 30 秒

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
eip_idYes
date_endNo
date_startYes
eip_passwordYes
target_deptsNo
Behavior4/5

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

With no annotations, the description discloses the operation's slow nature and built-in protections (delays, error handling, pauses), providing useful behavioral context beyond the schema.

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 succinctly organized into Args, Returns, and Protection sections, presenting all key information without any filler.

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

Completeness3/5

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

It covers purpose, key params, return fields, and operational safeguards, but lacks explanations for the required auth credentials and the overall response structure, which is important given no output schema.

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?

The description explains formats and defaults for date_start, date_end, limit, and target_depts, but omits the required eip_id and eip_password, and gives a default for date_end that conflicts with the schema's empty string.

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 it batch retrieves outpatient SOAP notes and lists the returned fields (S, O, P, soap, drugs), distinguishing it from single-note tools like patient_opd_note.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for batch retrieval via its name and time-consuming warning, but does not explicitly state when to use this tool over alternatives or provide exclusions.

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