Skip to main content
Glama

Jma Resolve Area

jma_resolve_area
Read-onlyIdempotent

Resolve a Japanese place name (English romaji or Japanese, e.g. "Tokyo", "Sapporo", "大阪") or a JMA area code to the JMA forecast OFFICE code used by jma_forecast and jma_warnings. Sourced from the Japan Meteorological Agency (JMA) area master list (www.jma.go.jp/bosai/common/const/area.json), which covers all 58 forecast offices plus every prefecture, region, city, ward and town JMA itself names in English. Use this when you need the raw office code, or just pass the place name straight into jma_forecast / jma_warnings, they resolve internally.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "Tokyo"
    },
    "name": "jma_resolve_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesPlace name (English or Japanese) or JMA area code, e.g. "Tokyo", "Naha", "130000".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description is freed to add provenance: the JMA area master URL, the 58-office scope, and that prefectures, regions, cities, wards and towns are all covered. What it does not state is failure behavior — e.g. what happens with an ambiguous or unmatched name — which keeps it off a 5.

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 sentences, front-loaded with the purpose and followed by the routing advice; both earn their place. The provenance/coverage clause is on the long side and could be tightened, but nothing is filler.

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?

For a one-parameter resolver with no output schema, the description covers input forms, data source, coverage breadth, and when to skip it. It stops just short of telling the agent what the returned code looks like (format/width) or how ambiguity is handled.

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 on the single `query` parameter is 100%, and the schema already gives 'Place name (English or Japanese) or JMA area code' with examples. The description largely restates this, adding only the 'English romaji' framing and one extra Japanese-script example, so it is a baseline 3 rather than meaningful added meaning.

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?

Opens with a specific verb+resource+target: 'Resolve a Japanese place name ... or a JMA area code to the JMA forecast OFFICE code.' It explicitly names the consumers (jma_forecast, jma_warnings), so an agent can distinguish this lookup tool from the forecast/warning siblings without opening any schema.

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

Usage Guidelines5/5

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

Gives both the when ('Use this when you need the raw office code') and the when-not/alternative ('just pass the place name straight into jma_forecast / jma_warnings, they resolve internally'). That routing decision is exactly what an agent needs before choosing a sibling.

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.