Skip to main content
Glama

datagokr — 한국 공공데이터 검색 (Korean public data search)

첫 행 미리보기 (Preview rows)

get_preview
Read-only

실제 첫 행 보기. STD_FILE·PORTAL_FILE(첨부 있으면)은 키 없이 첫 행을 줍니다. PORTAL_FILE 첨부 미리보기가 불가한 파일만 X-DataGoKr-Key 헤더 필요(키는 절대 반환·저장 안 함). OPEN_API→request_templates, LINK→url, STD 하위행→parent_id. Preview standard data and portal attachments without a key; only unavailable attachments need X-DataGoKr-Key. Keys are never returned or stored. API/link/subset responses give access guidance. 반환: ok(true=처리됨, false=포털이 지금 응답 안 함→잠시 후 재시도), data{columns, rows}(rows는 columns 순서의 값 배열, 최대 50컬럼·20행), total, truncated, source_note, 또는 안내 필드(url/parent_id/request_templates/message/page_url). data가 있으면 실제 행을 받은 것. ok=false: retry later. data means actual rows, as value arrays in columns order (up to 50 columns/20 rows).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNo
dataset_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description goes beyond them: keys are never returned or stored, ok=false means the portal is temporarily unresponsive (retry later), and truncation is capped at 50 columns/20 rows. This is useful operational context for an agent deciding how to react to results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The key operational facts are reasonably front-loaded, but the content is duplicated in Korean and English ('ok=false: retry later. data means actual rows...' restates the Korean), and the return-field enumeration is long. It is serviceable but not tight.

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?

An output schema exists, so the description need not enumerate return values, yet the key behavioral nuance (ok=false → retry, data present → real rows received) is genuinely additive. Combined with the source-type routing rules, an agent has enough to call and interpret the tool, though input parameter meaning remains a gap.

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

Parameters2/5

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

Schema description coverage is 0% and neither parameter is described: dataset_id has no explanation of expected format, and n (default 5) is only indirectly implied by the '20 rows' truncation note without stating it controls row count or its cap. The description compensates with output-field semantics but leaves the two inputs essentially undocumented.

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 ('실제 첫 행 보기' / preview the actual first rows) and adds source-type routing (STD_FILE·PORTAL_FILE, OPEN_API→request_templates, LINK→url, STD 하위행→parent_id). It is clear what the tool returns, but it never names or contrasts itself with the sibling tools (download_url, fields, record, search, show), so differentiation relies on the reader inferring from the routing hints.

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?

Gives concrete when-to-use/when-key-is-needed conditions: files are previewed without a key, only attachments the portal cannot preview require X-DataGoKr-Key, and API/link/subset cases return guidance instead of rows. It stops short of stating when NOT to use this tool or explicitly naming an alternative sibling to call instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.