Skip to main content
Glama
phonhay103

maitabi-mcp-server

by phonhay103

Maitabi MCP Server (Python)

An MCP (Model Context Protocol) server written in Python using FastMCP for searching and extracting mountain bus tour, alpine trekking, and general tour information from Maitabi (まいたび - 毎日新聞旅行 / 毎日あるぺん号) (www.maitabi.jp, bus.maitabi.jp, & api.bus.maitabi.jp).

Docker Hub Repository: phonhay103/maitabi-mcp-server

Tools Provided

Mountain Bus Tours (毎日あるぺん号 - bus.maitabi.jp)

  • list_filters: Fetch available filter options, departure areas, tour styles, mountain lodges, and tour counts for mountain bus tours.

  • list_district_groups: Fetch area/district groups and tour counts for mountain bus tours.

  • search_tours: Search mountain bus tours with full filter support (departure, month, day, area, style, return date, bus seat, lodges, keyword, course code).

  • get_tour_detail: Fetch complete bus tour details, schedules, comments, and pricing by course_no.

General Travel & Trekking Tours (毎日新聞旅行 - www.maitabi.jp)

  • search_general_tours: Search general Mainichi Travel tours across categories (travel_type: 1=Domestic Mountain Climbing/Trekking, 2=Domestic Travel/Hiking, 3=Mountain Bus, 4=Overseas Mountain Climbing/Trekking, 5=Overseas Travel) with keyword, date, and pagination filters.

  • get_general_tour_detail: Fetch complete tour details, itinerary, meal condition, guide info, points of interest, and booking links for general tours by courseNo.

  • get_tour_calendar: Fetch monthly departure schedule calendar and tour matrix on www.maitabi.jp for a given year and month.


Related MCP server: transit-mcp

1. MCP Server Usage

Running the Server

Option A: Zero-setup via uvx

# From PyPI (once published)
uvx maitabi-mcp-server

# Directly from Git repository
uvx --from git+https://github.com/phonhay103/maitabi-mcp-server.git maitabi-mcp-server

Option B: Via Docker Image

docker pull phonhay103/maitabi-mcp-server:latest
docker run -i --rm phonhay103/maitabi-mcp-server:latest

Configuration for MCP Clients

Add the following to your MCP client settings depending on your client platform:

1. For Claude Desktop / Cursor / Pi (claude_desktop_config.json)

Uses the "mcpServers" top-level key format:

Via uvx (Recommended):
{
  "mcpServers": {
    "maitabi-pypi": {
      "command": "uvx",
      "args": ["maitabi-mcp-server"]
    }
  }
}
Via Docker:
{
  "mcpServers": {
    "maitabi": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "phonhay103/maitabi-mcp-server:latest"
      ]
    }
  }
}

2. For VSCode / Cursor Extensions (e.g. Cline, Roo Code, etc.)

Uses the "servers" top-level key and requires the "type": "stdio" field (typically in clines_mcp_settings.json or mcp_settings.json):

{
    "servers": {
        "maitabi": {
            "command": "docker",
            "args": [
                "run",
                "-i",
                "--rm",
                "phonhay103/maitabi-mcp-server:latest"
            ],
            "type": "stdio"
        },
        "maitabi-pypi": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "maitabi-mcp-server"
            ]
        }
    },
    "inputs": []
}

Agent Skills (vercel-labs/skills)

Install and use Agent Skills from this repository via npx skills:

# Install to current project
npx skills add phonhay103/maitabi-mcp-server

# Install globally
npx skills add phonhay103/maitabi-mcp-server -g

# List skills / Use without installing
npx skills add phonhay103/maitabi-mcp-server --list
npx skills use phonhay103/maitabi-mcp-server

Available Skills:

  • maitabi-bus-extractor (skills/maitabi-bus-extractor/SKILL.md): Search and extract Maitabi mountain bus (bus.maitabi.jp) and general trekking tours (www.maitabi.jp).


2. Development

Makefile Commands

make help          # Show available Makefile targets
make install       # Install dependencies using uv
make dev           # Run the MCP server locally over stdio
make dev-http      # Run the MCP server locally over Streamable HTTP (Port 8000)
make test          # Run test suite
make docker-build  # Build 2-stage Docker image (Python 3.14)
make build         # Build Python package wheel & sdist

Local Development Client Configuration

To test a local checkout with an MCP client:

