Skip to main content
Glama

Get Item

keychain_get_item
Read-only

Retrieve a full vault item by stable ID, with secret fields redacted by default and revealed only when explicitly allowed.

Instructions

Get the full vault item by stable item id. Secret fields (including item notes and SSH private keys) and signed attachment URLs are redacted by default; pass reveal=true only when the caller is allowed to receive secrets, and NOREVEAL can still force redaction. When attachments are present and NOREVEAL is off, use keychain_get_attachment with this item id plus the listed attachment id or filename to download file bytes. If an expected recently-added attachment is missing, run keychain_sync and call keychain_get_item again before retrying.

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": {
      "id": "<id>"
    },
    "name": "keychain_get_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesStable Bitwarden object id returned by list/search/get/create tools.
revealNoWhether secret values are returned; default false and can be forced false by NOREVEAL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.19
    • addedInput schema / properties / id / description
      Added value: +"Stable Bitwarden object id returned by list/search/get/create tools."
    • addedInput schema / properties / reveal / description
      Added value: +"Whether secret values are returned; default false and can be forced false by NOREVEAL."
  2. Addedv0.1.20

TDQS

A4.2/5.0
Behavior4/5

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

Reads beyond the readOnlyHint annotation by disclosing that secret fields, notes, SSH private keys and signed attachment URLs are redacted by default, that NOREVEAL can override reveal, and that missing attachments may indicate a sync lag. The remaining gap is that it does not describe the shape of the returned item or which fields appear redacted, but the redaction/reveal policy is unusually well covered.

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?

The core purpose is front-loaded in the first clause, and each following sentence carries a distinct operational rule rather than filler. Sentences are long and clause-heavy, but no line could be dropped without losing a routing or safety instruction.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with readOnlyHint and a fully described schema, this covers everything an agent needs: redaction defaults, the reveal policy, the attachment handoff, and the sync-then-retry escape hatch. No output schema exists, so the absence of return-value detail is acceptable.

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 coverage is 100%, so both id and reveal are already documented, including the NOREVEAL override. The description adds only a caller-permission qualifier on reveal ('only when the caller is allowed to receive secrets'), which is a modest semantic addition over an otherwise self-sufficient schema.

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 ('Get the full vault item by stable item id') and scopes it as the whole-item getter, which implicitly separates it from the field-specific siblings like keychain_get_password or get_notes. It explicitly routes attachment retrieval elsewhere, but never names the field-specific siblings as alternatives, so differentiation is strong yet not fully spelled out.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete when-to guidance: pass reveal=true only when the caller may receive secrets, use keychain_get_attachment (not this tool) for file bytes, and run keychain_sync plus a retry if a recently-added attachment is missing. Each named alternative comes with the condition that selects it.

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