Skip to main content
Glama

passkey_preflight_run

Read-onlyIdempotent

Checks whether a passkey run can proceed without spawning processes or exposing secrets by validating requested entries, env-file mappings, passkey:// references, active leases, and optional command executables.

Instructions

Dry-run preflight for passkey run without spawning a process or exposing values.

Validates that all requested entries, --env-file mappings, passkey:// references, active leases, and optional command executable are ready.

Args: entries: Entry names to inject (e.g., ["stripe", "github"]) env_files: Optional dotenv/reference files to validate command: Optional command argv to verify executable availability

Returns: Secret-free preflight dictionary with ready, injected_env_vars, entries_missing, will_prompt_biometric, and remediation steps.

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": {
      "entries": "<entries>"
    },
    "name": "passkey_preflight_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandNo
entriesYes
env_filesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description goes beyond them with genuinely useful behavior: no subprocess is spawned, no secret values are exposed, the result includes will_prompt_biometric and remediation steps. That is meaningful context an agent could not infer from the annotations, though it does not discuss cost, timeout or how missing entries are ordered.

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 one-line purpose, then a scope sentence, then conventional Args/Returns blocks — easy to scan. The prose is slightly padded ('Validates that all requested entries...') but every element carries information; nothing is redundant with the 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?

There is no output schema, so the Returns block is doing necessary work by listing ready, injected_env_vars, entries_missing, will_prompt_biometric and remediation. Combined with the per-parameter docs and the annotations, an agent has enough to call this correctly and interpret the result; only the exact remediation format remains unspecified.

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 carries the full burden, and its Args block covers all three parameters with examples. It notably clarifies that 'command' is an argv whose executable availability is verified — semantics the bare array-of-strings schema does not convey. A little more detail on env-file reference syntax would be needed for a 5.

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?

The description names a specific operation — a dry-run preflight that validates entries, env-file mappings, passkey:// references, leases and an optional command executable without spawning a process. That is far more concrete than the tool name alone and lets an agent tell it apart from a read-only lookup like passkey_entry_info or passkey_list. It stops short of naming the closest sibling validators (passkey_validate_references, passkey_doctor), so it is clear but not fully differentiated.

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 by 'Dry-run preflight for passkey run', which tells an agent this belongs immediately before an actual run. However, there is no explicit when-not guidance and no mention of how this differs from sibling validation tools such as passkey_validate_references or passkey_doctor, which an agent could plausibly pick instead.

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