Skip to main content
Glama
StatPan

AssemblyMCP

by StatPan

search_bills

Search South Korean National Assembly bills by keyword, proposer, status, or date. Returns matching bill lists and auto-searches previous assembly if no current results.

Instructions

의안을 검색하거나 목록을 조회합니다. (통합 검색 도구)

기능:

  1. 키워드 검색: 'keyword'만 입력 (예: "인공지능")

  2. 필터 검색: 'proposer'(발의자), 'bill_id', 'proc_status' 등 조합

  3. 최신 목록: 파라미터 없이 호출하면 현재 대수의 최신 발의 의안 반환

  4. 스마트 검색: 키워드 검색 시 현재 대수(22대) 결과가 없으면 이전 대수(21대) 자동 검색

Args: keyword: 검색어 (의안명). bill_id: 의안 고유 ID 또는 의안 번호. proposer: 제안자(의원명 등). age: 국회 대수 (기본 "22"). propose_dt: 제안일자 (YYYYMMDD). proc_status: 처리상태 코드. page: 페이지 번호 (기본 1). limit: 최대 결과 수 (기본 10).

Returns: 검색된 의안 목록. 결과가 없으면 MCP output schema 호환을 위해 빈 배열을 반환합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ageNo22
pageNo
limitNo
bill_idNo
keywordNo
proposerNo
propose_dtNo
proc_statusNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

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

  1. First observedv0.6.6

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full transparency burden. It does disclose important non-obvious behaviors: returning an empty array for no results and the automatic fallback to a previous assembly term. However, it does not address read-only nature, rate limits, permission requirements, or any side effects, leaving some behavioral uncertainty.

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 separate sections for 기능, Args, and Returns, and it front-loads the main purpose before detailing parameters. Each bullet and parameter listed earns its place, and the length is justified by the eight optional parameters and four usage modes. There is minimal redundancy.

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?

Because an output schema exists, the description does not need to explain return value structure. It covers the main invocation modes, parameter semantics, and the empty-array behavior, which is enough for a search tool. Remaining gaps include no examples of valid proc_status values and no explicit routing to sibling detail tools, but the overall context is adequate.

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?

The input schema has 0% description coverage, so the Args section in the description is the sole source of parameter meaning. It explains all eight parameters, including that keyword refers to bill title, bill_id accepts either unique ID or bill number, propose_dt uses YYYYMMDD, and proc_status is a processing status code. This fully compensates for the schema gap.

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 opens with a specific verb-resource pair, '의안을 검색하거나 목록을 조회합니다', and identifies the tool as an integrated search tool for bills. It clearly enumerates four search modes, making the core purpose unmistakable. It does not explicitly name sibling alternatives, but the resource and action are specific enough to distinguish it from detail/history tools.

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?

The four numbered call modes provide explicit guidance: keyword-only, filter combinations, no-params latest list, and automatic fallback from the 22nd to the 21st assembly. This goes well beyond a vague 'use for searching'. It lacks explicit 'when not to use' or pointers to alternatives like get_bill_details, but the usage context is clear.

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