Skip to main content
Glama
KeePassXC MCP Server

KeePassXC MCP Server

by tuaris

generate_password

Generates a random password using KeePassXC’s password generator and prompts for host confirmation when the dialog opens.

Instructions

Generate a random password using KeePassXC's password generator. Note: this may open the KeePassXC password generator dialog on the host and wait for the user to confirm.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_password"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It does surface the key side effect (opens a GUI dialog on the host and blocks for user confirmation), which is valuable, but it never states whether the generated password is returned to the caller, whether the call can time out or be cancelled, or what a failure looks like — critical for a host-interactive 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?

Two sentences: purpose first, caveat second, no filler. The second sentence earns its place by flagging user interaction, though the 'Note:' framing is slightly informal for a machine-read definition.

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 zero-parameter, annotation-free tool with no output schema, the description covers the big operational risk (host dialog and blocking) but omits the return contract — an agent cannot tell whether it receives the password back or only a confirmation. That gap matters because the entire point of calling the tool is to obtain the password.

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 tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline applies. The description confirms generation is fully automatic with no options such as length or character set.

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 gives a specific verb+resource ('Generate a random password') plus the concrete implementation ('KeePassXC's password generator'), so an agent knows exactly what the tool produces. It does not explicitly contrast with sibling tools, but the siblings (get_logins, get_totp, associate, lock_database) are distinct enough that confusion is unlikely.

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 only implied by the purpose statement; there is no explicit 'use this when...' or exclusion clause. The dialog-blocking warning is useful for deciding when NOT to call it in unattended flows, but that guidance is framed as a caveat rather than a selection rule.

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