Skip to main content
Glama

Rewrite double honorifics in Japanese text to the single form

jp_keigo_fix
Read-onlyIdempotent

Applies error-level Japanese honorific fixes to text, optionally applies warning-level corrections, and returns applied, unfixed, and remaining issues for review.

Instructions

Returns the text with error-level fixes applied (お読みになられました → お読みになりました, おっしゃられた → おっしゃった, ご案内していただけますか → ご案内いただけますか). Warning-level fixes only when apply_warnings is true. Issues that need a different verb (伺っていただく → お越しいただく) are returned in unfixed for you to rewrite. Returns text, applied, unfixed, remaining.

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_fix"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
apply_warningsNoAlso apply warning-level fixes. Default false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly, idempotent, non-destructive), and the description adds real behavioral detail beyond them: which class of fixes are automatic, that heavier verb-substitution cases are deliberately left unfixed, and the shape of the result. With no output schema present, naming text/applied/unfixed/remaining is genuinely valuable, though what "remaining" contains is left unexplained.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences: outcome first, then the conditional behavior, then the exception case and return fields. The parenthetical examples are dense but each one earns its place by disambiguating the fix categories.

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 two-parameter rewrite tool with no output schema, it covers what is fixed, what is withheld, the gating flag, and the returned fields — enough to call it correctly and interpret the result. The only soft spot is the undefined "remaining" field.

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

Parameters4/5

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

The text parameter is obvious from its name and required flag, and the description clarifies the practical effect of apply_warnings (error-level fixes always applied, warning-level only when true, default false) rather than just restating the schema label. That meaningfully compensates for the 50% schema description coverage.

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 transformation ("Returns the text with error-level fixes applied") and backs it with three concrete before/after pairs, so the agent knows exactly what kind of rewriting happens. It never names jp_keigo_check, so the contrast with the sibling is implied by "fixes applied" rather than stated.

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

Usage Guidelines3/5

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

Explains the branching behavior when apply_warnings is true and tells the agent that issues needing a different verb come back in unfixed "for you to rewrite", which is actionable guidance. It gives no explicit when-to-use-this-vs-jp_keigo_check guidance or prerequisites, leaving the routing to the sibling implicit.

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