Skip to main content
Glama

hachidori_select_language

Idempotent

Select an existing language for lookups on the sharing HOST browser. Enable multiple languages and pass the current settings revision as baseRevision; linked browsers keep their own selection.

Instructions

Select an existing language for lookups on the sharing HOST browser. Multiple languages must be enabled. Use selection.revision as baseRevision. Linked browsers keep their own selection.

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>",
      "baseRevision": "<baseRevision>"
    },
    "name": "hachidori_select_language"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileIdYes
autoSwitchNo
baseRevisionYesRevision from the latest get_settings; conflicts require reading again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations (which only declare a non-destructive, idempotent write) the description discloses three useful behaviors: a hard precondition that multiple languages must be enabled, the blast radius ('Linked browsers keep their own selection'), and the concurrency expectation via selection.revision. It still says nothing about what success returns or what error surfaces on a stale revision, but the added context is substantive.

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?

Four short declarative sentences, each carrying distinct information (target scope, precondition, revision source, non-propagation). The most important constraint — host-only selection — is front-loaded, and there is no filler.

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?

For a non-destructive idempotent mutation with no output schema, the description covers preconditions, concurrency, and scope of effect, which is the core. It leaves the autoSwitch parameter and the return value entirely unexplained, so an agent must still guess at one of three parameters.

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 coverage is only 33% — baseRevision is documented, while profileId and autoSwitch have no description at all. The description's 'Use selection.revision as baseRevision' is essentially a restatement of the schema text, and autoSwitch (the one behavioral toggle with real ambiguity) is never explained, so the description does not compensate for the coverage gap.

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 ('Select an existing language') plus the scope that matters ('on the sharing HOST browser'), and clarifies that linked browsers are unaffected. That distinguishes it from a naive 'set language everywhere' reading, though it does not name a sibling tool outright.

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?

Gives a precondition ('Multiple languages must be enabled') and scopes the change to the host browser, which implies when this applies. It never names an alternative such as hachidori_setup_language or tells the agent what to do when only one language is enabled, so guidance remains implied rather than explicit.

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