Skip to main content
Glama

fiscal_query

Query Korean national fiscal data by API code and parameters. Use fiscal_search or fiscal_guide to find the API code, then specify filters like year or organization. Supports pagination up to 1000 results per page.

Instructions

열린재정 API를 호출해 데이터를 조회합니다. api_code는 fiscal_search 또는 fiscal_guide로 먼저 확인하세요. page_size 기본값은 100입니다 (최대 1000).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_codeYesAPI 코드 (fiscal_search로 확인)
paramsNo쿼리 파라미터 (예: {FSCL_YY: 2024, OFFC_NM: '교육부'})
pageNo페이지 번호 (기본: 1)
page_sizeNo페이지당 건수 (기본: 100, 최대: 1000)
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It mentions default page_size and max, but fails to describe whether the tool is read-only, the nature of the API call (e.g., HTTP GET vs POST), error handling, or rate limits. For a data query tool, this is insufficient.

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 concise (three sentences), front-loads the main purpose, and uses bullet points effectively. However, the first line could be slightly more specific about the kind of data (e.g., fiscal data). Overall efficient.

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?

Given the tool has 4 parameters, 1 required, and no output schema, the description adequately covers the basic usage. But it lacks details about return structure, error scenarios, and pagination behavior beyond page_size. It meets minimum viability but is not comprehensive.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds no additional parameter information aside from the default page_size, which is already present in the schema. It adds minimal value beyond what the schema provides.

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 clearly states the tool queries the '열린재정' API to retrieve data. It specifies the action (querying), resource (API), and distinguishes from siblings by mentioning that the api_code should be checked via fiscal_search or fiscal_guide, implying it is a general-purpose query tool.

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 description provides explicit guidance: users must first use fiscal_search or fiscal_guide to obtain the api_code. It also notes the default page_size of 100 (max 1000). However, it does not specify when not to use this tool or provide alternatives for other scenarios.

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/yangheeseok1/fiscal-api-mcp-'

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