Skip to main content
Glama

passkey_wrap_server

Idempotent

Updates MCP config files so a named server uses its existing passkey keychain entry, applying the wrapper to detected or specified configs.

Instructions

Update MCP config files to use passkey wrapper for a server.

Prerequisites: Entry must already exist in passkey keychain.

Args: server_name: Name of the server (must match passkey entry) config_paths: Config files to update (default: all detected configs)

Returns: - configs_updated: List of updated config paths - configs_skipped: List of configs where server not found - errors: Any errors encountered

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": {
      "server_name": "<server_name>"
    },
    "name": "passkey_wrap_server"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_nameYes
config_pathsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=true), the description discloses that partial success is possible — configs where the server isn't found are 'skipped' rather than erroring — and enumerates the returned buckets. That skip-instead-of-fail behavior is the kind of detail annotations cannot convey. It stops short of saying whether backups are made or how configs are rewritten.

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?

Front-loaded one-line purpose, then Prerequisites, Args, and Returns in a compact scannable layout. Every line carries information — no restated boilerplate and no filler.

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 section does the necessary work of describing the three result fields. Args and prerequisite are covered for a 2-parameter mutation tool. The only gap is operational detail about how existing config entries are rewritten and whether that is reversible.

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%, so the description must carry the burden and largely does: server_name is constrained to 'must match passkey entry', and config_paths is explained as defaulting to all detected configs (clarifying the schema's bare null default). It adds meaning the schema lacks, though it doesn't describe path format or whether paths must exist.

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 states a specific verb and resource ('Update MCP config files to use passkey wrapper for a server'), which is unambiguous and clearly distinct from the read-only siblings like passkey_status or passkey_entry_info. It does not explicitly name a sibling to contrast with, which keeps it just short of a 5.

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?

The Prerequisites line gives a real precondition ('Entry must already exist in passkey keychain') that an agent must check before calling. It doesn't spell out when to prefer this over other workflow tools or what to do if the prerequisite fails, so it is clear context without full when/when-not routing.

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