Skip to main content
Glama
datagokr-apply-mcp

datagokr-apply-mcp

by lilicoderr

call_api

Call data.go.kr open APIs by passing a URL or saved endpoint alias with query params; it attaches the service key, corrects double-encoding, and parses JSON or XML responses.

Instructions

공공데이터포털 오픈API 를 호출한다. url(또는 저장된 endpoint 별칭)과 params 를 주면 서비스키를 자동으로 붙이고(이중 인코딩 자동 보정) 응답(JSON/XML)을 해석해 돌려준다.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "call_api"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo오픈API 엔드포인트 URL (http...). endpoint 를 주면 생략 가능
methodNoHTTP 메서드 (기본 GET)
paramsNo쿼리 파라미터 (serviceKey 제외)
keyNameNo사용할 저장된 키 이름 (없으면 기본 키)
endpointNo저장해 둔 엔드포인트 별칭 (save_endpoint 로 등록)
serviceKeyNo키를 직접 넘길 때 (저장 키 대신)

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?

With no annotations, the description carries the full behavioral burden, and it does disclose real traits: the service key is attached automatically, double encoding is silently corrected, and JSON/XML responses are parsed before return. However, it omits prerequisites (a registered key must exist, hence save_key/list_keys siblings), error behavior, and what the tool does when the upstream API returns a non-2xx or an XML error envelope.

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?

Two dense sentences with the action first, followed by an ordered list of side effects (key injection, encoding fix, response parsing). No filler and nothing repeated from the schema descriptions.

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?

Covers the core mechanics well for a 6-parameter tool with no annotations and no output schema, and the response-parsing note substitutes for a return-value section. It still leaves gaps for a tool with addressable siblings: no indication of how failures surface (JSON error vs. XML error body) and no mention that the key source is configurable via set_default_key.

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 meaning beyond the schema: params must exclude serviceKey because the key is injected automatically, and either url or a saved endpoint alias may be supplied. That clarification of the keyName/serviceKey/endpoint interaction is genuinely useful at call time.

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 ('공공데이터포털 오픈API 를 호출한다') plus the key behaviors (auto key injection, double-encoding correction, JSON/XML parsing). It does not distinguish itself from siblings such as apply_api or find_apply_targets, so an agent gets a clear purpose but no sibling differentiation.

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

Usage Guidelines2/5

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

No statement of when to use this tool versus apply_api, apply_status, or explain_error — the obvious alternatives in the sibling list. The only usage-shaped information is a precondition (supply url or a stored endpoint alias), which is parameter detail rather than routing guidance.

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