Skip to main content
Glama

hachidori_update_settings

Idempotent

Patch Hachidori settings using a base revision to prevent conflicts; objects merge recursively and arrays replace across reading, appearance, theme, audio, Anki, and language pack options.

Instructions

Patch settings using the latest revision. Objects merge recursively; arrays replace. Supports reading, appearance, theme, audio and Anki settings plus language pack settings. Use save_userscript for script edits.

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": {
      "baseRevision": "<baseRevision>",
      "options": "<options>"
    },
    "name": "hachidori_update_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
optionsYes
profileIdNoLanguage profile ID, e.g. fr; omitted reads/edits the host active profile.
baseRevisionYesRevision from the latest get_settings; conflicts require reading again.
packSettingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already establish that this is a non-destructive, idempotent mutation. The description adds important behavior beyond annotations: objects merge recursively while arrays replace, which materially affects how callers should construct patches.

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?

The description is front-loaded with the core patch semantics, followed by scope and an alternative-tool pointer. Every sentence adds useful information without repetition.

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 non-destructive patch tool with annotation coverage and a documented baseRevision parameter, the definition is largely complete. However, with no output schema, it could have stated what a successful patch returns, such as the updated settings or new revision.

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?

Schema description coverage is only 50%, and the free-form options and packSettings objects have no schema-level property documentation. The description helps by listing supported setting domains and calling out language pack settings, but it does not explain expected keys or the relationship between options and packSettings.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: patching settings. It also scopes the supported settings domains and explicitly distinguishes script editing by routing that use case to save_userscript.

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?

It gives a clear prerequisite implied by 'using the latest revision' and names save_userscript as the alternative for script edits. It does not explicitly discuss when to use this versus reading settings or how to obtain the latest revision, though the schema covers that detail.

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