Skip to main content
Glama

Remember a sign-in for next time

browser_credentials_save

Stores a site's username, password, or preferred Google account so future logins can be filled without retyping credentials. Use it after receiving credentials to keep them for later sign-in.

Instructions

Store a username, password, or preferred Google account for a site, so the next login needs nobody.

Call this right after the user gives you credentials, before you use them — if the login then fails you have still saved them the retyping. Saving only a googleAccount is normal for sites behind SSO, where there is no password to hold.

Stored at mode 600 outside the repository. Passwords are never read back out; they can only be typed into a page by browser_credentials_fill.

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

Input Schema

NameRequiredDescriptionDefault
noteNoNon-secret hint for next time, e.g. "use the Sign in with Google button, the form rejects this".
domainYesSite the credentials belong to — a host or a URL, e.g. "examplebank.com" or the page you are on. Prefer the parent domain when a site spans subdomains.
passwordNoPassword. Never echo this back to the user or into your reply.
usernameNoUsername, email, or account id.
googleAccountNoWhich account to choose at a Google "Choose an account" screen, e.g. "you@gmail.com".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.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 load and does well: it discloses storage location and permissions (mode 600, outside the repository) and the write-only contract (passwords are never read back out). It stops short of saying whether a save overwrites an existing entry or errors on duplicates, and whether any user confirmation is expected, which are the remaining behavioral unknowns for a mutation tool.

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, each carrying a distinct payload: what gets stored, when to call it, and where/how it persists. The security and read-back constraints are front-loaded rather than buried, and no sentence is filler despite the conversational tone.

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?

For a five-parameter mutation tool with no annotations and no output schema, the definition covers the critical facts an agent needs: permitted field combinations, call ordering, and the irreversibility of the write. The only gap is upsert-versus-error behavior on a repeat save for the same domain.

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 beyond the schema by explaining that a googleAccount-only save is legitimate for SSO sites where there is no password to hold. That clarifies which of the five optional fields may legitimately stand alone.

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 (store a username, password, or Google account for a site) and explicitly separates itself from the read path by naming browser_credentials_fill as the only way those secrets are later used. An agent can distinguish it from the fill/forget/list siblings without opening a 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 timing guidance: "Call this right after the user gives you credentials, before you use them," including the rationale that saving first is still worthwhile if login fails. It also covers the non-obvious SSO case where saving only a googleAccount is the normal behavior, which is exactly the ambiguity that would otherwise cause the agent to skip the call.

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