Skip to main content
Glama

login

Fills and submits login forms with credentials from keychain or direct input, auto-detecting form fields or using custom selectors. Navigate to the login page first.

Instructions

Fill a login form and submit it.

Credentials: provide either site (to load from keychain) OR username + password directly.

Selectors: if omitted, common patterns are tried automatically (input[type=email], input[name=username], etc.).

Use navigate() to go to the login page first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNo
passwordNo
usernameNo
submit_selectorNo
password_selectorNo
username_selectorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries full behavioral burden. It explains credential sources and selector auto-detection, but omits important traits like side effects (e.g., navigation after submission), error handling, or what happens if both credential modes are provided. It's adequate but not comprehensive.

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?

The description is well-structured: purpose first, then credential options, selector behavior, and a navigation prerequisite. Every sentence is informatively dense with no fluff, earning its place.

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 (6 params, 0 required, no schema descriptions) and no annotations, the description covers essential aspects: credential modes, selector fallback, and navigation prerequisite. The output schema exists, so return values are covered elsewhere. Minor gaps like conflict resolution remain.

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 description coverage is 0%, so the description compensates by explaining the two credential modes (site vs username/password) and the selector auto-detection logic. It adds meaning to the parameters without listing each one, but effectively ties them to usage patterns.

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 clearly states the tool's function: 'Fill a login form and submit it.' It specifies the resource (login form) and the action (fill and submit), distinguishing it from generic fill_field or submit_form tools by focusing on login-specific behavior and credential handling.

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?

It gives explicit context: 'Use navigate() to go to the login page first' and explains credential options (site OR username/password). It doesn't name alternatives explicitly but implies the tool is for login forms, which is sufficient guidance given the sibling list.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dominic-Pi-Sunyer/web-speed-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server