{
  "mcpServers": {
    "maitabi": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/maitabi-mcp-server",
        "maitabi-mcp-server"
      ]
    }
  }
}

Available Tools

7 tools
get_general_tour_detailB

Fetch complete details, itinerary, pricing, and booking information for a general tour on www.maitabi.jp.

Returns a JSON string containing tour itinerary, meal conditions, price matrix, lodging, and booking links.

ParametersJSON Schema
NameRequiredDescriptionDefault
course_noYesTour course number(s) on www.maitabi.jp (e.g., 1723, 24865). Can be a single int or list of ints for batch fetching.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. It states that the tool returns a JSON string with specific content, which is a useful behavioral detail, but it does not mention any side effects (though 'fetch' implies read-only), error handling, rate limits, or potential size implications of batch fetching. The description is accurate but incomplete in disclosing behavioral nuances beyond the basic read operation, earning a middling score.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is exceptionally concise—two sentences with no unnecessary words. It front-loads the core purpose and then enumerates the return contents in a structured manner. Every sentence earns its place, and the structure is clear and scannable for an agent.

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

Completeness4/5

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

Given the tool has only one well-documented parameter and an output schema is present (indicating the return structure is formally defined), the description covers the essential context: what the tool fetches and what it returns. It does not mention authentication requirements or behavior for invalid course numbers, but these are likely implicit or covered by the output schema. For a simple read tool, this is nearly complete, though a minor addition about error handling would make it fully complete.

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?

The input schema provides 100% coverage for the single parameter, course_no, including its type, range, and the ability to pass a single integer or list. The description adds no additional semantic information about the parameter itself; it focuses on the output. Since schema coverage is high, the baseline is 3, and the description does not elevate it beyond that.

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 clearly states the action ('Fetch') and the resource ('complete details, itinerary, pricing, and booking information for a general tour'), including the website domain. It differentiates from siblings by specifying 'general tour', which hints at a distinction from get_tour_detail, though it doesn't explicitly name the alternative. The purpose is unambiguous and specific enough for an agent to understand what the tool does.

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?

The description provides no guidance on when to use this tool versus its siblings, such as get_tour_detail or search_general_tours. It does not mention any conditions, exclusions, or alternatives. While the name and 'general tour' phrasing imply it is for general tour details, the lack of explicit direction leaves the agent to infer usage, which is insufficient given the sibling set includes a similarly named tool.

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

get_tour_calendarA

Fetch monthly departure calendar and tour schedule matrix on www.maitabi.jp for a given year and month.

Returns a JSON string with daily departure schedule matrix, tour availability, and calendar dates.

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYesYear (e.g., 2026)
monthYesMonth (1-12)
travel_typeNoOptional category ID filter: 1=Domestic Mountain, 2=Domestic Travel, 3=Mountain Bus, 4=Overseas Mountain, 5=Overseas Travel

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.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. It discloses that the tool performs a fetch and returns a JSON string with a specific content structure, which is useful. However, it does not explicitly state whether this is a read-only operation, potential side effects, or any authentication/rate-limit requirements. Given the name and 'Fetch', it is likely safe, but not explicitly confirmed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loaded with the action and resource, and each sentence contributes relevant information. No redundant or filler content.

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?

Given the tool's simplicity, the existence of an output schema, and complete parameter descriptions in the schema, the description adequately covers the tool's purpose and behavior. It even mentions the return type and contents, which adds completeness beyond what the schema provides.

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?

All parameters (year, month, travel_type) have descriptions in the schema, covering 100% of them. The description adds no additional semantic meaning beyond saying 'for a given year and month', which is already in the schema. This meets the baseline for complete schema coverage.

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?

The description uses a specific verb ('Fetch') and identifies the resource ('monthly departure calendar and tour schedule matrix') and the website (www.maitabi.jp). It clearly distinguishes itself from sibling tools like search_tours or get_tour_detail by focusing on the calendar/matrix for a given year and month.

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 makes it clear that the tool is for retrieving a calendar for a specific year/month, implying when to use it. However, it does not explicitly state when not to use it or mention alternatives among the sibling tools, so no clear exclusion or alternative guidance is provided.

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

get_tour_detailA

Fetch detailed information, schedule, pricing, and bus stops for a specific Maitabi mountain bus tour by course_no.

Returns a JSON string containing complete tour itinerary, bus departure points, seat options, pricing, and lodging info.

