Skip to main content
Glama

save_login

Store a site login. The secret is encrypted and is not returned. A site and username already saved needs replace: true.

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>",
      "username": "<username>",
      "secret": "<secret>"
    },
    "name": "save_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
secretYes
replaceNoReplace the secret of a login already saved for this site and username.
usernameYes
identity_idNoIdentity to use. Omit when the account has exactly one identity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / replace
      Added value: +{
      +  "description": "Replace the secret of a login already saved for this site and username.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two useful behaviors: the secret is encrypted at rest and never returned, and an existing entry requires replace=true. It does not say what happens on a duplicate without replace (error type?), whether replace overwrites only the secret or the whole entry, or what permissions are needed.

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 short sentences, front-loaded with the action and then the safety-relevant facts. The final sentence is grammatically compressed ("A site and username already saved needs replace: true") which costs a sliver of readability, but there is no filler.

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 5-parameter mutation tool with no annotations and no output schema, the description covers the essentials of storage and secret handling but leaves the identity_id path and the failure mode on duplicate without replace unaddressed. Adequate, not complete.

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 coverage is only 40%, so the description must compensate. It adds meaning for replace (overwrite only when site+username already exist) and clarifies secret handling, but says nothing about identity_id's role or what omitting it does when multiple identities exist — that is left solely to the schema fragment.

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?

"Store a site login" gives a specific verb and resource, and the mention of site/username/secret makes it clearly a write-side counterpart to read tools like list_logins or fill_login. It stops short of naming a sibling or exclusion boundary, so it is clear but not fully differentiated.

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 description gives one concrete conditional: if a site and username are already saved, set replace to true. That is real usage guidance for the duplicate case, but there is no statement of when to prefer save_login over fill_login, request_login, or save_session, and no prerequisites are described.

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