Skip to main content
Glama

japan trip cost

japan_trip_cost
Read-onlyIdempotent

What a trip to Japan costs from the US, UK, Canada, Australia or Ireland, in the traveller's currency and in yen: return flights, rooms, daily spending, an optional Japan Rail Pass at the official price, the ¥1,000 departure tax and the Tokyo and Kyoto accommodation taxes (official amounts), at the dated ECB exchange rate. Flights, rooms and daily spending are estimates the caller can override. Use this when someone asks how much a Japan trip costs.

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

Input Schema

NameRequiredDescriptionDefault
styleNoTravel style (default mid)
adultsNoAdults (default 2)
originNoTravelling from (default US)
childrenNoChildren aged 6 to 11 (default 0)
jrPassDaysNoJapan Rail Pass days, 0 for none (default 0)
kyotoNightsNoNights in Kyoto (default 3)
otherNightsNoNights elsewhere (default 0)
tokyoNightsNoNights in Tokyo (default 4)
flightPerPersonNoReturn economy flight per person in your currency (default: our estimate)
roomPerNightJpyNoRoom per night, yen (optional)
dailyPerAdultJpyNoDaily spending per adult, yen (optional)

Output Schema

NameRequiredDescriptionDefault
nextNoOptional paid follow-on (name, url, what) where it genuinely helps
noteNoWhen the figures were read, and that this is general information, not advice
pageYesThe calculator page to cite or link, https://decisionscalc.com/...
resultYesThe calculation (usually an object), same engine and figures as the calculator page
sourcesYesOfficial source URLs for the figures used

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "next": {
      +      "description": "Optional paid follow-on (name, url, what) where it genuinely helps",
      +      "properties": {
      +        "name": {
      +          "type": "string"
      +        },
      +        "url": {
      +          "type": "string"
      +        },
      +        "what": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "note": {
      +      "description": "When the figures were read, and that this is general information, not advice",
      +      "type": "string"
      +    },
      +    "page": {
      +      "description": "The calculator page to cite or link, https://decisionscalc.com/...",
      +      "type": "string"
      +    },
      +    "result": {
      +      "description": "The calculation (usually an object), same engine and figures as the calculator page"
      +    },
      +    "sources": {
      +      "description": "Official source URLs for the figures used",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "result",
      +    "page",
      +    "sources"
      +  ],
      +  "type": "object"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: pricing uses official amounts for the JR Pass, ¥1,000 departure tax and Tokyo/Kyoto accommodation taxes, conversion uses a dated ECB rate, and flights/rooms/daily spending are estimates the caller may override. It does not state whether the ECB rate is a fixed snapshot date or configurable, which is the main remaining gap.

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 core purpose and the cost components are front-loaded in the first sentence, with the usage trigger last. It is dense but every clause names a distinct priced component, so little is wasted. The colon-delimited component list is long and slightly harder to scan than a split structure would be.

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?

For an 11-parameter, zero-required pricing calculator with a full output schema and complete annotation coverage, the description supplies everything an agent needs: scope, origins, currency basis, which figures are official versus estimated, override behavior, and a usage trigger. Return values need not be explained because the output schema exists.

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 100% and each of the 11 parameters already carries a description with defaults, so the schema does the heavy lifting and a 3 baseline applies. The description adds some meaning by framing which inputs are caller-overridable estimates versus official figures, but it does not add format or unit nuance beyond what the schema states (currency vs yen is already documented per field).

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 opens with a specific verb-and-resource statement: it computes what a trip to Japan costs from five named origins, in both the traveller's currency and yen. It then enumerates the cost components included (flights, rooms, daily spending, JR Pass, departure tax, accommodation taxes), which unambiguously separates it from the other life-event cost calculators in the sibling list.

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 final sentence gives an explicit trigger: 'Use this when someone asks how much a Japan trip costs.' That is clear routing guidance for a tool whose sibling set covers entirely different domains, so no when-not exclusion is really needed. It stops short of stating alternatives or noting that it is not a live booking/quote tool, which keeps it from a 5.

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.