ParametersJSON Schema
NameRequiredDescriptionDefault
course_noYesInternal course number(s) on bus.maitabi.jp (e.g., 14241, 8518). Can be a single int or list of ints for batch fetching.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden of disclosing behavioral traits. It mentions the return format ('returns a JSON string containing...') which gives insight into the output, but it does not explicitly state that this is a read-only operation, mention auth requirements, rate limits, or side effects. The verb 'Fetch' implies a read operation, but a mutation-minded agent might not be fully assured. This is a moderate disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with zero fluff. It front-loads the primary action and results, then quickly notes the return type. Every sentence serves a purpose, and the structure is easy to scan.

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

Completeness4/5

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

The tool has one well-documented parameter and an output schema (indicated in signals), so the description need not detail return values exhaustively. It covers the key elements: what the tour detail includes (itinerary, stops, pricing, lodging) and the parameter type. A minor gap is that it does not explicitly mention that batch fetching is supported (though the schema does), but overall it is complete for a simple fetch tool.

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% – the 'course_no' parameter is already described in the schema with examples and batch support. The description adds no extra meaning beyond what the schema provides. Baseline 3 is appropriate since the schema does the heavy lifting.

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?

The description clearly states the verb 'Fetch' and the resource 'detailed information, schedule, pricing, and bus stops for a specific Maitabi mountain bus tour by course_no.' It explicitly identifies the target domain ('Maitabi mountain bus tour') which distinguishes it from 'get_general_tour_detail' and other siblings. The purpose is unambiguous and specific.

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 usage when you have a course_no, but it does not explicitly state when to choose this over sibling tools like get_general_tour_detail or get_tour_calendar. No alternatives or exclusions are mentioned, so the agent must infer from the 'Maitabi mountain bus' context. This is acceptable but not explicit.

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

list_district_groupsA

Fetch mountain area/district groups and tour counts for Maitabi mountain bus tours.

Supports cascading filtering—district groups and counts update dynamically based on other selected filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
dayNoDeparture day (1-31)
areaNoArea/direction ID (e.g., 18=Tateyama Murodo, 10=Kamikochi, 0=All)
monthNoDeparture month (1-12). Defaults to current month if omitted.
stay1NoMountain lodge ID for night 1 (e.g., 5=Enzanso, 2=Nishiho Sanso)
stay2NoMountain lodge ID for night 2
stay3NoMountain lodge ID for night 3
styleNoTour style: 1=Round-trip bus, 2=Outbound bus, 3=Inbound bus, 4=Round-trip lodge, 5=Outbound lodge, 6=Overnight day-trip, 7=Taxi plan
keywordNoSearch keyword in Japanese (e.g., '立山', '上高地')
bus_sheetNoBus seat type: 1=Standard, 2=Premium, 3=Outbound Premium / Inbound Standard, 4=Outbound Standard / Inbound Premium, 5=Double seat, 6=Taxi
course_cdNoMaitabi course code (e.g., 'S104C21')
departureNoDeparture point: 1=Tokyo (Takebashi/Shinjuku), 2=Osaka/Kyoto, 3=Nagoya
return_dayNoReturn date option: 1=1 day after departure, 2=2 days after, 3=3 days after, 4=4 days after, 5=5 days after

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It adds the key behavioral trait that district groups and counts update dynamically based on other selected filters, which is not evident from the schema. This goes beyond a simple fetch description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero fluff. The first sentence immediately states the core purpose, and the second adds the cascading behavior. Information is front-loaded and every word earns its place.

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

Completeness4/5

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

Given the existence of an output schema, return format is covered. The description states the purpose and a key behavioral nuance. However, it does not address how this tool relates to search_tours or list_filters, which could leave an agent uncertain about when to call it; still, the name and purpose are clear enough for a fetch-style tool.

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%, with detailed parameter descriptions for all 12 optional parameters. The description adds no additional parameter meaning beyond what the schema already provides, so a baseline score of 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?

States a specific verb (Fetch) and resource (mountain area/district groups and tour counts) with clear domain context (Maitabi mountain bus tours). However, it does not explicitly differentiate from sibling tools like list_filters or search_tours, relying on the resource name to imply distinction.

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?

Mentions cascading filtering, which implies use in an interactive filtering context, but does not explicitly state when to use this tool versus alternatives or provide exclusions. The 'when to use' is inferred rather than stated.

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

