Skip to main content
Glama

test_account_login

Create or reuse a disposable-email test account and log in to a website, storing credentials in test-accounts.json so they persist across test sessions.

Instructions

Create or reuse a test account for a website using a disposable email from Guerrilla Mail. Credentials are stored in test-accounts.json and reused across test sessions. Use action='auto' to login if credentials exist or create new ones if they don't.

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": {
      "action": "<action>",
      "account_key": "<account_key>"
    },
    "name": "test_account_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesauto: use stored credentials or create new (also re-creates if login fails). create: always create a new account. login: use stored credentials only — fails if none exist.
login_urlNoURL of the login page. Required for 'login'; also used by 'auto' after account creation.
step2_urlNoURL of a second signup page for multi-step forms where the password is on a separate page. Optional.
signup_urlNoURL of the signup/registration page. Required for 'create' and 'auto' actions.
account_keyYesUnique identifier for this account (e.g. 'jobright_main'). Used to store and retrieve credentials across sessions.
email_selectorNoCSS selector for the email input field. Auto-detected if omitted.
submit_selectorNoCSS selector for the submit button. Auto-detected if omitted.
password_selectorNoCSS selector for the password input field. Auto-detected if omitted.
pre_click_selectorNoCSS selector for a button/link to click after navigation before the signup form appears (e.g. a 'Join Now' button that opens a modal). Optional.
step2_submit_selectorNoCSS selector for the submit button on step 2. Optional.
step2_password_selectorNoCSS selector for the password field on step 2 of a multi-step signup form. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden. It usefully discloses two non-obvious traits: credentials persist to test-accounts.json and are reused across sessions, and auto re-creates on login failure. It omits the bigger behavioral facts an agent needs — that this automates a real browser against a live site, that it depends on the browser/extension being connected, and what a failed signup leaves behind.

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 purpose, then persistence, then the recommended action. No filler or repetition, though the third sentence largely restates the enum documentation rather than adding new information.

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 an eleven-parameter tool with zero annotations and no output schema, the definition covers purpose and storage but leaves notable gaps: no statement of what the tool returns on success or failure, no mention of the browser dependency implied by sibling tools like connect_browser and load_extension, and no mention of how the disposable-email verification step is handled.

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 description coverage is 100%, including per-value enum explanations and optional/required markers for URLs and selectors, so the schema already does the explanatory work. The description adds nothing about specific parameters beyond echoing auto-mode behavior, so the baseline of 3 applies.

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?

The description gives a specific verb and resource ('Create or reuse a test account for a website'), names the disposable-email provider (Guerrilla Mail) and the persistence artifact (test-accounts.json). It is unambiguous about what the tool produces, though it never states that it drives a live browser to fill signup forms, which is what the eleven selector parameters imply.

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?

It gives one concrete recommendation ('Use action='auto' to login if credentials exist or create new ones if they don't'), which is real when-to-use guidance. However, the distinctions between create, login and auto, and the conditions that require each, live only in the enum schema description, and there are no exclusions or prerequisites (e.g. a connected browser) stated anywhere in the description.

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