Skip to main content
Glama

type_secret

Types a saved key into exactly one visible field of a browser tab, keeping credentials hidden; user approval is required and the form is not submitted.

Instructions

Types a key saved with save_secret (or added by the user) into one field of a tab. It does not submit the form. You never see the key. Exactly one visible field must match. Use this only for a step you would otherwise hand back to the user. Nothing happens without the user's approval. If the result has status "needs_confirmation", nothing has been done yet: call the confirm tool with the values from its "confirm" object, unchanged.

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

Input Schema

NameRequiredDescriptionDefault
urlNoStart of the tab address, used when no tabId is given. With neither, the active tab is used.
nameYesName of the saved key. See list_secrets.
fieldNoLabel, placeholder or name of the field to type into.
tabIdNoChrome tab id of the tab you are working in.
selectorNoCSS selector of the field, when the label alone is ambiguous.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/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 the important traits: the secret is never revealed to the agent, the form is not submitted, exactly one visible field must match, and an approval gate precedes any action. The needs_confirmation branch is explained precisely ('nothing has been done yet'). It does not say what happens on failure (no matching field, multiple matches, missing approval), so it stops short of a 5.

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 with the action, then constraints, then the escalation path. Every sentence carries a distinct constraint or routing instruction; nothing is redundant.

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

Completeness5/5

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

For a security-sensitive five-parameter tool with no output schema and no annotations, the definition covers the risk profile, the confirmation flow, and the uniqueness constraint on the target field. Nothing an agent needs to invoke it correctly appears to be missing.

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 100%, so the baseline is 3; the description adds real meaning by constraining 'field' to an exact single visible match and by making clear the key is never exposed, which shapes how 'name' is used. It does not add format detail for url/tabId/selector beyond the schema.

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?

States a specific verb and resource ('Types a key saved with save_secret ... into one field of a tab') plus a hard boundary ('It does not submit the form'), which separates it from click/login/enter_code style siblings without needing their schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use rule ('only for a step you would otherwise hand back to the user'), a when-not implication (nothing happens without user approval), and a named alternative for the follow-up path ('call the confirm tool with the values from its "confirm" object, unchanged'). It also points at save_secret as the producer and list_secrets for key names.

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