Skip to main content
Glama

SSW Compass — Japan Visa Procedure Guide

Validate zairyu status compatibility

validate_zairyu_compatibility
Read-onlyIdempotent

Returns a general compatibility check between a residence status and an intended job type or SSW field, grounded in 出入国在留管理庁 official rules, and flags combinations with illegal-employment risk. Use when the user asks whether a residence status can work in a job type or SSW field. Do not use for named individuals or employer-specific legal advice. 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": {
      "zairyu_status": "<zairyu_status>",
      "intended_industry": "<intended_industry>",
      "intended_task": "<intended_task>",
      "expiry_date": "<expiry_date>"
    },
    "name": "validate_zairyu_compatibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
languageNoja
expiry_dateYes
intended_taskYes
zairyu_statusYes
employment_typeNo
intended_industryYes
zairyu_status_subcategoryNo
renewal_application_acceptedNo

Output Schema

NameRequiredDescriptionDefault
disclaimerYes
legal_basisYes
compatibilityYes
recommended_actionYes
escalate_to_professionalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / intended_industry / enum
      Previous value: -[
      -  "nursing_care",
      -  "building_cleaning",
      -  "linen_supply",
      -  "industrial_products_manufacturing",
      -  "construction",
      -  "shipbuilding",
      -  "automobile_maintenance",
      -  "aviation",
      -  "accommodation",
      -  "agriculture",
      -  "fishery",
      -  "food_manufacturing",
      -  "food_service",
      -  "automobile_transportation",
      -  "railway",
      -  "forestry",
      -  "wood_products"
      -]New value: +[
      +  "nursing_care",
      +  "building_cleaning",
      +  "linen_supply",
      +  "industrial_products_manufacturing",
      +  "construction",
      +  "shipbuilding",
      +  "automobile_maintenance",
      +  "aviation",
      +  "accommodation",
      +  "agriculture",
      +  "fishery",
      +  "food_manufacturing",
      +  "food_service",
      +  "automobile_transportation",
      +  "railway",
      +  "forestry",
      +  "wood_products",
      +  "logistics_warehouse"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavior: results are grounded in official ministry rules, illegal-employment risk is flagged, and no personal identifiers are accepted, which tells the agent not to pass personal data. It stops short of 5 because it says nothing about result confidence, coverage limits, or how risk flags surface.

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 capability sentence comes first, followed by usage, exclusion, and disclaimer — correct front-loading. Four sentences with little waste, though the disclaimer and the "does not accept personal identifiers" line partially overlap with the "do not use for named individuals" exclusion.

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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. However, for an 8-parameter, 0%-coverage tool the definition leaves the agent guessing about half the inputs, notably expiry_date and renewal_application_accepted, which plausibly change the outcome.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 8 parameters, so the description carries the full burden and largely fails it. It only loosely gestures at zairyu_status and intended_industry/intended_task; expiry_date, renewal_application_accepted, employment_type, zairyu_status_subcategory, and language get no explanation of why they matter or how they affect the verdict. The enums are self-explanatory, which keeps this above 1.

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 and resource: a compatibility check between a residence status and an intended job type or SSW field, grounded in 出入国在留管理庁 rules, with illegal-employment risk flagging. That is far more informative than the title alone. It does not explicitly name a sibling tool or state what separates it from search_visa or classify_procedure, 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 Guidelines5/5

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

Gives an explicit trigger ("Use when the user asks whether a residence status can work in a job type or SSW field") and explicit exclusions ("Do not use for named individuals or employer-specific legal advice"). The agent knows both when to call it and when to route elsewhere.

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