Skip to main content
Glama

전자세금계산서 목록 조회

hometax__etax__invoice__search_list
Read-only

REQUIRES prior hometax__session__login call with same account_link_id. Search e-tax invoices by date range. Use from_date/to_date (YYYYMMDD or YYYY-MM-DD). prh_sls_cl_cd: '01'=issued(매출), '02'=received(매입). 국세청 rejects long ranges with '6개월이상은 조회할 수 없습니다.' — keep the window under 6 months and split longer periods into several calls. For an authenticated call, generate and save request_idempotency_key before the first request. Reuse it with the same arguments only to recover that request after a lost response; use a new key for a new execution. Without it, calling again remains a new request. This optional key is not available to anonymous taste calls. Keep any provider-specific idempotency_key unchanged; it is a different field. 호출마다 토큰 1소진

Input Schema

NameRequiredDescriptionDefault
to_dateYesEnd date YYYYMMDD or YYYY-MM-DD (e.g. 20260131)
page_numNoPage number (default 1)
from_dateYesStart date YYYYMMDD or YYYY-MM-DD (e.g. 20260101)
page_sizeNoPage size (default 10)
prh_sls_cl_cdNoInvoice direction: '01'=issued(매출), '02'=received(매입). Default '01'.
account_link_idNoAccount link ID (UUID v4). Optional — the server auto-resolves from your API key when omitted. Provide explicitly only when you have multiple certificates for the same provider. Each institution has a separate ID (Hometax != NHIS != NPS != FourInsure).
request_idempotency_keyNoOptional same-request recovery key for authenticated calls; see the tool description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / request_idempotency_key
      Added value: +{
      +  "description": "Optional same-request recovery key for authenticated calls; see the tool description.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "pattern": "^[\\x20-\\x7E]+$",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered by structured data. The description still adds real behavior beyond that: an exact provider-side rejection ('6개월이상은 조회할 수 없습니다.') and the workaround of splitting ranges, an auth prerequisite, and a per-call token cost ('호출마다 토큰 1소진'). It does not cover pagination behavior or result shape, but the disclosures it does make are specific and non-obvious.

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?

Purpose, prerequisite, and the six-month limit are well front-loaded. But five sentences of idempotency-key mechanics follow for an optional field on a read-only search, which is disproportionate to the operation and crowds out anything about results or pagination. Tightening that paragraph would strengthen the definition.

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?

For a read-only paginated list with no output schema, the description covers the critical unknowns: authentication precondition, maximum query window and the error you get when exceeding it, direction encoding, and per-call cost. The remaining gaps are pagination semantics (page_num/page_size defaults are only in the schema) and sibling selection guidance.

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 date formats, the prh_sls_cl_cd enum and defaults, and the account_link_id resolution rules. The description repeats the date format and the '01'=issued/'02'=received mapping rather than adding to them. Baseline 3 is appropriate; it does clarify that the idempotency key is a separate field from provider-specific keys, which is a small genuine addition.

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?

States a specific verb and resource: 'Search e-tax invoices by date range.' An agent knows exactly what it retrieves. However, it never distinguishes this list call from the closely named siblings hometax__etax__invoice__search_detail, search_summary and search_statistics, so the agent must guess which of the four to use for a given need.

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?

Gives concrete when-to-use conditions: a prior hometax__session__login with the same account_link_id, a date range under six months, and how to split longer windows into several calls. It also explains when to reuse vs. regenerate the optional idempotency key. What is missing is any routing advice between this tool and the detail/summary/statistics siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources