Skip to main content
Glama
kyusik-yang

open-assembly-mcp

by kyusik-yang

query_assembly

Call any open.assembly.go.kr API endpoint directly. Use as a fallback when no dedicated tool is available for the data you need.

Instructions

열린국회정보 Open API의 임의 엔드포인트를 직접 호출합니다 (범용 fallback).

Universal fallback tool — call any open.assembly.go.kr API endpoint directly. Use when no dedicated MCP tool exists for the data you need.

Typical workflow:

  1. discover_apis(keyword="청원") → find the right endpoint code

  2. query_assembly(endpoint_code="", params={"AGE": "22"}) → call it

Authentication (ASSEMBLY_API_KEY) is handled automatically — do NOT pass KEY in params.

Common parameters across most endpoints:

  • AGE: assembly number (e.g., "22" for 22nd Assembly)

  • pIndex / pSize: pagination — handled via page / page_size args here

Args: endpoint_code: API 엔드포인트 코드 (예: "nzmimeepazxkubdpn"). discover_apis()로 코드를 먼저 확인하거나, https://open.assembly.go.kr에서 직접 조회. params: 추가 API 파라미터 (선택, 예: {"AGE": "22", "BILL_NAME": "인공지능"}). KEY, Type, pIndex, pSize는 자동 처리되므로 포함 불필요. page: 페이지 번호 (기본값: 1) page_size: 페이지당 결과수 (기본값: 10, 최대: 100)

Returns: endpoint: 호출된 엔드포인트 코드 rows: 결과 행 목록 (표준 응답 형식일 때) count: 이번 페이지 반환 건수 total_count: 전체 건수 has_more: True이면 page+1로 재호출 가능 raw_response: 비표준 응답 형식일 때 전체 JSON (rows 대신 이걸 확인)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
paramsNo
page_sizeNo
endpoint_codeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that authentication is automatic, pagination is handled via page/page_size, and the response structure is detailed (rows, count, total_count, has_more, raw_response). However, it does not explicitly mention idempotency, safety, error handling, or rate limits, which would strengthen transparency.

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?

The description is structured with clear sections (purpose, usage, workflow, authentication, common params, args, returns) and is front-loaded with the purpose. It is somewhat lengthy due to bilingual content, but every sentence is valuable. Could be slightly more concise but overall well-organized.

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 the tool's role as a universal fallback and the existence of an output schema, the description provides thorough coverage: explains response fields (endpoint, rows, count, etc.), when to use raw_response, pagination, and automatic handling of certain params. It is complete for an agent to understand and use the tool correctly.

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

Parameters5/5

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

Schema description coverage is 0%, but the description compensates fully by explaining all four parameters: endpoint_code (with example and reference), params (with auto-handled fields), page (default 1), and page_size (default 10, max 100). This adds significant meaning beyond the schema.

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 clearly states it is a universal fallback to call any open.assembly.go.kr API endpoint directly, and specifies when to use it: when no dedicated MCP tool exists. The verb 'call any ... API endpoint directly' is specific and distinguishes it from sibling tools.

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

Usage Guidelines5/5

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

Explicit guidance is provided: 'Use when no dedicated MCP tool exists for the data you need.' A typical workflow is shown (discover_apis then query_assembly), and it warns not to pass KEY in params, explains common parameters, and mentions pagination. This leaves no ambiguity about when to use this tool.

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

Install Server

Other Tools

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/kyusik-yang/open-assembly-mcp'

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