Skip to main content
Glama

Get Item

keychain_get_item
Read-only

Retrieve a full vault item by its stable ID, redacting secrets by default. Use reveal=true to get secrets when permitted; for attachments, use keychain_get_attachment with the item ID.

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, 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.

Input Schema

TableJSON 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.9/5.0
Behavior5/5

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

With readOnlyHint already declaring safety, the description adds substantial behavioral detail: secret fields and signed attachment URLs are redacted by default, reveal is permission-gated and can be overridden by NOREVEAL, and missing attachments may require sync. This goes well beyond the annotation.

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, dense, and made of sentences that each contribute necessary operational detail: redaction, reveal gating, attachment retrieval, and sync retry. There is little wasted wording.

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 read-only item getter with no output schema and full schema coverage, the description covers the important behavioral context: redaction, secret reveal permissions, attachment handling, and stale-attachment recovery. Nothing critical is missing.

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?

Schema description coverage is 100%, so the baseline is 3. The description still adds meaning by constraining reveal to callers allowed to receive secrets and clarifying that id is a stable item identifier, which is useful beyond the schema text.

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 (Get) and resource (full vault item) with the stable item id as scope. It distinguishes the tool from sibling getters by emphasizing the full item and redaction behavior, and from attachment-specific retrieval.

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?

It gives explicit when/when-not guidance for reveal=true, notes NOREVEAL can force redaction, routes attachment retrieval to keychain_get_attachment, and directs missing-recent-attachment cases to keychain_sync before retrying. These are concrete usage conditions and alternatives.

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