Skip to main content
Glama

passkey_find

Read-onlyIdempotent

Locate which stored passkey entries map to specified environment variable names, including aliases and entry-scoped config keys, without reading or exposing secret values.

Instructions

Reverse-lookup which passkey entries store given environment variable names.

Matches exact names, service-specific aliases (e.g., GH_TOKEN <-> GITHUB_TOKEN), and entry-scoped generic fields (e.g., RESEND_API_KEY -> resend/API_KEY) across both secret fields and config keys without reading or exposing values.

Args: vars: Environment variable names to find (e.g., ["RESEND_API_KEY", "GH_TOKEN"]) from_file: Optional path to a safe template file (e.g., ".env.example")

Returns: Dictionary with matches, results, resolved_entries, missing_vars, and suggested_run_command.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "passkey_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
varsNo
from_fileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.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, idempotentHint, openWorldHint=false, and destructiveHint=false, so safety is covered. The description adds genuine behavioral context beyond that: the three-tier matching strategy (exact, alias, entry-scoped generic) and the guarantee that values are never read or exposed. It stops short of describing failure behavior or what happens when no arguments resolve to entries.

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?

Content is front-loaded: the one-line purpose precedes matching semantics, and argument/return notes follow in a scannable Args/Returns layout. The docstring-style formatting adds a little structural noise, but no sentence is filler given the absence of an output schema.

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?

With no output schema and zero schema description coverage, the description usefully enumerates the return keys (matches, results, resolved_entries, missing_vars, suggested_run_command) and explains both parameters. It is nearly complete for a two-parameter read-only tool; the only gap is not stating the error/no-argument behavior or how missing_vars is populated.

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 0%, so the description must carry the parameters, and it does: 'vars' is defined as environment variable names to find with concrete examples, and 'from_file' as an optional path to a safe template file. It does not clarify whether at least one of the two optional parameters is required or how the two inputs combine when both are supplied.

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 opens with a precise verb+resource+scope: 'Reverse-lookup which passkey entries store given environment variable names.' It further pins down the semantics (exact names, service aliases like GH_TOKEN <-> GITHUB_TOKEN, entry-scoped generic fields) and explicitly notes it operates 'without reading or exposing values,' which separates it from value-returning siblings such as passkey_request_secret.

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?

Usage is implied rather than stated: the 'without reading or exposing values' clause and the 'from_file' example of '.env.example' suggest a safe pre-flight/lookup use case, but there is no explicit when-to-use, when-not-to-use, or named alternative among passkey_fields, passkey_list, or passkey_entry_info.

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