Skip to main content
Glama

SSW Compass — Japan Visa Procedure Guide

Classify Japanese visa procedure type

classify_procedure
Read-onlyIdempotent

Returns the Japanese visa procedure type (certificate of eligibility issuance / status change / period renewal / specified-activity bridge) the user likely needs, grounded in 出入国在留管理庁 official procedure rules. Use when the user asks which procedure they need given a current status, target status, location, and optional SSW industry. Do not use to decide an individual case outcome. Information only — does not constitute legal advice. Does not accept personal identifiers.

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": {
      "currentStatus": "<currentStatus>",
      "targetStatus": "<targetStatus>",
      "location": "<location>"
    },
    "name": "classify_procedure"
  }
}

Input Schema

NameRequiredDescriptionDefault
industryNo特定技能の対象産業分野 (任意、Sprint 3+ で分野別回答に使用)
languageNo出力言語ja
locationYes現在の所在地
yearMonthNo入国・申請予定の年月 (YYYY-MM 形式、任意)
targetStatusYes希望する新しい在留資格
currentStatusYes現在の在留資格
applicantProfileNo技能実習修了・試験免除区分。確認できない場合は省略し、ツールは免除を断定しない
receivingOrganizationProfileNo受入機関の第2表区分。確認できない場合は省略し、ツールは省略可否を断定しない

Output Schema

NameRequiredDescriptionDefault
asOfYes
nextStepsYes
rationaleYes
confidenceYes
disclaimerYes
formBundleNo
referencesYes
assumptionsYes
procedureTypeYes
procedureLabelYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / industry / enum
      Previous value: -[
      -  "agriculture",
      -  "fishery",
      -  "food_manufacturing",
      -  "food_service",
      -  "manufacturing",
      -  "industrial_products_manufacturing",
      -  "construction",
      -  "nursing_care",
      -  "building_cleaning",
      -  "linen_supply",
      -  "automobile_repair",
      -  "automobile_maintenance",
      -  "aviation",
      -  "lodging",
      -  "accommodation",
      -  "shipbuilding",
      -  "electronics",
      -  "automobile_transportation",
      -  "railway",
      -  "forestry",
      -  "wood_products",
      -  "other"
      -]New value: +[
      +  "agriculture",
      +  "fishery",
      +  "food_manufacturing",
      +  "food_service",
      +  "manufacturing",
      +  "industrial_products_manufacturing",
      +  "construction",
      +  "nursing_care",
      +  "building_cleaning",
      +  "linen_supply",
      +  "automobile_repair",
      +  "automobile_maintenance",
      +  "aviation",
      +  "lodging",
      +  "accommodation",
      +  "shipbuilding",
      +  "electronics",
      +  "automobile_transportation",
      +  "railway",
      +  "logistics_warehouse",
      +  "forestry",
      +  "wood_products",
      +  "other"
      +]
    • changedOutput schema / properties / formBundle / properties / industry / enum
      Previous value: -[
      -  "agriculture",
      -  "fishery",
      -  "food_manufacturing",
      -  "food_service",
      -  "manufacturing",
      -  "industrial_products_manufacturing",
      -  "construction",
      -  "nursing_care",
      -  "building_cleaning",
      -  "linen_supply",
      -  "automobile_repair",
      -  "automobile_maintenance",
      -  "aviation",
      -  "lodging",
      -  "accommodation",
      -  "shipbuilding",
      -  "electronics",
      -  "automobile_transportation",
      -  "railway",
      -  "forestry",
      -  "wood_products",
      -  "other"
      -]New value: +[
      +  "agriculture",
      +  "fishery",
      +  "food_manufacturing",
      +  "food_service",
      +  "manufacturing",
      +  "industrial_products_manufacturing",
      +  "construction",
      +  "nursing_care",
      +  "building_cleaning",
      +  "linen_supply",
      +  "automobile_repair",
      +  "automobile_maintenance",
      +  "aviation",
      +  "lodging",
      +  "accommodation",
      +  "shipbuilding",
      +  "electronics",
      +  "automobile_transportation",
      +  "railway",
      +  "logistics_warehouse",
      +  "forestry",
      +  "wood_products",
      +  "other"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds provenance (official 出入国在留管理庁 rules), a scope limit (does not decide case outcomes), a legal-advice disclaimer, and a data constraint (no personal identifiers). It says nothing about response shape or what it returns when inputs are ambiguous, and since an output schema exists that omission is minor.

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?

Purpose is front-loaded in the first clause, followed by when-to-use, when-not-to-use, and the disclaimer. Each sentence carries distinct information, though the four-part parenthetical list of procedure types and the stacked disclaimers make it denser than necessary.

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 read-only classification tool with a full output schema, the description covers what it returns, when to invoke it, its authority source, and its limits. The main residual gap is guidance on how to behave when optional profile inputs are unknown, which the schema hints at but the description does not reinforce.

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 all eight parameters carry enums and descriptions, so the schema does the heavy lifting and baseline 3 applies. The description echoes the primary inputs (current status, target status, location, optional SSW industry) and adds the constraint that personal identifiers are not accepted. It never mentions applicantProfile or receivingOrganizationProfile, whose 'omit if unknown / do not assert exemption' semantics matter for correct calling.

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 names a specific verb and output ('Returns the Japanese visa procedure type') and enumerates the four possible procedure classes, so an agent knows exactly what it will get back. It is grounded in a named authority (出入国在留管理庁 rules). It does not explicitly contrast itself with siblings like validate_zairyu_compatibility or get_deadline_timeline, so sibling differentiation is only partial.

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?

It gives an explicit trigger condition: use when the user asks which procedure they need given current status, target status, location, and optional SSW industry. It also gives an explicit exclusion: do not use to decide an individual case outcome. Alternatives are not named, which is the only gap against 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.

Resources