Skip to main content
Glama

get_rejection_code_category

Read-onlyIdempotent

Browse Taiwan NHI rejection codes by category to enumerate all codes in a workflow domain. Returns code, severity, and short description, up to 50 per call.

Instructions

Browse Taiwan NHI rejection codes by category (00-09) for discovery — returns code, severity, and short description, up to 50 per call. Categories: 00 診療品質 · 01 病歷紀錄 · 02 基本診療 · 03 藥品特材 · 04 手術處置 · 05 檢查檢驗 · 06 論病例計酬 · 07 復健精神 · 08 其他 · 09 法令. Use when an agent needs to enumerate all rejection codes within a workflow domain (e.g. all surgery-handling codes). Don't use to look up a known specific code — call lookup_rejection_code instead. Reference only — official 健保署 不予支付理由代碼 is authoritative. Curated by OPDSTAR (https://opdstar.com).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYesTwo-digit category code, '00' through '09'
opdstar_relevant_onlyNoWhen true, filter to codes flagged as outpatient-relevant by OPDSTAR. Default false (return all).
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. Description adds behavioral details: returns code, severity, short description, up to 50 per call, and curated by OPDSTAR. No contradiction.

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?

Concise and well-structured: opens with purpose, lists categories, then usage guidelines, and ends with reference note. Every sentence adds value without redundancy.

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?

For a browsing tool with 2 parameters, the description covers what is returned, limitations (up to 50 per call), and sourcing. No output schema, but the description sufficiently explains the return data. The tool is self-contained and clear.

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

Parameters4/5

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

Schema coverage is 100% with good descriptions. Description adds value by listing category codes with Chinese translations and clarifying the purpose of the opdstar_relevant_only filter implicitly via the 'up to 50 per call' limit. This goes beyond the enum values.

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?

Clearly states 'Browse Taiwan NHI rejection codes by category' with a specific verb and resource. Distinguishes from sibling tool `lookup_rejection_code` by explicitly stating when not to use it for specific code lookups.

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

Usage Guidelines5/5

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

Provides explicit guidance: 'Use when an agent needs to enumerate all rejection codes within a workflow domain' and 'Don't use to look up a known specific code — call lookup_rejection_code instead.' Also notes reference-only nature and authoritative source.

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/tatsuju/opdstar-nhi-mcp'

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