Skip to main content
Glama

Korea Data (데이터와통찰)

나라장터 그룹별 집계

g2b_breakdown
Read-only

그룹별 건수·금액 합계를 한 번에(그래프·분포·추이용). 예: 공고를 월×업무구분으로, 분야별 계약 금액. 목록 도구를 나눠 부르지 말고 이것을.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "g2b_breakdown"
  }
}

Input Schema

NameRequiredDescriptionDefault
bizNo물품|용역|공사|외자
topNo상위 몇 묶음(나머지 '그 밖')
daysNo최근 며칠(발주계획은 예정 월 기준)
agencyNo수요기관명 일부
regionNo수요기관 소재 시도·시군구
datasetNonotices|awards|plans|prespecs|contractsnotices
date_toNoYYYY-MM-DD(포함)
then_byNo두 번째 묶음(교차표)
group_byNomonth|week|type|agency|region|sigungu|method|category|price_band|winner(awards)|info_project(contracts)month
keywordsNo같은 뜻 표현(또는)
segmentsNo직접 정한 분류 {묶음: [낱말(또는)]}. 앞 묶음 우선, 나머지 '기타'. 예: {'감리':['감리'],'유지보수':['유지보수','운영'],'구축':['구축','개발']}. 주면 group_by 대신 첫 묶음. 낱말은 세 글자 이상으로(두 글자는 느리다)
date_fromNoYYYY-MM-DD
price_maxNo원
price_minNo원
must_includeNo모두 포함(그리고)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / segments / description
      Previous value: -"직접 정한 분류 {묶음: [낱말(또는)]}. 앞 묶음 우선, 나머지 '기타'. 예: {'감리':['감리'],'유지보수':['유지보수','운영'],'구축':['구축','개발']}. 주면 group_by 대신 첫 묶음"New value: +"직접 정한 분류 {묶음: [낱말(또는)]}. 앞 묶음 우선, 나머지 '기타'. 예: {'감리':['감리'],'유지보수':['유지보수','운영'],'구축':['구축','개발']}. 주면 group_by 대신 첫 묶음. 낱말은 세 글자 이상으로(두 글자는 느리다)"
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds value beyond them by disclosing the shape of the result — grouped counts and monetary totals rather than raw records — which tells the agent the output is post-aggregated and suited to charting. It does not discuss pagination or the "그 밖"/"기타" remainder handling, so it stops short of a 5.

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?

Three short clauses, each carrying new information: the operation first, then examples, then the routing instruction to avoid list tools. Nothing is redundant and the key constraint is front-loaded.

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?

For a 15-parameter, zero-required tool with a nested segments object and no output schema, the description covers the core purpose, the result shape, and the main usage route, while the schema exhaustively documents each parameter. What it leaves implicit is default behavior (dataset=notices, group_by=month) and the remainder-bucket semantics of top/segments, which are only in the schema.

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?

Schema coverage is 100%, so the schema already defines all 15 parameters, including the nested segments object. The description still adds combinational meaning by illustrating cross-tabulation ("월×업무구분") that maps to group_by paired with then_by, and by tying "분야별 계약 금액" to dataset plus grouping choice — insight the individual property descriptions do not convey.

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?

"그룹별 건수·금액 합계를 한 번에" names a specific operation (aggregate counts and sums by group) on the 나라장터 dataset, and the examples ("공고를 월×업무구분으로", "분야별 계약 금액") show what a grouping looks like in practice. It is clearly an aggregation tool rather than a listing tool, though it differentiates from its siblings only by the generic phrase "목록 도구" rather than any concrete stats tool name.

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?

"그래프·분포·추이용" states the intended use case, and "목록 도구를 나눠 부르지 말고 이것을" is an explicit when-to-use-instead instruction that steers the agent away from repeatedly calling list/search tools. It lacks any explicit when-not-to-use case or a named alternative among the stats siblings, keeping it below a 5.

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.