Skip to main content
Glama

공통코드 조회

get_codes

Retrieves KOBIS common codes by parent code to identify categories such as genres, nationalities, film company classifications, production status, and screening types.

Instructions

KOBIS 공통코드를 조회합니다. 주요 상위코드: 2201 장르, 2204 국적, 2601 영화사 분류, 0105000000 제작상태, 2219 상영형태

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "comCode": "<comCode>"
    },
    "name": "get_codes"
  }
}

Input Schema

NameRequiredDescriptionDefault
comCodeYes상위 코드(예: 2201)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden; '조회' (lookup) establishes read-only behavior and low risk. It does not state whether all child codes under the parent are returned, whether the parent code must be exact, or what the response looks like, which leaves real gaps for an unannotated tool.

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?

Two compact sentences: purpose first, then a useful reference list of codes. Nothing is wasted; the list is dense but earns its place as lookup reference data.

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

Completeness3/5

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

For a single-parameter read lookup this is close to sufficient, and the code catalog is a real asset. However, with no output schema and no annotations, the description should say what a call returns (code/name pairs, full list vs. filtered) to be complete.

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, but the description adds genuine meaning by naming five valid upper-code values with their domain meanings (2201 genre, 2204 nationality, 2601 company classification, 0105000000 production status, 2219 screening type) — information the schema only hints at with a single example.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('KOBIS 공통코드를 조회합니다') and enumerates the code categories it serves (genre, nationality, company classification, production status, screening type). That makes it clearly distinct from the sibling search_/get_* info tools, though it never names an alternative.

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?

Usage is only implied: an agent can infer it should call this to resolve code values before filtering other KOBIS lookups, but the description never says when to use it versus siblings or what to do with the returned codes.

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