Skip to main content
Glama
unohee

Ecount MCP Server

by unohee

ecount_web_export_tax_invoices

Extracts electronic purchase tax invoices from ECOUNT using an authenticated web session, returning column headers, row data, and record count. Enables automated retrieval when OAPI is unsupported.

Instructions

전자(세금)계산서 리스트(매입)를 웹 세션으로 추출한다 (OAPI 미지원, 화면 ECTAX102M).

OAPI에는 이 홈택스 수집자료 조회 기능이 없어, 인증된 웹 세션으로 화면을 열고 엑셀을 받아 행(JSON)으로 돌려준다. 헤드리스 무인 로그인(신뢰기기 프로필 + ECOUNT_COM_CODE/USER_ID/USER_PW 환경변수). 상세: docs/IMPLEMENTATION-STATUS.md, KT-274.

Returns: {columns: 컬럼명 리스트, rows: 행 dict 리스트(컬럼명→값), count: 건수}. 신뢰기기 프로필이 없거나 2FA가 요구되면 RuntimeError(부트스트랩 안내).

Note: 선행 1회: 사람이 python testing/hometax_invoice_export_260612_v3.py --run --headed로 로그인해 기기를 등록해야 이후 무인 추출이 된다(신뢰기기 등록).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries full burden and does an excellent job. It discloses the OAPI limitation, web-session-based behavior, headless login via env vars, return format (columns/rows/count), failure conditions (RuntimeError on missing trusted device or 2FA), and the required first-time manual setup. This is comprehensive.

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 detailed but well-structured with clear sections (main description, returns, note). Each sentence provides value, including the reference to implementation docs and the bootstrap step. Slightly verbose but appropriate for the complexity.

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 no-parameter tool, the description covers the purpose, return structure, prerequisites, and failure modes. It also references additional documentation. It could be slightly more explicit about what the column/row data contains, but given an output schema exists, this is sufficient.

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?

The input schema has zero parameters, so the baseline is 4. The description mentions environment variables used for login, but these are not tool parameters and are contextually useful. No parameter confusion exists.

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 that it extracts a purchase electronic tax invoice list via a web session, with a specific screen (ECTAX102M). It distinguishes itself from siblings (save/call tools) by focusing on export/read, and mentions an OAPI limitation that makes this tool necessary.

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 explains when to use the tool (because OAPI does not support this feature) and provides a prerequisite (one-time manual login for trusted device registration). However, it does not explicitly name alternative tools or give exclusions, but the context is clear enough.

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/unohee/ecount-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server