Skip to main content
Glama

Read a field

read_field
Read-only

Reads one vault field into the conversation from a bw:// reference, including login usernames; other fields return only when the profile permits reveal.

Instructions

Read one field into the conversation. Works for a login's username. Any other field (password, totp, uri, notes, custom fields) is returned only if the profile has reveal enabled. To use a secret in a command, don't read it: use /usr/bin/node /app/dist/cli.js run.

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": {
      "ref": "<ref>"
    },
    "name": "read_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYesbw://<profile>/<item id or exact name>/<field>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety is covered; the description adds the important behavioral fact that non-username fields are returned only when reveal is enabled on the profile. It also warns that reading pulls a secret into conversation context, which is real guidance an agent could not infer from the annotations. What happens when reveal is disabled (error vs. redaction) is unstated.

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?

Three short sentences, zero filler: capability first, access precondition second, the correct alternative for the common mistake last. The most decision-relevant constraint is front-loaded.

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 single-parameter read tool with no output schema, the description conveys what comes back (the field value, in-context) and the condition under which it comes back. The main residual gap is failure behavior when reveal is off, plus no pointer to the sibling tools for constructing a valid ref.

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 coverage is 100% and the ref format is fully documented, so the baseline is 3; the description earns above that by enumerating the meaningful field values (username, password, totp, uri, notes, custom fields) and their differing access rules, which the schema placeholder does not convey.

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 ('Read one field into the conversation') and immediately scopes it: a login's username always works, while password, totp, uri, notes and custom fields are gated behind reveal. That scope makes it clearly distinguishable from list_profiles and search_items, though it never names a sibling explicitly.

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?

Gives concrete when-to-use context ('works for a login's username') and a when-not-to-use alternative: to use a secret in a command, don't read it — run the CLI instead. It lacks any mention of the sibling tools for discovery or item lookup, so the routing is complete only for the read-vs-execute decision.

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

Deploy Server

Other Tools