list_filtersA

Fetch available filter dropdown options, departure areas, tour styles, mountain lodges, and tour counts for Maitabi bus tours.

Supports cascading filtering—options and counts update dynamically based on other selected filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
dayNoDeparture day (1-31)
areaNoArea/direction ID (e.g., 18=Tateyama Murodo, 10=Kamikochi, 0=All)
monthNoDeparture month (1-12). Defaults to current month if omitted.
stay1NoMountain lodge ID for night 1 (e.g., 5=Enzanso, 2=Nishiho Sanso)
stay2NoMountain lodge ID for night 2
stay3NoMountain lodge ID for night 3
styleNoTour style: 1=Round-trip bus, 2=Outbound bus, 3=Inbound bus, 4=Round-trip lodge, 5=Outbound lodge, 6=Overnight day-trip, 7=Taxi plan
keywordNoSearch keyword in Japanese (e.g., '立山', '上高地')
bus_sheetNoBus seat type: 1=Standard, 2=Premium, 3=Outbound Premium / Inbound Standard, 4=Outbound Standard / Inbound Premium, 5=Double seat, 6=Taxi
course_cdNoMaitabi course code (e.g., 'S104C21')
departureNoDeparture point: 1=Tokyo (Takebashi/Shinjuku), 2=Osaka/Kyoto, 3=Nagoya
return_dayNoReturn date option: 1=1 day after departure, 2=2 days after, 3=3 days after, 4=4 days after, 5=5 days after

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries full responsibility. It discloses that the tool is a fetch (read-oriented) and that options/counts update dynamically with cascading filters. However, it does not explicitly state that it performs no state changes, nor does it mention any edge cases or side effects. Basic but not rich behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with zero filler. The main purpose is front-loaded and the cascading behavior is stated concisely without redundancy.

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

Completeness4/5

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

The output schema exists, so return details are covered there. The description explains the core behavior (fetching options and tour counts, cascading updates) adequately. The only gap is a lack of explicit guidance on when to use this vs. sibling tools, but given the simplicity, it is nearly complete.

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%, and the input schema already documents each parameter with examples and enums. The description adds no additional parameter semantics beyond what the schema provides, so the baseline of 3 applies.

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?

The description clearly states the specific purpose: fetching filter dropdown options (departure areas, tour styles, mountain lodges) and tour counts for Maitabi bus tours. This distinguishes it from sibling tools like search_tours (which returns tour results) and get_tour_detail (which returns a single tour).

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 use for populating filter UI and notes cascading behavior, but it does not explicitly state when to use this over alternatives (e.g., when not to use search_tours) or provide exclusion criteria. The guidance is merely implicit rather than direct.

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

search_general_toursB

Search general travel tours and mountain climbing packages on www.maitabi.jp.

Returns a JSON string containing matching tours, total count, pagination, sorting, and categories.

ParametersJSON Schema
NameRequiredDescriptionDefault
dayNoDeparture day of month (1-31). Can be a single int, a list of ints, or a string range (e.g., '14-16, 20').
pageNoPage number (1-based)
keywordNoSearch keyword in Japanese (e.g., '富士山', '京都')
max_priceNoMaximum price in JPY (e.g., 50000). Filters the results before returning.
min_priceNoMinimum price in JPY (e.g., 10000). Filters the results before returning.
list_orderNoSort order: 'startDateAsc' (departure earliest), 'saikouStatus' (departure status), 'yoyakuStatus' (availability), 'priceAsc' (price low to high), 'priceDesc' (price high to low)
year_monthNoDeparture year-month string in 'YYYY-MM' format (e.g., '2026-08')
travel_typeNoCategory ID: 1=Domestic Mountain (default), 2=Domestic Travel, 3=Mountain Bus, 4=Overseas Mountain, 5=Overseas Travel
category_nos1NoSubcategory Nos for Style/Duration (e.g. [36] for Day trip, [259] for Overnight)
category_nos2NoSubcategory Nos for Difficulty/Shoes (e.g. [363] for Grade 1 / Introduction)
category_nos3NoSubcategory Nos for Departure Region (e.g. [13] for Kanto, [15] for Tokai)
category_nos4NoSubcategory Nos for Themes/Tours
category_nos5NoSubcategory Nos for Guides
require_available_seatsNoIf True, filters out full/closed tours (満席, 受付終了).

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations provided, the description must carry the full burden of behavioral disclosure. It mentions that the tool returns a JSON string with tours, total count, pagination, sorting, and categories, which is useful. However, it does not explicitly state that the operation is read-only, nor does it disclose any side effects, rate limits, or dependency on the external site's state. For a search tool this is adequate but not rich.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with no fluff. The purpose is front-loaded, and the return format is stated succinctly. Every word earns its place, and it is appropriately sized for a search tool with a rich schema.

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?

