Skip to main content
Glama
yinnho

AginxBrowser

account_login

Open a login page under a named account, identify the login gate (password, SMS, QR, slider), and hand off live if human action is needed. After an automatic bounce, stamp the account's verify spec.

Instructions

Open a site's login page AS a named account and close the login loop. Creates the session as the account (private jar, device persona), navigates to url, and reports which generic login gates the page shows — needs: password | sms | qr | slider (QR scan like xiaohongshu, SMS code, password form, slider/captcha) — plus a session_verdict classification and, when a human step is needed, the session_id and a /live handoff so a person can finish it in the live view (the engine detects and describes; it never fills credentials or solves challenges). With predicate and no human gates detected, waits for the automatic bounce, then teaches + stamps the account's verify spec — later account_verify calls re-check it bare. Cookies write back after every action, so a login finished in /live is already persisted. status is "logged_in" (verify stamped), "waiting" (drive session_wait/session_input on session_id, or re-call account_login after the human finishes — the account's shared jar already holds it), or "opened" (no predicate given).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe login page URL to open as this account.
nameYesThe account to log in as (created implicitly on first use; 1-64 chars of [a-zA-Z0-9_-]).
predicateNoA JS expression truthy on the page the site lands on AFTER login, e.g. `!!document.querySelector('.user-nick')`. With it and no human step detected, the call waits for the automatic login bounce and stamps the account's verify spec on success. Without it, the call just opens the page and reports what kind of login it sees.
use_proxyNoRoute through the engine proxy. Seeds a fresh account; an account with an existing record reuses its recorded egress.
timeout_msNoWait budget in ms for the automatic-login bounce (default 60000, clamped 1000..120000). Never spent while a human step (QR/SMS/password/slider) is outstanding — those return immediately with a session handoff.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.5

TDQS

A4.5/5.0
Behavior5/5

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

Annotations provide only a title, so the description carries the full burden of behavioral disclosure. It thoroughly explains that the tool creates a session, never fills credentials or solves challenges, writes cookies back after every action, and reports statuses ('logged_in', 'waiting', 'opened'). It also discloses the handoff mechanism and verify spec stamping. No contradictions with annotations exist.

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?

The description is long but densely packed with necessary information. It front-loads the core purpose, then covers predicate behavior, cookie persistence, and status outcomes. While it could be better structured with bullet points, every sentence adds value and avoids fluff. It is appropriately sized for the tool's complexity.

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?

Given the tool's complexity, the description covers the essential behaviors: login gate detection, session handoff, verify spec stamping, and status values. It mentions the session_verdict classification and the /live handoff but does not detail every edge case, such as error handling or exact return structure. Still, it provides enough for an agent to call the tool correctly in most scenarios.

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. The description adds meaningful context beyond the schema: it explains how 'predicate' drives the automatic-login wait and stamps the verify spec, how 'use_proxy' seeds a fresh account, and how 'timeout_ms' is never spent during human steps. These details help an agent choose and configure parameters correctly, exceeding the baseline.

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?

The description opens with a specific verb and resource: 'Open a site's login page AS a named account and close the login loop.' It clearly states the tool's primary function and distinguishes it from siblings like account_verify (which re-checks a verify spec) and session_* tools. The purpose is unambiguous and actionable.

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?

The description provides clear context for when to use the tool, including the predicate parameter for waiting on automatic login bounce, and how to handle human gates by using session_wait/session_input or re-calling account_login. It references account_verify as a follow-up step, but does not explicitly state when to prefer alternatives like session_navigate or session_create. This is strong guidance but not fully explicit about exclusions.

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