Skip to main content
Glama

passkey_fields

Read-onlyIdempotent

List the field names stored in a passkey entry without exposing or logging secret values, so you can inspect which credentials are available before requesting them.

Instructions

List field names in a passkey entry (without revealing values or logging a secret read).

Returns the names of secret fields stored in the specified entry. Prefer passkey_entry_info when you also need config_keys, policy, and has_active_lease.

Args: entry_name: Name of the passkey entry (e.g., "slack")

Returns: List of field names (e.g., ["SLACK_TOKEN", "SLACK_COOKIE"])

Raises: Exception: If entry not found or keychain access fails

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": {
      "entry_name": "<entry_name>"
    },
    "name": "passkey_fields"
  }
}

Input Schema

NameRequiredDescriptionDefault
entry_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds genuinely new behavioral facts: values are never revealed, no secret read is logged, and an exception is raised when the entry is missing or keychain access fails. That no-audit-trail note is valuable context for a secrets tool that annotations cannot express.

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?

Front-loaded with the purpose and the safety qualifier, then structured Args/Returns/Raises sections. The second sentence ('Returns the names of secret fields stored in the specified entry') largely restates the first and the trailing Returns block is redundant with the output schema, but there is no filler elsewhere.

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 one-parameter read-only tool this is complete: purpose, safety semantics, alternative routing, parameter meaning with an example, and error conditions. The output schema already describes the return shape, so the extra Returns block is harmless redundancy rather than a gap.

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 0% for the single required parameter, so the description must carry it — and it does, documenting 'entry_name' as the passkey entry name with a concrete example ('slack'). No format constraints (case sensitivity, matching rules) are given, but the example supplies enough for correct invocation.

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?

States a specific verb and resource ('List field names in a passkey entry') with an explicit scope qualifier — names only, no values, no audit-log side effect. It also names a sibling tool it is not, so an agent can distinguish it from passkey_entry_info without inspecting either schema.

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?

Explicitly routes the agent: 'Prefer passkey_entry_info when you also need config_keys, policy, and has_active_lease', giving a concrete condition for selecting the alternative. It does not spell out the natural follow-on path (use passkey_fields to discover names, then passkey_request_secret to fetch values), leaving a minor routing gap.

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