Skip to main content
Glama

HORIZON SHIELD Construction Cost Data: JCCDB (Japan) and USCCDB (United States)

Get JCCDB Observation Coverage (what exists, what does not)

get_jccdb_coverage
Read-only

JCCDB の観測層に何がどこまであるかを返す: 国 x 種類(layer) x 出典の件数、値のある件数、状態別、出典の時点。0 行の組み合わせは absent に『無い(取り込んでいない)』と明記する。答える前に、その国・種類のデータがあるかをここで確かめる。 / What the JCCDB observation layer holds: rows per country x layer x source, priced rows, status counts and source periods; empty combinations are listed as absent (not ingested).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
geoNo地域(都道府県・州)。 / Region.
layerNoデータの種類: material 資材、labor 労務単価、work 工事の単価、equipment 機械損料、index 指数、wage 賃金統計、bid_item 入札の品目単価、cost_sqft 面積あたり工事費、spending 工事支出と建築許可、house_price 住宅価格、cost_limit 費用の上限。国ごとの有無は get_jccdb_coverage で確かめる。 / Data type: material, labor (design labor rates), work (work-item unit prices), equipment (rental rates), index, wage (wage statistics), bid_item (bid unit prices), cost_sqft (cost per square foot), spending (construction spending and permits), house_price, cost_limit. Check availability per country with get_jccdb_coverage.
detailNotrue で出典ごとの行も返す(既定は要約: layer ごとの件数と出典の系統の上位 5。米国の非公開の層の件数も付く)。 / true for per-source rows; the default is a summary.
countryNo国で絞る: JP 日本、US 米国。 / Country filter: JP for Japan, US for the United States.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoHow many records matched. 0 means the source was read and nothing matched. It never means the source could not be read, that returns isError: true.
absentNo無い組み合わせ / combinations not ingested
lookupNook = the source was read and something matched. absent = the source was read and nothing matched. A source that could NOT be read never appears here: that returns isError: true and makes no claim about what does or does not exist.
matrixNo国 x 種類 x 出典の件数 / rows by country, layer and source
total_rowsNo行数 / total rows
source_readNotrue on every successful result. A failed lookup does not return a result at all, so this is never false, it is declared so a consumer can assert on it.
did_you_meanNoNear matches, when an exact match was not found.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely useful behavior beyond that: empty combinations are explicitly listed as absent (not ingested), and detail=true yields per-source rows while the default is a summary (top 5 source lineages, plus US non-public layer counts). No contradiction with annotations.

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?

Two front-loaded sentences, each with a distinct job (what is returned, then how/when to use it), with the availability-check instruction up front. The bilingual JA/EN duplication slightly inflates length, but it is deliberate and structured rather than redundant filler.

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?

An output schema exists, so return-value detail need not be restated, and the description covers the one non-obvious semantic (absent rows mean not ingested). For a 4-param, all-optional availability tool this is nearly complete; it only lacks explicit routing to the follow-up tools to call once coverage is confirmed.

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 all four parameters are already documented, including the detail default/true behavior and enum semantics. The description adds little parameter-level detail beyond what the schema provides, which is the expected baseline-3 case when the schema does the heavy lifting.

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 gives a specific verb and resource: it returns what the JCCDB observation layer holds (rows per country x layer x source, priced rows, status counts, source periods). The 'check availability here before answering' framing separates it functionally from data-returning siblings like get_jccdb_observations, but it never names those siblings explicitly, so differentiation is left partly to inference.

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?

It states a clear when-to-use condition: verify here whether a given country/layer combination has data before answering (the layer param text reinforces this). It stops short of explicit when-not guidance or naming an alternative tool to use instead when coverage exists, so it is clear context without exclusions.

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.