Skip to main content
Glama
KeePassXC MCP Server

KeePassXC MCP Server

by tuaris

set_login

Save new credentials or update existing KeePassXC entries by UUID. Stores URL, login, and password in your vault for secure credential management.

Instructions

Save or update credentials in KeePassXC. To update an existing entry, provide its uuid.

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": {
      "url": "<url>",
      "login": "<login>",
      "password": "<password>"
    },
    "name": "set_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL for the credential
uuidNoEntry UUID (for updating an existing entry)
groupNoTarget group name
loginYesUsername / login
passwordYesPassword
groupUuidNoTarget group UUID
submitUrlNoForm submit URL

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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses little beyond the create-vs-update switch. For a mutation tool it does not say whether omitting the uuid on an existing URL creates a duplicate, whether unspecified fields (group, submitUrl) are preserved or cleared on update, whether the database must be unlocked or the operation requires authentication, or whether the write is reversible.

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?

Two short sentences with zero waste, front-loading the core action and then the one mode-switching condition. Nothing is padded or redundant.

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?

With seven parameters, a mutation side effect, no annotations, and no output schema, the description is at minimum viable: it covers the create/update decision but leaves the interaction among group, groupUuid, url, and submitUrl unexplained, as well as preconditions like an unlocked database. An agent could call it, but not confidently predict the outcome.

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 100%, so every parameter is already documented in the schema, and the description's uuid note largely restates the schema's own 'Entry UUID (for updating an existing entry)' text. It adds no semantics for the remaining parameters such as whether group and groupUuid are alternatives or whether submitUrl overrides url.

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 pair ('Save or update') and resource ('credentials in KeePassXC'), which clearly separates it from read-oriented siblings like get_logins or get_totp. It does not explicitly name or contrast any sibling, but the write-vs-read distinction is inferable from the verb alone.

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?

It gives one useful conditional: supply the uuid to update an existing entry rather than create a new one. Beyond that there is no guidance on when to use this versus associate or get_logins, no note that the database must be unlocked (a lock_database sibling exists), and no guidance on choosing between the group/groupUuid parameters.

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