Skip to main content
Glama

hachidori_setup_language

Configures a language from its name or code by creating a profile, enabling it, installing a Wiktionary dictionary when needed, and activating it on the host.

Instructions

Set up a language by name or code (e.g. French/fr): create its profile, enable multiple languages, install a Wiktionary dictionary if it has no usable dictionary, then activate it on the host. English definitions by default. Explicit dictionaryUrls override the default; [] skips downloads. Partial progress is reported on failure.

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": {
      "language": "<language>"
    },
    "name": "hachidori_setup_language"
  }
}

Input Schema

NameRequiredDescriptionDefault
activateNo
languageYes
dictionaryUrlsNo
definitionLanguageNoen

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing what actually gets created (profile, multi-language flag, dictionary, host activation), that downloads only occur when no usable dictionary exists, that dictionaryUrls=[] suppresses downloads, and that failures report partial progress. This is meaningful context for a non-readOnly, openWorld, non-idempotent operation.

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?

Front-loaded with the verb and the ordered pipeline, then layered defaults and failure semantics in short sentences. Dense but each clause (defaults, override, skip, partial progress) adds information; no 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 4-parameter mutation tool with no output schema, the description covers side effects, defaults, download suppression, and failure reporting. It stops short of describing what a successful result contains or what happens if the language is already set up, which would matter given idempotentHint=false.

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?

With 0% schema description coverage the description must carry the load, and it does: language accepts a name or code ("French/fr"), dictionaryUrls overrides the default downloads and [] disables them, definitionLanguage is implied by "English definitions by default", and activate is described as activating on the host. Minor gap: it does not state the accepted code format (the 2-3 letter pattern).

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?

Specific verb (set up) plus resource (a language) with the concrete steps spelled out: create profile, enable multiple languages, install a Wiktionary dictionary, activate on host. It is clearly distinguished from list_languages/import_dictionary, though it never explicitly names hachidori_select_language as the lighter-weight alternative.

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?

Usage is implied through conditional logic ("if it has no usable dictionary", "[] skips downloads"), which tells an agent how the tool behaves at call time, but there is no explicit statement of when to prefer this over hachidori_select_language or hachidori_import_dictionary.

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