Skip to main content
Glama
StatPan

AssemblyMCP

by StatPan

get_api_spec

Retrieve detailed API specifications including endpoints, parameters, constraints, response structure, data preview, and parameter hints for any National Assembly API service. Use it to explore API details before making calls.

Instructions

특정 API 서비스의 상세 스펙을 조회합니다.

이 툴은 엔드포인트 URL, 요청 파라미터(타입/제약조건), 응답 구조 등 전체 API 명세를 반환합니다. 고수준 툴이 제공하지 않는 정보를 조회하기 위해 동적으로 API를 탐색할 때 유용합니다.

기능:

  • 파라미터 제약조건 전체 반환.

  • 데이터 미리보기(Data Preview): 실제 데이터 1건을 조회하여 값의 형식을 보여줍니다.

  • 파라미터 힌트(Parameter Hints): 실제 데이터를 기반으로 유효한 입력값을 제안합니다 (예: UNIT_CD="22대").

워크플로우:

  1. 'list_api_services(keyword)'로 서비스 ID 검색

  2. 이 툴을 호출하여 파라미터 상세 확인

  3. 'call_api_raw(service_id, params)'로 맞춤형 API 호출

Args: service_id: 서비스 ID (예: 'O4K6HM0012064I15889')

Returns: 파라미터와 엔드포인트를 포함한 전체 API 스펙

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.6.6

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral disclosure burden and does it well: it explains that the tool returns full parameter constraints, fetches one real data record for preview, and generates parameter hints from actual data. It does not discuss error conditions, permissions, or rate-limit effects of the data preview, but the core read behavior is transparent.

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?

The description is well-structured with '기능', '워크플로우', 'Args', and 'Returns' sections, making it easy to scan. The main purpose is front-loaded, and the workflow and feature details are directly actionable with little redundancy.

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?

Given one required parameter, an output schema, and no annotations, the description supplies all essential invocation context: parameter semantics with an example, return summary, and an explicit workflow connecting sibling tools. Missing edge-case details are not critical for this read-oriented lookup tool.

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?

The input schema only says service_id is a required string with 0% schema description coverage. The description compensates by labeling it as the service ID and giving a concrete example ('O4K6HM0012064I15889'). It does not provide format rules or constraints beyond the example, but for a single parameter this is sufficient.

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?

The description opens with '특정 API 서비스의 상세 스펙을 조회합니다', naming a specific verb and resource, then lists endpoint URL, request parameters, and response structure. It also distinguishes itself from high-level tools by saying it is useful when dynamically exploring API details that high-level tools do not provide, which separates it from siblings like list_api_services and call_api_raw.

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?

An explicit three-step workflow is provided: use list_api_services to find the service ID, call this tool for parameter details, then use call_api_raw. It also states that it is useful for dynamic API exploration. It does not spell out an explicit 'when not to use' condition, but the workflow gives strong contextual guidance.

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

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/StatPan/AssemblyMCP'

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