Skip to main content
Glama

エージェント図鑑(医療・介護・保育)

商圏・地域分析(地点+半径の集計)

analyze_trade_area

緯度経度を中心に半径(m)以内の医療機関・介護サービス事業所・保育施設と人口を集計し、商圏分析・営業地域調査に使える形で返します。医療機関は種別(薬局/医科/歯科)・病院数・診療科別の件数(上位15)、診療時間データのカバー率、指定した曜日・時刻に開いている施設数(既定は現在時刻、日本時間)、平日19時以降も開いている施設数、日曜・祝日に開いている施設数、2021年以降に指定を受けた施設数、病床数の機械集計。介護は事業所数、サービス種別上位10、定員の合計、訪問系・通所系・入所系の事業所数。保育は施設数、種別内訳、定員の合計(現在は東京都と大阪市のパイロット収録分で、座標のある施設のみ)。人口側は令和2年国勢調査500mメッシュの合計(総数・年齢3区分・75歳以上・世帯数・高齢化率)と、人口1万人あたり施設数に加え、75歳以上1万人あたり介護事業所数と0〜14歳100人あたり保育定員の需給比。個別施設の一覧ではなく集計値のみを返します。

Input Schema

NameRequiredDescriptionDefault
dayNo開いている施設数を数える曜日。time と併せて指定(既定は現在時刻)
timeNo時刻 HH:MM(日本時間)。day と併せて指定
latitudeYes中心の緯度。例: 35.681
radius_mNo半径m(既定1000、200〜10000)
longitudeYes中心の経度。例: 139.767

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses that day/time default to the current time in JST, that department/service breakdowns are truncated to top 15 / top 10, and that childcare coverage is limited to Tokyo and Osaka-city pilot records with coordinates only. Remaining gaps are operational (latency, caching, error behavior), which are minor for an aggregation read.

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-loaded: the first clause states the operation, scope and use case before the long output enumeration. The enumeration is dense and unstructured (one continuous paragraph, no bullets), but with no output schema almost every listed field earns its place for an agent judging output fitness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must explain return values — and it enumerates them thoroughly across all four data domains, plus defaults, truncation limits and data-coverage caveats. For a complex, five-parameter aggregation tool this is complete enough to invoke 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 the schema already documents all five parameters including ranges and the HH:MM pattern. The description adds the meaningful link that day and time jointly define the 'open at that day/time' count metric, but it does not add syntax or interpretation beyond that.

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?

Specific verb+resource: aggregates medical/care/childcare facilities and population within radius_m of a lat/lon point, and names the use case (商圏分析・営業地域調査). It also explicitly differentiates from the sibling list-style tools with '個別施設の一覧ではなく集計値のみを返します', so an agent can tell it apart from search_nearby/get_facility without opening a 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?

It gives a clear usage context (trade-area / sales-territory analysis) and a negative guide — it returns aggregates only, not individual facility lists — which steers an agent away from using it as a facility lookup. It never names a specific sibling (e.g. search_nearby) as the alternative, so the routing is implied rather than explicit.

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.

Resources