Skip to main content
Glama

hachidori_import_dictionary

Destructive

Import a Yomitan ZIP from exactly one HTTPS URL or absolute local path into a requested profile; replace=false keeps an installed dictionary with the same title as a separate copy.

Instructions

Import a Yomitan ZIP from an HTTPS URL or absolute local path into the requested profile. Supply exactly one source. replace=false preserves an installed dictionary with the same title by adding a separate copy.

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": {
      "profileId": "<profileId>"
    },
    "name": "hachidori_import_dictionary"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
pathNo
replaceNo
profileIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotent, so the safety profile is known. The description adds real context beyond that: the default replace=false creates a separate copy rather than overwriting an installed dictionary of the same title, which clarifies what is and isn't destroyed. It does not describe download/validation failures or return behavior.

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 short sentences, front-loaded with the action and sources, then the exclusivity constraint, then the replace behavior. No filler or repetition of the tool name.

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 destructive, open-world import with no output schema and no per-parameter documentation, the description covers source rules, target profile, and duplication behavior. It is slightly incomplete on failure modes and what the caller gets back after a successful import.

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?

Schema coverage is 0%, so the description carries the full burden and largely does: it maps url to HTTPS and path to an absolute local path, states exactly one must be supplied, and explains replace semantics and the profile target. The only gap is what replace=true actually does to an existing entry, which is only implied by contrast.

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 resource ('Import a Yomitan ZIP') and states accepted source formats ('HTTPS URL or absolute local path') plus the target ('requested profile'). It does not explicitly distinguish itself from siblings such as hachidori_list_dictionaries, but the import action is unambiguous.

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?

'Supply exactly one source' gives an explicit precondition that steers the agent between url and path. It also explains the replace=false outcome, so the agent can reason about default behavior. It stops short of naming when to use this versus sibling tools or when not to import.

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