Skip to main content
Glama

회사·기업집단 식별

resolve_entity

Resolve company names, stock codes, or group names into corp_code, stock code, and registration number. Returns candidates when ambiguous; optionally fetches affiliated group.

Instructions

회사명·종목코드·법인코드·법인등록번호·기업집단명을 받아 corp_code·stock_code·법인등록번호· 소속 기업집단으로 풀어줍니다.

  • 동명 법인이 여럿이면 임의로 고르지 않고 status="ambiguous" 와 후보 목록을 돌려줍니다 (상호가 같아도 별개 법인일 수 있음) — 후보의 corp_code 로 다시 호출하세요

  • includeGroup=true 는 EGROUP_API_KEY 필요. 최초 1회는 전 기업집단을 순회해 포털 호출 ~103회를 소비합니다 (이후 1년간 캐시)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNo해석 대상. auto(기본)면 회사 → 기업집단 순으로 시도한다
queryYes해석할 값. 회사명("삼성전자"), 종목코드("005930"), 법인코드 8자리("00126380"), 법인등록번호 13자리, 또는 기업집단명("삼성")
yearMonthNo기업집단 기준 공개년월 YYYYMM (미지정 시 최신 지정연도를 추정)
fetchJurirNoNo법인등록번호를 기업개황 API로 채울지 (기본 false, 호출 1회 소비). 기업집단포털과 대사하려면 필요하다
includeGroupNo회사를 찾은 뒤 소속 기업집단까지 조회할지 (기본 false). true 면 기업집단포털을 호출하며 EGROUP_API_KEY 가 필요하다

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries behavioral disclosure itself. It transparently explains the ambiguous-entity behavior, the EGROUP_API_KEY requirement, the first-call cost of ~103 portal requests, and one-year caching. It does not describe not-found statuses or full response shape, but the disclosed behaviors are material and 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.

Conciseness5/5

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

The description is compact and front-loaded: one clear main sentence followed by two high-signal bullets. Every sentence adds practical value, with no filler or repetition of schema content.

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?

Given the 100% schema coverage and no output schema, the description covers the main workflow, ambiguity handling, and expensive side-effects well. The only notable gap is the absence of explicit behavior for not-found or invalid inputs, but the overall definition remains sufficient for correct invocation in most cases.

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%, so the baseline is 3. The description adds meaningful semantics beyond the schema by explaining the cost/caching implications of includeGroup=true and the retry strategy for ambiguous queries, which aids correct use.

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 states a specific action ('풀어줍니다' = resolves) applied to concrete inputs (company name, stock code, corporate code, registration number, group name) and outputs (corp_code, stock_code, registration number, group). It is clearly distinguished from the sibling disclosure/financial tools by its identifier-resolution scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives helpful same-tool guidance, such as re-calling with a candidate's corp_code when status is ambiguous yielding and the strong requirement for includeGroup=true. However, it does not explicitly state when to prefer this tool over sibling alternatives or when not to use it.

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