Skip to main content
Glama

Japan Medical Facilities

Find facilities open at a date and time

find_open_facilities

Find medical facilities in Japan that are open at a specific date and time (JST). National holidays are detected automatically and holiday hours are used. Specialty names are in Japanese, e.g. 内科, 小児科, 皮膚科, 歯科, 調剤 (pharmacy). 指定日時に診療・営業している施設を探します。

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": {
      "at": "<at>"
    },
    "name": "find_open_facilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYesISO 8601 date-time, JST if no offset, e.g. '2026-12-20T10:30'
cityNoCity/ward name contained in the address, e.g. '新宿区'
kindNohospital=病院, clinic=診療所, dental=歯科, maternity=助産所, pharmacy=薬局
limitNo
near_latNoLatitude for proximity search
near_lonNoLongitude for proximity search
radius_kmNoRadius in km for proximity search (default 2, max 30)
specialtyNoJapanese specialty name, partial match
prefectureNoPrefecture in Japanese or JIS code, e.g. '東京都' or '13'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does add real behavior: JST is assumed when no offset is given, national holidays are detected automatically and holiday hours are applied, and specialties are Japanese strings. It still omits what the response looks like, result ordering, and whether proximity and city/prefecture filters combine or conflict.

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?

The purpose and the holiday/timezone behavior are front-loaded, then the specialty vocabulary is given compactly. The closing Japanese sentence restates the first sentence's purpose and is the only clearly redundant content.

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?

There is no output schema and the description says nothing about return values, so an agent cannot tell whether it gets facility names, addresses, hours, or a truncated list when limit is hit. For a 9-parameter search tool the input side is well covered, but the result side is entirely undocumented.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 89%, so the baseline is 3; the description earns an extra point by supplying the JST default interpretation of 'at' and by giving concrete specialty vocabulary (内科, 小児科, 皮膚科, 歯科, 調剤) that the schema's 'Japanese specialty name, partial match' does not enumerate. It says nothing about limit, radius_km, or the lat/lon pairing, which the schema handles on its own.

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 states a specific verb and resource ('Find medical facilities in Japan') plus the distinguishing constraint ('open at a specific date and time (JST)'), which separates it from a plain facility search. It does not explicitly name the sibling search_facilities or check_open to draw the contrast, so it stops short of a 5.

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?

Usage is implied by the temporal filter: use this when availability at a given datetime matters, rather than for general browsing. There is no explicit when-not guidance, no mention of prerequisites (e.g., that lat/lon must be supplied together for proximity search), and no named alternative to route to.

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.