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 query of Supreme Court BIT real estate foreclosure auctions in 47 prefectures. Pass stage or prefecture (default stage="all", limit=50, offset=0); returns auctions ordered by date. Note: For POIs, 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 filter.
limitNoMax rows returned.
stageNoLifecycle stage.all
offsetNoPagination offset.
prefectureNoJP prefecture filter.
propertyKindNoReal estate kind.all

Output Schema

NameRequiredDescriptionDefault
itemsNoCourt BIT auction items.
successNoExecution status.
streamIdNoB2A stream slug.
sha256DigestNoSHA-256 hex digest.
returnedCountNoReturned rows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed23 schema fields changed
    • removedInput schema / properties / caseNumber
      Removed value: -{
      -  "description": "Court auction case number filter (e.g. \"令和8年(ケ)\").",
      -  "maxLength": 64,
      -  "type": "string"
      -}
    • changedInput schema / properties / court / description
      Previous value: -"District court name filter (e.g. \"東京地方裁判所\", \"大阪地方裁判所\")."New value: +"District court filter."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum auction records to return (1 to 200)."New value: +"Max rows returned."
    • removedInput schema / properties / maxValuationYen
      Removed value: -{
      -  "description": "Maximum court appraisal valuation in JPY (0 to 1,000,000,000,000).",
      -  "maximum": 1000000000000,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedInput schema / properties / minValuationYen
      Removed value: -{
      -  "description": "Minimum court appraisal valuation in JPY (0 to 1,000,000,000,000).",
      -  "maximum": 1000000000000,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedInput schema / properties / municipality
      Removed value: -{
      -  "description": "Municipality or ward substring filter (e.g. \"千代田区\", \"札幌市\").",
      -  "maxLength": 64,
      -  "type": "string"
      -}
    • changedInput schema / properties / offset / description
      Previous value: -"Zero-based pagination offset (0..10000, default 0). Combine with limit to page through large result sets deterministically."New value: +"Pagination offset."
    • changedInput schema / properties / prefecture / description
      Previous value: -"Nationwide Japanese prefecture filter across all 47 prefectures (e.g. \"北海道\", \"東京都\", \"大阪府\", \"福岡県\")."New value: +"JP prefecture filter."
    • changedInput schema / properties / propertyKind / description
      Previous value: -"Real estate property type (\"all\", \"土地\", \"戸建\", \"区分所有\", or \"一棟\")."New value: +"Real estate kind."
    • changedInput schema / properties / stage / description
      Previous value: -"Auction stage filter: \"opening_results\" (winning bids & multiples), \"period_announcements\" (upcoming auctions), or \"all\"."New value: +"Lifecycle stage."
    • removedOutput schema / properties / generated_at
      Removed value: -{
      -  "description": "ISO-8601 UTC timestamp when this response payload was generated.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / items / description
      Previous value: -"Supreme Court BIT real estate foreclosure opening results and period notices ordered by auction date descending."New value: +"Court BIT auction items."
    • removedOutput schema / properties / items / items
      Removed value: -{
      -  "type": "object"
      -}
    • removedOutput schema / properties / offset
      Removed value: -{
      -  "description": "Zero-based pagination offset applied to the matched record slice.",
      -  "type": "integer"
      -}
    • removedOutput schema / properties / partialResult
      Removed value: -{
      -  "description": "True only if a live upstream sub-source returned partial coverage.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / returnedCount / description
      Previous value: -"Number of structured records returned in items for this page."New value: +"Returned rows."
    • removedOutput schema / properties / sealStatus
      Removed value: -{
      -  "description": "TAPP Sigstore Rekor cryptographic Merkle seal status of the dataset.",
      -  "type": "string"
      -}
    • changedOutput schema / properties / sha256Digest / description
      Previous value: -"Deterministic 64-character hex SHA-256 provenance digest of the returned items."New value: +"SHA-256 hex digest."
    • removedOutput schema / properties / stats
      Removed value: -{
      -  "description": "Execution telemetry including itemCount, durationMs, and upstream breakdown.",
      -  "type": "object"
      -}
    • changedOutput schema / properties / streamId / description
      Previous value: -"Underlying B2A data stream identifier that fulfilled the query."New value: +"B2A stream slug."
    • changedOutput schema / properties / success / description
      Previous value: -"True when the read-only query completed without upstream or validation failure."New value: +"Execution status."
    • removedOutput schema / properties / toolName
      Removed value: -{
      -  "description": "Executed MCP tool name for deterministic audit correlation.",
      -  "type": "string"
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "toolName",
      -  "streamId",
      -  "success",
      -  "offset",
      -  "returnedCount",
      -  "sealStatus",
      -  "sha256Digest",
      -  "generated_at",
      -  "items",
      -  "stats"
      -]
  2. 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, destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavior: results are ordered by date, and the underlying source is Supreme Court BIT auction data. It doesn't cover result volume or pagination semantics, but an output schema exists to carry return shape.

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 sentences, front-loaded with purpose and ending with the sibling routing note. The parenthetical default values duplicate the schema and could be trimmed, but nothing else is wasted.

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?

With six optional filters, rich annotations, and an output schema, the description supplies enough context to call it correctly: domain, ordering, and a sibling redirect. The unexplained acronym 'BIT' and the vague 'POIs' phrasing are the only residual ambiguities.

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% and each parameter is documented in the schema, so the description's mention of defaults (stage=all, limit=50, offset=0) merely repeats structured data. It adds no interpretation of 'court', 'prefecture', or propertyKind semantics, so the baseline 3 applies.

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?

States a specific verb and resource ('Read-only query of Supreme Court BIT real estate foreclosure auctions') plus the scope ('47 prefectures'), and explicitly distinguishes itself from query_seismic_hazards. An agent can identify the resource and its domain without opening the schema.

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 invocation guidance ('Pass stage or prefecture') with defaults restated, and names an alternative ('For POIs, use query_seismic_hazards instead'). It lacks explicit when-not-to-use conditions for its own filters (e.g., when to prefer court over prefecture), so it falls short of the top band.

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.