Skip to main content
Glama

Find double honorifics (二重敬語) and mismatched honorific chains in Japanese text

jp_keigo_check
Read-onlyIdempotent

Checks Japanese business text for double honorifics and inappropriate honorific chains, then returns each issue with a reason and suggested fix.

Instructions

Before you send a Japanese business email, notice or reply you wrote, pass the text here. Finds 二重敬語 (お読みになられる, おっしゃられる, いらっしゃられる, ご覧になられる, 召し上がられる) and the honorific chains that the Japanese government guideline 「敬語の指針」 (文化審議会答申 2007, p.31-32) lists as inappropriate (伺っていただく, ご案内していただく, ご説明してくださる). Forms the guideline accepts as settled by custom (お召し上がりになる, お見えになる, お伺いする/いたす/申し上げる) are not flagged. Returns ok, issues (code, severity, text, start, end, fix, reason, source), accepted, counts. Codes: E_DOUBLE_KEIGO, W_DOUBLE_KEIGO_NOUN (ご+noun+になられる, may be correct), E_BAD_KEIGO_LINK, W_BAD_KEIGO_LINK. Deterministic, offline. It checks word forms only, not whether 尊敬語 is used for the writer's own action. 二重敬語と不適切な敬語連結を見つけて直し案を返す。

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": {
      "text": "<text>"
    },
    "name": "jp_keigo_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesJapanese text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (which already declare read-only, idempotent, closed-world), the description adds determinism, offline operation, the exact return shape (ok, issues with code/severity/span/fix/reason/source, accepted, counts), the full code taxonomy including the W_ vs E_ severity split, and a stated limitation about word-form-only checking. That is substantive behavioral context an agent cannot get from the structured fields.

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?

It is front-loaded with the action-trigger sentence, then layers examples, guideline citation, exclusions, and return contract in a logical order. Some parenthetical example lists are long, and the trailing Japanese sentence (二重敬語と不適切な敬語連結を見つけて直し案を返す) restates the title, which is mild redundancy.

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?

With no output schema, the description compensates by enumerating the return fields and error codes, and it discloses the key semantic caveat. For a one-parameter, offline, deterministic checker, an agent has everything needed to call it and interpret results correctly.

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?

There is a single required parameter with 100% schema description coverage ("Japanese text"), so the schema already carries the semantics and a baseline of 3 applies. The description reinforces that the input is Japanese text the user wrote, but adds no format, length, or encoding detail 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 states a specific verb+resource: detecting 二重敬語 and inappropriate honorific chains, with concrete examples (お読みになられる, ご案内していただく) and named output codes. It is clear what the tool does, but it never names or contrasts with its sibling jp_keigo_fix, so the boundary between 'check' and 'fix' is left for the agent to infer from the emitted 'fix' field.

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?

"Before you send a Japanese business email, notice or reply you wrote, pass the text here" gives a clear triggering context. It also supplies scope exclusions — customarily accepted forms are not flagged, and it does not judge whether 尊敬語 is used for the writer's own action. It stops short of naming an alternative tool or stating when not to call it.

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

Deploy Server

Other Tools