Skip to main content
Glama

count_appeal_precedents_for_rejection_code

Read-onlyIdempotent

Summarizes historical dispute outcomes for a Taiwan NHI rejection code or procedure code, indicating volume and win-rate signal to triage whether contesting is worth pursuing.

Instructions

Aggregate signal-only summary of how disputes involving a given Taiwan NHI rejection code (e.g. '0312A', '0114A') or procedure code (e.g. '86008C') historically resolve — returns rough volume bucket (none / few / several / many), claimant win-rate signal (rare / occasional / moderate / common), and which review stages have on-record outcomes. Use when an agent is helping triage whether contesting a specific code is worth pursuing. Don't use to fetch individual case details (none are exposed) — for the broader landscape across categories, call lookup_appeal_statistics_by_category instead. Reference only — historical signal does not predict future outcomes; final review decisions rest with the responsible authority. Curated by OPDSTAR (https://opdstar.com).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rejection_codeNoOptional 5-char NHI rejection code (e.g. '0312A', '0114A'). At least one of rejection_code or procedure_code must be provided.
procedure_codeNoOptional 5-8 char NHI procedure code (e.g. '86008C', '97608C'). At least one of rejection_code or procedure_code must be provided.
Behavior5/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds valuable context: it is a 'signal-only' summary, 'reference only', and historical signal does not predict future outcomes. No contradiction with annotations.

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: main functionality first, then usage guidance, then caveats and attribution. While slightly long, every sentence serves a purpose and the core message is front-loaded. Could be marginally more concise but remains effective.

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, the description adequately explains the output components (volume bucket, win-rate, review stages) and the reference nature. It also covers the tool's purpose and limitations. Missing exact output keys or types, but sufficient for an agent to understand what to expect.

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 descriptions for both parameters. The description reinforces the requirement that at least one must be provided, gives character length examples (e.g., '0312A', '86008C'), and clarifies the optional nature. This adds moderate value beyond 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 aggregates a summary of dispute resolutions for a given NHI rejection code or procedure code, specifying the output (volume bucket, win-rate signal, review stages). It also distinguishes from the sibling tool lookup_appeal_statistics_by_category, which provides broader landscape data.

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?

Explicitly provides 'Use when' (triaging contesting a specific code) and 'Don't use' (fetching individual case details) guidance, and directs to an alternative (lookup_appeal_statistics_by_category) for broader analysis. This leaves no ambiguity about when to invoke this tool.

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