Skip to main content
Glama

Japan Medical Facilities

Check if a facility is open

check_open

Check whether a facility is open at a given date and time (JST), considering national holidays. 指定日時に開いているかを判定します。

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

Input Schema

NameRequiredDescriptionDefault
atYesISO 8601 date-time, JST if no offset
idYes
specialtyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 burden, and it does disclose two real behavioral traits: evaluation is in JST and national holidays are factored in. It is silent on what happens for an unknown facility id, whether the answer is a bare boolean or a richer object, and whether hours data may be stale — meaningful gaps for a schedule-dependent check.

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 compact sentences, front-loaded with the core action and the two key qualifiers (JST, holidays). The Japanese sentence is a straight restatement of the English and adds no new information, but it is short enough not to be a real burden.

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

Completeness2/5

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

For a 3-parameter tool with no annotations and no output schema, the definition leaves too much open: the return value shape (boolean vs. structured result), the meaning of 'specialty', and failure behavior for unknown ids. The holiday/JST note is genuinely useful, but the definition is not complete enough for confident invocation.

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

Parameters2/5

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

Schema coverage is only 33%, so the description must compensate and does not. It reinforces the 'at' datetime semantics (JST) but says nothing about what 'id' refers to or what role 'specialty' plays in the open/closed determination, leaving that third parameter entirely undocumented in both schema and description.

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 and resource: check whether a facility is open at a given date/time, with holiday awareness. An agent can tell this is a single-facility point-in-time check rather than a search, though it never names the sibling find_open_facilities to make the contrast explicit.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. Nothing tells the agent why it should use this single-facility check instead of find_open_facilities, nor what prerequisites (valid id, timezone assumptions) must hold. Usage is only inferable from the tool name and the phrase 'a facility'.

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.