Skip to main content
Glama

위택스 공동인증서 로그인

wetax__session__login

Call this FIRST before any other wetax tool. 콘솔에 등록한 사업장 공동인증서로 위택스에 로그인해, 이후 신고 단계와 조회가 함께 쓰는 세션을 만듭니다. 인증서 비밀번호나 인증서 파일은 호출 값으로 받지 않습니다. Call it again if a tool reports the session expired. 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소진 요청 처리 시 XBOSS 작업을 생성하고 처리 결과를 저장합니다. 기관 원본의 조회 여부와 별개로 이 호출은 순수 읽기 전용이 아닙니다. 기관 데이터 변경은 도구별 실행 내용과 기존 확인 절차를 따릅니다.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wetax__session__login"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_link_idNo연동 ID(UUID v4). 선택 입력입니다. 비워 두면 서버가 API 키로 연동을 찾아 씁니다. 같은 기관에 인증서를 여러 개 연동했을 때만 직접 입력해 주세요. 기관마다 ID 가 다릅니다.
request_idempotency_keyNoOptional same-request recovery key for authenticated calls; see the tool description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already state readOnlyHint=false and destructiveHint=false; the description adds real context on top: no certificate password or file is accepted as an argument, each call consumes one token, a XBOSS task is created, the result is stored, and the call is explicitly not purely read-only even though it performs lookups. The score drops to 4 rather than 5 because the idempotency paragraph is boilerplate, is partly untranslated, and mentions an "anonymous taste calls" case that does not apply here.

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 most important instruction is front-loaded and easy to find. However, the text mixes Korean and English, repeats the idempotency explanation at length, and includes unrelated XBOSS/token boilerplate and a provider-specific idempotency caveat that does not apply to this two-parameter tool.

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?

No output schema exists, yet the description covers session lifetime, re-login after expiry, credit cost, and confirmation that no secrets are passed as arguments. The main remaining gap is that it never says what the call returns or how the session is carried forward, though that is a modest omission for a login 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?

With 100% schema coverage, the schema documents both optional parameters, so the baseline of 3 applies. The description goes past that for request_idempotency_key, spelling out when to generate it, that reuse is only for recovering a lost response under identical arguments, and that omitting it makes a repeat call a new request — despite the schema only saying "see the tool description".

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 names a specific verb and resource — logging into Wetax with the workplace joint certificate registered in the console — and states the outcome: a session shared by later filing and lookup steps. That is enough for an agent to distinguish it from the wetax__tax__* query and filing siblings without opening any schema.

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?

It gives explicit ordering ("Call this FIRST before any other wetax tool"), an explicit recovery trigger ("Call it again if a tool reports the session expired"), and the idempotency-key rule for a new execution versus a retry. Both when-to-call and when-to-recall are covered.

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