Skip to main content
Glama

STRATA & TrashPan B2A Public Data, 5.86M JP KYB, 44.2k Domains, EDINET, LEI, OFAC & Golf EV MCP

query_court_foreclosures

Read-onlyIdempotent

Read-only, idempotent query of Supreme Court BIT foreclosure results and auction notices in 47 prefectures (API key or x402; daily). Pass stage, prefecture, or valuation bounds (default stage="all", limit=50, offset=0); returns auction records ordered by opening date descending. Note: For hazards, use query_seismic_hazards instead.

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": "query_court_foreclosures"
  }
}

Input Schema

NameRequiredDescriptionDefault
courtNoDistrict court name filter (e.g. "東京地方裁判所", "大阪地方裁判所").
limitNoMaximum auction records to return (1 to 200).
stageNoAuction stage filter: "opening_results" (winning bids & multiples), "period_announcements" (upcoming auctions), or "all".all
offsetNoZero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically.
caseNumberNoCourt auction case number filter (e.g. "令和8年(ケ)").
prefectureNoNationwide Japanese prefecture filter across all 47 prefectures (e.g. "北海道", "東京都", "大阪府", "福岡県").
municipalityNoMunicipality or ward substring filter (e.g. "千代田区", "札幌市").
propertyKindNoReal estate property type ("all", "土地", "戸建", "区分所有", or "一棟").all
maxValuationYenNoMaximum court appraisal valuation in JPY (0 to 1,000,000,000,000).
minValuationYenNoMinimum court appraisal valuation in JPY (0 to 1,000,000,000,000).

Output Schema

NameRequiredDescriptionDefault
itemsYesSupreme Court BIT real estate foreclosure opening results and period notices ordered by auction date descending.
statsYesExecution telemetry including itemCount, durationMs, and upstream breakdown.
offsetYesZero-based pagination offset applied to the matched record slice.
successYesTrue when the read-only query completed without upstream or validation failure.
streamIdYesUnderlying B2A data stream identifier that fulfilled the query.
toolNameYesExecuted MCP tool name for deterministic audit correlation.
sealStatusYesTAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.
generated_atYesISO-8601 UTC timestamp when this response payload was generated.
sha256DigestYesDeterministic 64-character hex SHA-256 provenance digest of the returned items.
partialResultNoTrue only if a live upstream sub-source returned partial coverage.
returnedCountYesNumber of structured records returned in items for this page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so restating 'read-only, idempotent' adds little. The description does add value beyond the structured fields: authentication paths ('API key or x402'), refresh cadence ('daily'), and result ordering ('opening date descending').

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?

Front-loads the core purpose and access model, then defaults, then the sibling routing note. Dense but no wasted sentences; the parenthetical access/cadence block is slightly packed but earns its place.

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 is unnecessary, and the description covers auth, cadence, ordering, and filter dimensions for a 10-optional-parameter read tool. Minor gap: 'BIT' and the exact nature of auction records are not explained, but an agent can call it correctly.

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 every one of the 10 parameters is already documented in the schema. The description only echoes the stage/limit/offset defaults and adds the sort order, which is not parameter semantics per se; baseline 3 is appropriate.

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?

Names a specific verb and resource ('query of Supreme Court BIT foreclosure results and auction notices') and adds scope ('47 prefectures'), which distinguishes it from the other query_* siblings that cover unrelated datasets.

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?

Gives concrete filter guidance ('Pass stage, prefecture, or valuation bounds') and an explicit exclusion with a named alternative ('For hazards, use query_seismic_hazards instead'). It stops short of describing when-not to use it for overlapping real-estate queries, but the routing intent is clear.

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.