Skip to main content
Glama

회사·기업집단 식별

resolve_entity

Resolve company names, stock codes, corporate codes, or registration numbers into standard corp_code, stock_code, and corporate group affiliation. Returns candidates when ambiguous.

Instructions

회사명, 종목코드(6자리), 법인코드(8자리), 법인등록번호(13자리), 기업집단명을 받아 corp_code·stock_code·법인등록번호·소속 기업집단으로 풀어줍니다. 다른 도구를 쓰기 전 회사를 특정할 때 먼저 호출하세요.

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

기업집단포털과 대사하려면 fetchJurirNo=true 로 법인등록번호를 먼저 채워야 합니다 (DART 호출 1회). 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 가 필요하다
Behavior5/5

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

With no annotations, the description carries the full burden and excels: it discloses ambiguous results (status="ambiguous" with candidates), the need to re-call with corp_code, API call costs for fetchJurirNo (1 DART call) and includeGroup (~103 portal calls first time), the EGROUP_API_KEY requirement, and 1-year caching. This is rich, honest behavioral context.

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 longer than two sentences but every sentence earns its place—purpose, usage positioning, caveat, and parameter-specific side effects. It is well-structured and front-loaded with the core functionality, though the parenthetical examples make it slightly dense.

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?

For a tool with 5 parameters, no output schema, and non-trivial external API behavior, the description covers everything needed: input types, output fields, ambiguity resolution, auth requirements, call costs, and caching. It even mentions status="ambiguous", which hints at the return structure. The only minor gap is the explicit success response shape, but the described fields are 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?

Schema coverage is 100% with each parameter described, so baseline is 3. The description adds meaningful context beyond schema: it explains why fetchJurirNo is needed for portal integration, quantifies the call cost of includeGroup, and describes the ambiguity behavior tied to the query parameter. This added semantic depth justifies a 4.

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 ('풀어줍니다' / resolves) and the exact input types (회사명, 종목코드, 법인코드, 법인등록번호, 기업집단명) and outputs (corp_code, stock_code, 법인등록번호, 소속 기업집단). It positions itself as the prerequisite step before other tools, clearly distinguishing its role from siblings.

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?

Explicitly instructs to call this tool before using other tools to specify a company, and gives a follow-up instruction for ambiguous cases (call again with corp_code). However, it does not name specific sibling tools or state when NOT to use this tool, so it stops short of full alternative guidance.

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/dolseom/gongsi-mcp'

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