Given 14 parameters, a rich schema, and an output schema, the description is minimal but covers the core purpose and return. However, it fails to clarify the distinction from the sibling 'search_tours', leaving an agent potentially selecting the wrong tool. It also does not mention that the search is likely read-only, though that is less critical. The omission of alternative routing makes it incomplete for safe tool selection.

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?

The schema provides descriptions for all 14 parameters with 100% coverage, so the baseline is 3. The tool description adds no additional meaning beyond what the schema already documents. It does not clarify parameter interactions, typical usage patterns, or any domain-specific conventions, so it does not elevate above the baseline.

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 clearly states the verb 'Search' and the resource 'general travel tours and mountain climbing packages on www.maitabi.jp', and it specifies the return format. However, it does not differentiate itself from the sibling tool 'search_tours', which likely covers a different scope (e.g., general tours vs. specific categories). Since an agent could confuse the two, it lacks explicit sibling differentiation.

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?

The description provides no guidance on when to use this tool versus alternatives like 'search_tours' or 'get_tour_detail'. It does not mention selection criteria, exclusions, or typical scenarios. The agent is left to infer usage from the name alone, which is insufficient given the overlapping sibling set.

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

search_toursA

Search mountain bus tours and lodge packages on Maitabi (bus.maitabi.jp) with detailed filter criteria.

Returns a JSON string containing matching bus tours, seat options, pricing, departure dates, and course numbers.

ParametersJSON Schema
NameRequiredDescriptionDefault
dayNoDeparture day (1-31). Can be a single int, a list of ints, or a string range (e.g., '14-16, 20').
areaNoArea/direction ID (e.g., 18=Tateyama Murodo, 10=Kamikochi, 0=All)
pageNoPage number (1-based)
monthNoDeparture month (1-12)
stay1NoMountain lodge ID for night 1 (e.g., 5=Enzanso, 2=Nishiho Sanso)
stay2NoMountain lodge ID for night 2
stay3NoMountain lodge ID for night 3
styleNoTour style: 1=Round-trip bus, 2=Outbound bus, 3=Inbound bus, 4=Round-trip lodge, 5=Outbound lodge, 6=Overnight day-trip, 7=Taxi plan
keywordNoSearch keyword in Japanese (e.g., '立山', '上高地')
bus_sheetNoBus seat type: 1=Standard, 2=Premium, 3=Outbound Premium / Inbound Standard, 4=Outbound Standard / Inbound Premium, 5=Double seat, 6=Taxi
course_cdNoMaitabi course code (e.g., 'S104C21')
departureNoDeparture point: 1=Tokyo (Takebashi/Shinjuku), 2=Osaka/Kyoto, 3=Nagoya
max_priceNoMaximum price in JPY (e.g., 20000). Filters the results before returning.
min_priceNoMinimum price in JPY (e.g., 10000). Filters the results before returning.
return_dayNoReturn date option: 1=1 day after departure, 2=2 days after, 3=3 days after, 4=4 days after, 5=5 days after
require_available_seatsNoIf True, filters out full/closed tours (満席, 受付終了).

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It mentions the return format (JSON string with specific fields) and the site, but does not disclose pagination behavior, result limits, or any constraints beyond the parameters. It fails to mention that search is read-only (which is likely obvious) but also doesn't discuss potential errors or rate limits. This is a moderate disclosure, but the core behavior is indicated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences that front-load the resource and action. The description is efficient, with no redundant content, and clearly states the return type.

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

Completeness4/5

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

Given the 100% schema coverage and output schema present, the description is complete for a search tool. It names the domain, the site, and the return content. However, it doesn't specify combination semantics (AND/OR) of filters, which might be valuable, but that's often implied by search filters. So it's adequate.

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?

The schema has 100% coverage with descriptive parameter explanations, so the description adds no additional parameter information. The baseline of 3 applies because the schema does the heavy lifting.

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?

