Skip to main content
Glama

set_form_login

Configure username/password form login for a project by providing login URL and credentials. Auto-detects form fields; override selectors if needed. Call login_project afterward to execute the login.

Instructions

Configure username/password form login for a project (stored, not executed yet). For standard HTML login forms; field/submit selectors are auto-detected but can be overridden. Returns {success}. Call login_project afterwards to actually log in. For 2FA/SSO/CAPTCHA use interactive_login instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject name
passwordYesLogin password
usernameYesLogin username or email
login_urlYesURL of the login page
submit_selectorNoCSS selector for submit button (optional)
password_selectorNoCSS selector for password field (optional)
username_selectorNoCSS selector for username field (optional)
Behavior4/5

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

No annotations provided, so description carries burden. It discloses that config is stored not executed, returns {success}, and selectors are auto-detected but overridable. Lacks mention of error conditions.

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?

Three sentences, front-loaded with purpose, no superfluous text. Each sentence adds value.

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?

Covers purpose, usage order, and alternatives. No output schema, but return value is simple. Could mention prerequisites like project existence, but adequate given complexity.

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 has 100% coverage with descriptions, but description adds context about auto-detection and overriding of selectors, going beyond schema.

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 it configures username/password form login, distinguishes from 'interactive_login' and 'login_project', and specifies stored not executed.

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

Usage Guidelines5/5

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

Explicitly says use for standard HTML login forms, tells to call 'login_project' afterwards, and suggests 'interactive_login' for 2FA/SSO/CAPTCHA.

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/segentic-lab/periscope-mcp'

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