Skip to main content
Glama

credentials.save

Save encrypted login credentials bound to an exact origin for agent use in development and test accounts; passwords stay unreadable and are never returned by tools.

Instructions

Save a login the agent can USE but never READ. The password is encrypted at rest and no tool ever returns it, so a prompt-injected agent cannot exfiltrate it. Bound to an exact origin. Intended for development and test accounts.

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>",
      "origin": "<origin>",
      "username": "<username>",
      "password": "<password>"
    },
    "name": "credentials.save"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
siteYesShort name to refer to it by, e.g. "staging".
fieldsNoExtra form fields by name attribute, e.g. an org or tenant.
originYesExact origin it may be used on, e.g. "https://staging.example.com".
passwordYesStored encrypted. Never returned by any tool.
usernameYes
login_urlNoWhere the login form lives, if not the origin root.
selectorsNoOverride the auto-detected form selectors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true) by disclosing the security model: password encrypted at rest, never returned by any tool, non-exfiltratable under prompt injection, and origin-bound. It does not state what happens on a duplicate site/origin, whether saves are overwrite or insert, or what the call returns — meaningful gaps for a mutation tool, keeping it at 4 rather than 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?

Four short sentences, each load-bearing: capability, security guarantee, binding constraint, intended scope. The 'never READ / cannot exfiltrate' framing is front-loaded where an agent will read it first, and there is no filler or restated title text.

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 an 8-parameter, nested-object mutation tool with no output schema, the definition covers the essentials an agent needs to call it safely and within scope. The residual gap is return/duplicate semantics — what identity comes back and whether a repeat save overwrites — which the schema cannot communicate and the description omits.

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?

With 75% schema description coverage, the schema already documents site, origin, login_url, fields, selectors, and password, so baseline 3 applies. The description's 'bound to an exact origin' echoes the origin parameter but adds no format, constraint, or interaction detail (e.g., how fields/selectors relate to the stored credential) beyond what the schema supplies.

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?

Specific verb 'Save' plus a clearly scoped resource: a login credential bound to an exact origin. The polarization 'USE but never READ' carves out a distinct role versus a read/list sibling, though no sibling is named explicitly, so routing among credentials.list/login/delete is left to inference.

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

Usage Guidelines4/5

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

'Intended for development and test accounts' is an explicit when-not-to-use constraint that steers the agent away from production credentials. What is missing is an enumeration of alternatives (e.g., use credentials.login to exercise the credential, credentials.list to inspect it), so the guidance is strong on exclusions but silent on sibling selection.

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

Deploy Server

Other Tools