Skip to main content
Glama
Japan Real Estate Intel

Japan Real Estate Intel

都道府県比較

compare_prefectures
Read-only

Compare 2–5 Japanese prefectures by land price, risk, and investment score, with optional XLSX export, to evaluate real estate opportunities.

Instructions

Compare 2-5 prefectures across land price, risk, investment score, and optional XLSX export. | 最大5都道府県を横断比較(全10都府県・Excel出力対応)。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prefectures": "<prefectures>"
    },
    "name": "compare_prefectures"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNo各都道府県の代表エリア(省略時は県庁所在地相当。愛知=名古屋市中区、東京=千代田区)
metricsNo
_licenseKeyNoOptional Pro/Enterprise license key to unlock Pro tools without HTTP headers | 無認証コネクタ経由でPro機能を解放する任意のライセンスキー
prefecturesYes比較対象都道府県(2-5県)。例: ["愛知県", "東京都"]
exportFormatNo出力フォーマット。xlsx を指定すると生成されたExcelを resource_link(ダウンロードURL)として返すjson
neighborhoodNo町丁目(例: '名駅南1丁目')。v2.4 では町丁目レベル実データに対応(対応都道府県のみ)
propertyTypeNomixed
includeMarkdownNo

Output Schema

NameRequiredDescriptionDefault
diffsYes
scoresYes
bestForYes
rankingYes
summaryYes
radarDataYes
attributionNo
markdownReportNo
unsupportedNotesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv8.2.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is clear. The description adds that XLSX export is optional and that only 10 prefectures are covered, which is useful scoping context. It does not address rate limits, what happens if a prefecture is outside the supported set, or how the XLSX resource_link is returned, despite the schema hinting at this.

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?

One English sentence plus its Japanese mirror, front-loaded with the verb and scope, and zero filler. The bilingual duplication is the only waste, since it repeats identical content rather than adding information.

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?

With 8 parameters, a license-key escape hatch, and multiple export formats, the description should explain that some capabilities are gated behind a license and clarify the supported-prefecture boundary. Output-schema presence means return values need not be described, but the licensing and coverage caveats remain unaddressed, leaving the definition only marginally adequate for its complexity.

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 coverage is 63%, with the most important parameters (prefectures min/max, metrics enum, exportFormat) already well documented in the schema. The description adds almost no new parameter meaning, except for the '全10都府県' coverage limit, which is not encoded in the schema and therefore genuinely valuable. It leaves area, neighborhood, propertyType, includeMarkdown, and _licenseKey unexplained.

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?

States a specific verb (Compare) and resource (2-5 prefectures) and enumerates the comparison dimensions: land price, risk, investment score, with optional XLSX export. It is easy to distinguish from siblings like analyze_area or generate_area_report because it is explicitly cross-prefecture. It stops short of 5 only because it does not name an alternative tool for single-area analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies its use case: multi-prefecture comparison, capped at 5 and requiring at least 2. However, it never states when an agent should choose it over analyze_area or generate_area_report, nor does it mention prerequisites such as the Pro license needed for some metrics. Usage must be inferred from the wording.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.