The description clearly states the tool searches mountain bus tours and lodge packages on a specific site (Maitabi) and returns a JSON string with tour details. This distinguishes it from sibling search_general_tours which likely handles general tours.

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?

The description implies usage for mountain bus tours and lodge packages but does not explicitly contrast with alternatives like search_general_tours or mention when not to use it. It provides clear context that this is for mountain-specific tours, so an agent can infer when to use it, but no explicit exclusions are given.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv0.1.10
    • Changedget_general_tour_detail4 fields changed
      • addedInput schema / properties / course_no / anyOf
        Added value: +[
        +  {
        +    "type": "integer"
        +  },
        +  {
        +    "items": {
        +      "type": "integer"
        +    },
        +    "type": "array"
        +  }
        +]
      • changedInput schema / properties / course_no / description
        Previous value: -"Tour course number on www.maitabi.jp (e.g., 1723, 24865)"New value: +"Tour course number(s) on www.maitabi.jp (e.g., 1723, 24865). Can be a single int or list of ints for batch fetching."
      • removedInput schema / properties / course_no / exclusiveMinimum
        Removed value: -0
      • removedInput schema / properties / course_no / type
        Removed value: -"integer"
    • Changedget_tour_detail4 fields changed
      • addedInput schema / properties / course_no / anyOf
        Added value: +[
        +  {
        +    "type": "integer"
        +  },
        +  {
        +    "items": {
        +      "type": "integer"
        +    },
        +    "type": "array"
        +  }
        +]
      • changedInput schema / properties / course_no / description
        Previous value: -"Internal course number on bus.maitabi.jp (e.g., 14241, 8518)"New value: +"Internal course number(s) on bus.maitabi.jp (e.g., 14241, 8518). Can be a single int or list of ints for batch fetching."
      • removedInput schema / properties / course_no / exclusiveMinimum
        Removed value: -0
      • removedInput schema / properties / course_no / type
        Removed value: -"integer"
    • Changedlist_district_groups10 fields changed
      • addedInput schema / properties / area
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 0,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Area/direction ID (e.g., 18=Tateyama Murodo, 10=Kamikochi, 0=All)"
        +}
      • addedInput schema / properties / bus_sheet
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "Bus seat configuration ID for mountain bus tours.",
        +      "enum": [
        +        1,
        +        2,
        +        3,
        +        4,
        +        5,
        +        6
        +      ],
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Bus seat type: 1=Standard, 2=Premium, 3=Outbound Premium / Inbound Standard, 4=Outbound Standard / Inbound Premium, 5=Double seat, 6=Taxi"
        +}
      • addedInput schema / properties / course_cd
        Added value: +{
        +  "anyOf": [
        +    {
        +      "maxLength": 50,
        +      "minLength": 1,
        +      "type": "string"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Maitabi course code (e.g., 'S104C21')"
        +}
      • addedInput schema / properties / day
        Added value: +{
        +  "anyOf": [
        +    {
        +      "maximum": 31,
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Departure day (1-31)"
        +}
      • addedInput schema / properties / keyword
        Added value: +{
        +  "anyOf": [
        +    {
        +      "maxLength": 100,
        +      "minLength": 1,
        +      "type": "string"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Search keyword in Japanese (e.g., '立山', '上高地')"
        +}
      • addedInput schema / properties / return_day
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "Return date option ID for mountain bus tours relative to departure.",
        +      "enum": [
        +        1,
        +        2,
        +        3,
        +        4,
        +        5
        +      ],
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Return date option: 1=1 day after departure, 2=2 days after, 3=3 days after, 4=4 days after, 5=5 days after"
        +}
      • addedInput schema / properties / stay1
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Mountain lodge ID for night 1 (e.g., 5=Enzanso, 2=Nishiho Sanso)"
        +}
      • addedInput schema / properties / stay2
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Mountain lodge ID for night 2"
        +}
      • addedInput schema / properties / stay3
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Mountain lodge ID for night 3"
        +}
      • addedInput schema / properties / style
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "Tour style ID for mountain bus tours.",
        +      "enum": [
        +        1,
        +        2,
        +        3,
        +        4,
        +        5,
        +        6,
        +        7
        +      ],
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Tour style: 1=Round-trip bus, 2=Outbound bus, 3=Inbound bus, 4=Round-trip lodge, 5=Outbound lodge, 6=Overnight day-trip, 7=Taxi plan"
        +}
    • Changedlist_filters10 fields changed
      • addedInput schema / properties / area
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 0,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Area/direction ID (e.g., 18=Tateyama Murodo, 10=Kamikochi, 0=All)"
        +}
      • addedInput schema / properties / bus_sheet
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "Bus seat configuration ID for mountain bus tours.",
        +      "enum": [
        +        1,
        +        2,
        +        3,
        +        4,
        +        5,
        +        6
        +      ],
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Bus seat type: 1=Standard, 2=Premium, 3=Outbound Premium / Inbound Standard, 4=Outbound Standard / Inbound Premium, 5=Double seat, 6=Taxi"
        +}
      • addedInput schema / properties / course_cd
        Added value: +{
        +  "anyOf": [
        +    {
        +      "maxLength": 50,
        +      "minLength": 1,
        +      "type": "string"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Maitabi course code (e.g., 'S104C21')"
        +}
      • addedInput schema / properties / day
        Added value: +{
        +  "anyOf": [
        +    {
        +      "maximum": 31,
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Departure day (1-31)"
        +}
      • addedInput schema / properties / keyword
        Added value: +{
        +  "anyOf": [
        +    {
        +      "maxLength": 100,
        +      "minLength": 1,
        +      "type": "string"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Search keyword in Japanese (e.g., '立山', '上高地')"
        +}
      • addedInput schema / properties / return_day
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "Return date option ID for mountain bus tours relative to departure.",
        +      "enum": [
        +        1,
        +        2,
        +        3,
        +        4,
        +        5
        +      ],
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Return date option: 1=1 day after departure, 2=2 days after, 3=3 days after, 4=4 days after, 5=5 days after"
        +}
      • addedInput schema / properties / stay1
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Mountain lodge ID for night 1 (e.g., 5=Enzanso, 2=Nishiho Sanso)"
        +}
      • addedInput schema / properties / stay2
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Mountain lodge ID for night 2"
        +}
      • addedInput schema / properties / stay3
        Added value: +{
        +  "anyOf": [
        +    {
        +      "minimum": 1,
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Mountain lodge ID for night 3"
        +}
      • addedInput schema / properties / style
        Added value: +{
        +  "anyOf": [
        +    {
        +      "description": "Tour style ID for mountain bus tours.",
        +      "enum": [
        +        1,
        +        2,
        +        3,
        +        4,
        +        5,
        +        6,
        +        7
        +      ],
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Tour style: 1=Round-trip bus, 2=Outbound bus, 3=Inbound bus, 4=Round-trip lodge, 5=Outbound lodge, 6=Overnight day-trip, 7=Taxi plan"
        +}
    • Changedsearch_general_tours11 fields changed
      • addedInput schema / properties / category_nos1
        Added value: +{
        +  "anyOf": [
        +    {
        +      "items": {
        +        "type": "integer"
        +      },
        +      "type": "array"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Subcategory Nos for Style/Duration (e.g. [36] for Day trip, [259] for Overnight)"
        +}
      • addedInput schema / properties / category_nos2
        Added value: +{
        +  "anyOf": [
        +    {
        +      "items": {
        +        "type": "integer"
        +      },
        +      "type": "array"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Subcategory Nos for Difficulty/Shoes (e.g. [363] for Grade 1 / Introduction)"
        +}
      • addedInput schema / properties / category_nos3
        Added value: +{
        +  "anyOf": [
        +    {
        +      "items": {
        +        "type": "integer"
        +      },
        +      "type": "array"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Subcategory Nos for Departure Region (e.g. [13] for Kanto, [15] for Tokai)"
        +}
      • addedInput schema / properties / category_nos4
        Added value: +{
        +  "anyOf": [
        +    {
        +      "items": {
        +        "type": "integer"
        +      },
        +      "type": "array"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Subcategory Nos for Themes/Tours"
        +}
      • addedInput schema / properties / category_nos5
        Added value: +{
        +  "anyOf": [
        +    {
        +      "items": {
        +        "type": "integer"
        +      },
        +      "type": "array"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Subcategory Nos for Guides"
        +}
      • changedInput schema / properties / day / anyOf
        Previous value: -[
        -  {
        -    "maximum": 31,
        -    "minimum": 1,
        -    "type": "integer"
        -  },
        -  {
        -    "type": "null"
        -  }
        -]New value: +[
        +  {
        +    "type": "integer"
        +  },
        +  {
        +    "items": {
        +      "type": "integer"
        +    },
        +    "type": "array"
        +  },
        +  {
        +    "type": "string"
        +  },
        +  {
        +    "type": "null"
        +  }
        +]
      • changedInput schema / properties / day / description
        Previous value: -"Departure day of month (1-31)"New value: +"Departure day of month (1-31). Can be a single int, a list of ints, or a string range (e.g., '14-16, 20')."
      • addedInput schema / properties / list_order
        Added value: +{
        +  "anyOf": [
        +    {
        +      "type": "string"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Sort order: 'startDateAsc' (departure earliest), 'saikouStatus' (departure status), 'yoyakuStatus' (availability), 'priceAsc' (price low to high), 'priceDesc' (price high to low)"
        +}
      • addedInput schema / properties / max_price
        Added value: +{
        +  "anyOf": [
        +    {
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Maximum price in JPY (e.g., 50000). Filters the results before returning."
        +}
      • addedInput schema / properties / min_price
        Added value: +{
        +  "anyOf": [
        +    {
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Minimum price in JPY (e.g., 10000). Filters the results before returning."
        +}
      • addedInput schema / properties / require_available_seats
        Added value: +{
        +  "default": false,
        +  "description": "If True, filters out full/closed tours (満席, 受付終了).",
        +  "type": "boolean"
        +}
    • Changedsearch_tours5 fields changed
      • changedInput schema / properties / day / anyOf
        Previous value: -[
        -  {
        -    "maximum": 31,
        -    "minimum": 1,
        -    "type": "integer"
        -  },
        -  {
        -    "type": "null"
        -  }
        -]New value: +[
        +  {
        +    "type": "integer"
        +  },
        +  {
        +    "items": {
        +      "type": "integer"
        +    },
        +    "type": "array"
        +  },
        +  {
        +    "type": "string"
        +  },
        +  {
        +    "type": "null"
        +  }
        +]
      • changedInput schema / properties / day / description
        Previous value: -"Departure day (1-31)"New value: +"Departure day (1-31). Can be a single int, a list of ints, or a string range (e.g., '14-16, 20')."
      • addedInput schema / properties / max_price
        Added value: +{
        +  "anyOf": [
        +    {
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Maximum price in JPY (e.g., 20000). Filters the results before returning."
        +}
      • addedInput schema / properties / min_price
        Added value: +{
        +  "anyOf": [
        +    {
        +      "type": "integer"
        +    },
        +    {
        +      "type": "null"
        +    }
        +  ],
        +  "default": null,
        +  "description": "Minimum price in JPY (e.g., 10000). Filters the results before returning."
        +}
      • addedInput schema / properties / require_available_seats
        Added value: +{
        +  "default": false,
        +  "description": "If True, filters out full/closed tours (満席, 受付終了).",
        +  "type": "boolean"
        +}
  2. 7 tool updatesv0.1.1
    • First observedget_general_tour_detail
    • First observedget_tour_calendar
    • First observedget_tour_detail
    • First observedlist_district_groups
    • First observedlist_filters
    • First observedsearch_general_tours
    • First observedsearch_tours

TDQS

A3.8/5.0

Scored across 7 tools

Disambiguation4/5

The bus tour vs general tour split is clear, but list_filters and list_district_groups overlap noticeably—both return tour counts and support cascading filters for mountain bus tours. An agent could be unsure which to call when gathering filter options.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern using list_, get_, and search_. The domain distinction is also reflected well with search_tours vs search_general_tours and get_tour_detail vs get_general_tour_detail.

Tool Count5/5

Seven tools is well-scoped for a travel tour search server covering two related subdomains. Each tool has a distinct role, and there is no sense of bloat or excessive fragmentation.

Completeness4/5

The tool surface covers both main tour types: mountain bus tours and general tours, with search, detail, filters, and calendar data. Minor gaps like the absence of a dedicated general-tour filter listing or a separate mountain-bus calendar are workable given the existing search and calendar tools.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    A travel planning MCP server that supports flight search, weather (including cherry blossom forecasts), exchange rate queries, and trip planning. It specializes in Japan travel from Shenzhen/Hong Kong, providing optimal date analysis and multi-day itinerary suggestions.
    7 npm
    ISC
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for Japanese public transit journey planning with interactive map UI, enabling station search, route planning, and departure lookups via natural language.
    MIT