Skip to main content
Glama
datagokr-apply-mcp

datagokr-apply-mcp

by lilicoderr

explain_error

Converts data.go.kr result codes into clear, human-readable explanations so users can understand API errors and respond correctly.

Instructions

공공데이터포털 resultCode 를 사람이 읽을 설명으로 변환한다.

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": {
      "code": "<code>"
    },
    "name": "explain_error"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It reveals almost nothing about behavior: no statement that this is a pure local lookup with no side effects, no guidance on unknown or malformed codes, and no indication of what the returned explanation looks like even though no output schema exists.

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?

A single short sentence with no filler, and the payload-defining information is front-loaded. It is efficient, though its brevity leaves the gaps noted in other dimensions rather than being wasted space.

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?

This is a simple single-parameter lookup tool, and the description names the input and the output concept, which satisfies the minimum. But with no output schema, the description should have said what the human-readable explanation actually looks like (message only, code plus message, fallback text for unknown codes), and it does not.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the only field is a bare 'code' string, so the description must compensate; it usefully identifies the parameter as a 공공데이터포털 resultCode. It stops short of giving format or example values (e.g., '00', '03'), so an agent still has to guess what a valid input looks like.

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?

The description states a specific verb and resource ('converts resultCode into a human-readable explanation') and implicitly separates itself from the sibling list_error_codes by handling a single code rather than enumerating them. However, it never names that sibling or says what makes it different, so differentiation is only inferable.

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 implied — you already hold a resultCode and want it explained — but there is no explicit when-to-use, no mention of the alternative list_error_codes for browsing codes, and no stated prerequisites or error paths.

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