Skip to main content
Glama

passkey_cdp_autofill

Fills stored credentials into a local Chrome DevTools browser tab after verifying the exact origin match, without returning secret values.

Instructions

Deterministically fill credentials into a local Chrome DevTools browser tab.

Disabled by default; enable explicitly via passkey config mcp-browser-broker on. Verifies exact scheme + host + port match against the entry's ORIGIN config before touching any secret fields, and never returns secret values.

Args: entry_name: Name of the passkey entry containing ORIGIN and credentials cdp_url: Loopback CDP WebSocket URL (e.g., ws://127.0.0.1:9222)

Returns: Dictionary with {"filled": bool, "origin": str, "fields_injected": [...]}

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>",
      "cdp_url": "<cdp_url>"
    },
    "name": "passkey_cdp_autofill"
  }
}

Input Schema

NameRequiredDescriptionDefault
cdp_urlYes
entry_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the default-disabled gate, the exact pre-condition check (scheme + host + port must match the entry's ORIGIN before any secret field is touched), and the security property that secret values are never returned. That is the kind of behavior an agent could not infer from readOnlyHint=false / openWorldHint=true / destructiveHint=false. Non-idempotency and the write nature are consistent with the annotations.

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 the enablement gate, then the safety check, then Args/Returns. Every section carries information an agent needs, though the Args section largely restates parameter names that are near self-explanatory; a tighter formulation could merge it into prose.

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, the Returns block is essential and present, giving the exact result shape ({filled, origin, fields_injected}). The failure mode when origin verification fails is implied but not stated, and there's no mention of what state the tab must be in for injection to succeed — minor gaps for a tool that writes into a live browser session.

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 load, and it does: entry_name is tied to the entry holding ORIGIN and credentials, and cdp_url is constrained to a loopback CDP WebSocket with a concrete example (ws://127.0.0.1:9222). What's missing is format/validation detail — e.g. the error behavior if cdp_url is non-loopback or the origin mismatches.

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?

Opens with a specific verb+resource+scope: 'Deterministically fill credentials into a local Chrome DevTools browser tab.' No sibling in the catalog does credential injection into a browser, and the phrase 'local ... CDP browser tab' pins the target surface precisely. An agent knows immediately what this does and what it acts on.

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 the critical gating condition ('Disabled by default; enable explicitly via passkey config mcp-browser-broker on'), which is the main reason a call would fail, plus the prerequisite that the entry carries an ORIGIN config. It stops short of an explicit when-to-use/when-not statement or naming an alternative path for non-browser credential retrieval (e.g., passkey_request_secret), so a 4 rather than a 5.

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