Skip to main content
Glama

Consultation output

format_consultation_output
Read-onlyIdempotent

Formats Korean real-estate tax consultation results into compliant scenarios with tax amounts, lead-scoring differences, and required legal safety wording.

Instructions

Standard output formatter for a consultation result.

상담 결과 표준 출력 포맷터 (설계 §11 출력규약의 코드화) — 파이프라인의 마지막 단계.

규약을 강제한다: ①단일 숫자 금지 — 쟁점 등급이 D~F(해석·사실판단)면 시나리오 2개 이상
병기 필수(성립/불성립 양쪽 세액) ②차액 = 리드 스코어(하<500만<중<3천만<상<1억<최상) —
차액이 클수록 전문가 상담 기대가치가 커서 매칭 우선순위 ③근거 없는 시나리오 등재 거부
④세무사법 안전선 문구 자동 포함(단정 금지). scenarios 원소: {"라벨", "세액", "전제",
"근거": [판정 함수들의 근거 인용]}. 사용 순서: 트리③→①→②→④ 판정 → calc_* 계산 →
시나리오별 세액을 이 포맷터로.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scenariosYes
extra_flagsNo
issue_gradeNo
dividing_issueNo
lead_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses real behavioral traits: it refuses to register scenarios lacking 근거, auto-injects the 세무사법 safety-line text, and forces multi-scenario output for D–F grades rather than a single number. These are enforcement behaviors an agent would not otherwise know. It omits return/pagination details, but the enforcement profile is well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and clear, but the body is a dense, bilingual block with circled numerals, parenthetical design-doc references, and compressed tier notation that takes effort to parse. Information density is high with little waste, yet readability suffers.

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?

For a terminal formatter with no output schema and an annotations-covered safety profile, the description supplies the enforcement contract, the scenario element shape, and the call order. It still leaves the shape of the produced output and three of five inputs (extra_flags, issue_grade, dividing_issue) undocumented, so an agent lacks full guidance for non-default invocations.

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?

With 0% schema description coverage, the description must carry the parameters. It partly does: it details the scenarios element shape ({라벨, 세액, 전제, 근거}) and ties 차액=리드 스코어 tiers to the lead_threshold default (500만). But extra_flags, issue_grade, and dividing_issue are never explained, so the burden is only half met.

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 role: the standard output formatter for a consultation result and the final pipeline stage that enforces the §11 output protocol. It enumerates concrete formatting rules (no single-number results, forced side-by-side scenarios, auto safety-line text), which makes the purpose concrete. It does not, however, distinguish itself from the sibling format_consultation_report, leaving the agent to infer which formatter applies.

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 an explicit ordering: run tree ③→①→②→④ judgments, then calc_* computations, then format each scenario's tax amount with this formatter. That tells the agent when in the workflow to call it. It stops short of stating exclusions or naming the alternative sibling formatter for other cases.

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