Skip to main content
Glama

Type the stored sign-in into this page

browser_credentials_fill

Fill stored username and password fields on the current page without exposing the credential. Handles single-step and two-step logins, and leaves form submission to you.

Instructions

Fill the username and password fields on the current page from the store, without the password passing through you.

Take a snapshot first and pass the refs of the fields you can see. Fill both in one call where the page shows both; on a two-step form (email, then Next, then password) call it twice with whichever field is on screen. This does not submit — click the button yourself so you can read what the page does next.

If nothing is stored for the site this says so, and the next move is browser_ask_user with need: "login" followed by browser_credentials_save.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_credentials_fill"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNoOverride the site to look up. Defaults to the page you are on, which is almost always right — pass this only for an SSO page hosted on someone else's domain.
passwordRefNoSnapshot ref of the password field, if it is on screen.
usernameRefNoSnapshot ref of the username/email field, if it is on screen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses that the password never passes through the agent, that submission is not performed, and that a 'nothing stored' outcome is a possible return. That is meaningful behavioral context beyond the schema.

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?

Three short paragraphs, front-loaded with the core action, then the calling pattern, then the failure path. No sentence is filler; each adds an operational constraint.

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?

No output schema exists, yet the description covers the notable return case (nothing stored) and the follow-up sequence. For a three-parameter, all-optional tool, nothing an agent needs to invoke it correctly is 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, but the description adds real meaning: refs must come from a snapshot, both refs may be supplied together, and domain is an override only for SSO pages hosted elsewhere. That goes beyond the schema's own wording.

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 (fill username/password fields from the store) and immediately distinguishes itself from siblings by noting it does not submit and by naming browser_ask_user and browser_credentials_save as the fallback path. An agent can tell this apart from browser_credentials_save without opening either schema.

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 explicit when-to-use guidance: take a snapshot first, pass refs of visible fields, fill both in one call when both are on screen, call twice on a two-step form. It also states the exclusion (does not submit — click the button yourself) and the exact next move when nothing is stored.

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