Skip to main content
Glama

count_appeal_precedents_for_rejection_code

Read-onlyIdempotent

Aggregate historical appeal precedents for a Taiwan NHI rejection code or procedure code to assess contest viability. Returns volume bucket, claimant win-rate signal, and review-stage outcomes.

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 and idempotentHint=true. The description adds that it is a 'signal-only summary' with no individual case exposure, and includes a disclaimer about predictive limitations. No contradictions 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 moderately sized but well-structured with bold markers for usage guidance. All sentences add value, though the URL at the end is slightly extraneous. Front-loaded with the core function.

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?

Despite no output schema, the description clearly enumerates return fields (volume bucket, win-rate, stages). The two parameters are fully documented, and sibling distinctions are provided. Sufficient for an agent to decide when and how to invoke the tool.

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% and describes both parameters. The description reinforces the mutual exclusivity constraint and provides concrete examples (e.g., '0312A', '86008C'), adding practical guidance 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 it aggregates historical resolution summaries for NHI rejection or procedure codes, specifying return values (volume buckets, win-rate signals, stages). It distinguishes itself from sibling tool lookup_appeal_statistics_by_category by noting the latter covers broader categories.

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' for triaging contestation viability, 'Don't use' for individual case details, and names the alternative tool for broader landscape. Also includes a disclaimer about historical signal not predicting future outcomes.

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