Skip to main content
Glama

Japan Medical Facilities

List specialties

list_specialties

List specialty names (Japanese) with facility counts, optionally filtered by kind and prefecture. 診療科名の一覧を返します。

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": "list_specialties"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNohospital=病院, clinic=診療所, dental=歯科, maternity=助産所, pharmacy=薬局
limitNo
prefectureNoPrefecture in Japanese or JIS code, e.g. '東京都' or '13'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the meaningful behavior that output entries are Japanese specialty names paired with facility counts, which is the main thing an agent needs to know. It says nothing about ordering, pagination, or what the 'limit' does to the result set, which leaves behavioral gaps.

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 English sentence is front-loaded and efficient, packing the return shape and the two filters into one clause. The trailing Japanese sentence is a direct restatement of 'List specialty names' and earns little place, which is why it is not a 5.

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?

For a simple read-only enumeration with no output schema, the description usefully covers what is returned (names plus facility counts). However, with no annotations and an undocumented 'limit' parameter, an agent cannot tell whether results are truncated at 100 by default or how to page through more specialties.

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 67%; the 'kind' enum and 'prefecture' already carry bilingual descriptions, and the only undocumented parameter is 'limit'. The description names the two filtering dimensions but adds no interpretation beyond the schema, and it never mentions 'limit'. With coverage in the middle band, a neutral 3 is appropriate.

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 ('List specialty names') and adds scope detail that matters: the names are Japanese and each comes with a facility count. Filters by kind and prefecture are named. It does not explicitly distinguish itself from siblings such as search_facilities or find_open_facilities, 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?

The word 'optionally filtered' implies this is an enumeration tool that can be narrowed, but there is no statement of when to prefer it over search_facilities or find_open_facilities, and no prerequisites or exclusions. Usage is implied rather than prescribed.

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.