Skip to main content
Glama

개인통관고유부호 조회

get_pccc

Retrieve a Korean Personal Customs Clearance Code (PCCC) by transaction ID. req_pccc 로 받은 tx_id 를 입력하면 처리 상태를 확인합니다. 아직 승인 전이면 status 는 pending, message 는 "인증 대기중입니다." 이며 과금되지 않습니다. 승인이 끝나면 개인통관고유부호·주소와 함께 조회 완료 시각 checked_at 을 반환하며 이때 과금됩니다. 조회는 정상 처리됐지만 발급된 부호가 없으면 message 는 "조회된 개인통관고유부호가 없습니다." 이고 과금되지 않습니다. 결과는 24시간 동안 재조회할 수 있고 재조회할 때마다 과금됩니다. [호출당 20포인트]

Input Schema

NameRequiredDescriptionDefault
tx_idYesreq_pccc 응답의 트랜잭션 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / birthday
      Removed value: -{
      -  "description": "생년월일 8자리 또는 주민등록번호 13자리 (새로 접수할 때 필수)",
      -  "type": "string"
      -}
    • removedInput schema / properties / name
      Removed value: -{
      -  "description": "이름 (tx_id 없이 새로 접수할 때 필수)",
      -  "type": "string"
      -}
    • removedInput schema / properties / phone
      Removed value: -{
      -  "description": "휴대전화 번호 (새로 접수할 때 필수)",
      -  "type": "string"
      -}
    • removedInput schema / properties / provider
      Removed value: -{
      -  "description": "간편인증 방식 (새로 접수할 때 필수)",
      -  "type": "string"
      -}
    • changedInput schema / properties / tx_id / description
      Previous value: -"req_pccc 응답의 트랜잭션 ID. 있으면 상태만 확인합니다."New value: +"req_pccc 응답의 트랜잭션 ID"
    • addedInput schema / required
      Added value: +[
      +  "tx_id"
      +]
  2. Changed8 schema fields changed
    • removedInput schema / properties / answer
      Removed value: -{
      -  "description": "문자(SMS)로 발송된 인증번호 6자리",
      -  "type": "string"
      -}
    • removedInput schema / properties / auth_key
      Removed value: -{
      -  "description": "req_pccc(개인통관고유부호 인증 요청) 응답의 인증 키",
      -  "type": "string"
      -}
    • addedInput schema / properties / birthday
      Added value: +{
      +  "description": "생년월일 8자리 또는 주민등록번호 13자리 (새로 접수할 때 필수)",
      +  "type": "string"
      +}
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "이름 (tx_id 없이 새로 접수할 때 필수)",
      +  "type": "string"
      +}
    • addedInput schema / properties / phone
      Added value: +{
      +  "description": "휴대전화 번호 (새로 접수할 때 필수)",
      +  "type": "string"
      +}
    • addedInput schema / properties / provider
      Added value: +{
      +  "description": "간편인증 방식 (새로 접수할 때 필수)",
      +  "type": "string"
      +}
    • addedInput schema / properties / tx_id
      Added value: +{
      +  "description": "req_pccc 응답의 트랜잭션 ID. 있으면 상태만 확인합니다.",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "auth_key",
      -  "answer"
      -]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the billing model (20 points per call, charged only on successful retrieval, not on pending or empty results), the exact status/message values for each outcome, and the 24-hour re-query window with per-lookup charging. This explains why readOnlyHint=false and idempotentHint=false without contradicting them.

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 core purpose and cost are front-loaded, and each subsequent sentence covers a distinct outcome (pending / approved / empty). Slight redundancy in restating '과금되지 않습니다' for two cases keeps it from a 5, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the full burden and does so: it enumerates returned fields (PCCC, address, checked_at), status values, and message strings for each branch. An agent can call this and interpret the response without further information.

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?

Schema coverage is 100% and the schema already says tx_id is the req_pccc transaction ID, so the description largely repeats it. It does add the behavioral meaning of the parameter — that supplying it returns processing status and that results stay queryable for 24 hours — which is useful framing beyond the schema.

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?

States a specific verb and resource ('Retrieve a Korean Personal Customs Clearance Code') and identifies the exact input that scopes it (the tx_id from req_pccc). The pairing with req_pccc makes the division of labor between the two siblings unambiguous.

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?

Clearly establishes the precondition that tx_id comes from a prior req_pccc call, and explains that this tool polls processing status. It stops short of an explicit 'call this only after req_pccc returns a tx_id' directive or stating what to do if the tx_id is unknown/expired beyond the 24h note.

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.