Skip to main content
Glama

compare_outcomes

Read-onlyIdempotent

Compare taxpayer-won and lost tax appeal decisions for one issue side by side, with each side's arguments and the reasoning that decided the case.

Instructions

Win/loss side by side for one issue: taxpayer-won vs lost decisions with both sides' arguments and the deciding reasoning. 같은 쟁점의 조세심판·심사·이의·법원 판결을 납세자 승(인용·취소)/일부 인용/패(기각)로 나누고, 건마다 납세자 주장·과세관청 의견·결정 이유(판단 끝부분)를 나란히. 언제: 불복·조사 대응에서 '이긴 쪽은 무엇을 입증했고 진 쪽은 무엇이 부족했나'를 볼 때. 이긴 사례만 걸러 보지 않는다(양쪽을 같이). 결과 판정은 본문 주문(主文)·결론 문장을 규칙으로 읽음(모델 추정 아님). 주장·이유는 본문에서 잘라 온 발췌. 반환: {쟁점, 집계, 납세자 승(인용·취소), 일부 인용, 납세자 패(기각), 각하·기타, 갈린 지점?(explain), mode?, 주의}. explain=True: Solar 설정이 없으면 mode="host_ai" — 갈린 지점에 사용자 AI용 판단 안내(발췌는 위 목록). 설정 시 Solar 요약(mode=solar_cloud/solar_onprem). 읽기 전용. 국세법령정보시스템 조회, 약 5~10초.

Input Schema

NameRequiredDescriptionDefault
nNo본문까지 읽을 결정·판결 수(4~20). 많을수록 느림(건당 약 0.5초)
taxNo세목 필터 (선택)
langNoOutput language. 'en': English keys and labels, official English texts where available (tax treaties, statutes), other Korean texts returned with a host_ai_translate instruction (your AI translates); Solar machine translation only when UPSTAGE_API_KEY or on-prem Solar is configured. 기본 'ko'ko
issueYes쟁점 한 문장. 예: '특정 임원만을 위한 퇴직금 지급규정에 따른 퇴직금의 손금산입 여부'
explainNoTrue면 '승패를 가른 지점' 정리. 기본은 사용자 AI용 판단 안내 반환(전송 없음), Solar 설정 시 Solar가 요약

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.1

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnly/idempotent/openWorld/destructive=false), it discloses that outcome verdicts are read from the 본문 주문·결론 by rule and not model-inferred, that arguments/reasons are cut excerpts from the body, the explain-mode behavior (host_ai vs solar_cloud/onprem), and a latency of roughly 5–10 seconds. That is rich behavioral context, though it doesn't discuss failure modes or result limits beyond the n cap.

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 purpose is front-loaded and the body is information-dense with labeled sections (언제 / 결과 판정 / 반환 / explain). It is bilingual and the two language blocks largely mirror each other, which adds length, but for a Korean-first tool this is largely functional rather than filler.

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?

There is no output schema, so the description carries the return-value burden and does so by enumerating the return shape (쟁점, 집계, 납세자 승/일부 인용/패, 각하·기타, 갈린 지점?, mode?, 주의). Combined with the mode and latency disclosures, an agent has nearly everything needed to call it correctly; missing only explicit limits on result volume beyond n.

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 100%, so the schema already documents n, tax, lang, issue and explain, giving a baseline of 3. The description adds a little on explain's mode-dependent behavior but does not add format or syntax meaning beyond what the schema text already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it splits decisions on one issue into taxpayer-won / partial / lost and lays out both sides' arguments plus the deciding reasoning ('납세자 승(인용·취소)/일부 인용/패(기각)'). It is concrete about what is produced, but it never names or distinguishes a sibling like compare_with_case or research_issue, so an agent must infer the boundary from the schemas.

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?

It gives explicit context: use it in 불복·조사 대응 when you want to see what the winning side proved and what the losing side lacked, with the explicit constraint not to filter only winning cases (both sides must be shown). This is useful when-to-use guidance, though no alternative tool is named as a fallback.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.