Skip to main content
Glama

capture_key

Save a secret shown on a page (such as a webhook signing secret after you press Reveal) straight into this identity's keys. runnerID reads it from the tab on that site; you never see it. Name it by CSS selector or by the label next to it; starts_with (for example whsec_) makes sure the right value is saved.

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": {
      "site": "<site>",
      "cdp_url": "<cdp_url>",
      "name": "<name>"
    },
    "name": "capture_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
noteNo
siteYes
labelNo
cdp_urlYes
replaceNo
selectorNo
target_idNo
identity_idNoIdentity to use. Omit when the account has exactly one identity.
starts_withNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and discloses genuinely useful behavior: the value is read by the runner from the tab, the agent never sees it, and starts_with (e.g. whsec_) validates the captured value. It stops short of failure behavior (selector not matched, wrong value captured), whether replace overwrites an existing key, and what cdp_url/target_id do.

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?

Three tight sentences, front-loaded with the action and immediately followed by the non-obvious mechanism. The phrase 'Name it by CSS selector or by the label next to it' is slightly muddled since 'name' is itself a parameter, which risks misreading.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, no-annotation, no-output-schema tool, the description covers the core mechanism and value-identification well but omits six parameters and any notion of return value or error outcome. Adequate to invoke in the happy path, insufficient for edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 10%, so the description must compensate. It does explain the two identification routes (selector vs. the adjacent label) and starts_with, but leaves site, cdp_url, target_id, replace, note and identity_id entirely undocumented in both places, which is a large residual gap for a 10-parameter tool.

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?

States a specific verb and resource: save a secret shown on a page into this identity's keys, with a concrete example (webhook signing secret after pressing Reveal). The clause 'runnerID reads it from the tab on that site; you never see it' implicitly separates it from save_key, where the caller supplies the value, but no sibling is named outright.

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?

The use case is implied clearly (a secret rendered on a page that must be pulled out of the DOM), which is enough to pick it over save_key in most cases. There is no explicit when-not guidance, no statement of prerequisites such as an open browser session or a reached Reveal state, and no named alternative.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources