Skip to main content
Glama

Auto Login to Iconfont (Browser)

iconfont_auto_login
Idempotent

Automatically opens a browser to log into Iconfont and securely stores authentication cookies for future API access, eliminating manual cookie handling.

Instructions

Automatically open browser to log in to Iconfont and obtain authentication cookie.

This tool will:

  1. Try to open browser using Puppeteer

  2. If Puppeteer fails, use system command to open browser

  3. Let you log in manually in the browser

  4. Automatically detect when login is successful

  5. Store the authentication cookie for future API calls

Returns:

  • Success message with login status

Note: This opens a real browser for secure login. The browser will close automatically after login. This tool may take longer to complete as it waits for manual login.

Examples:

  • Use when: "I want to log in without manually copying cookie"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations provide readOnlyHint=false (mutation), destructiveHint=false (safe), and idempotentHint=true (repeatable). The description adds valuable behavioral context beyond annotations: it explains the multi-step process (Puppeteer fallback, manual login, auto-detection), mentions browser closure, storage of cookies for future API calls, and notes it may take longer due to manual login. No contradiction with annotations.

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 well-structured with bullet points for steps, a returns section, notes, and examples. It is appropriately sized for a complex tool, though slightly verbose; every sentence adds value (e.g., explaining fallback mechanisms, manual login, and timing). Could be slightly more concise but remains effective.

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 (browser automation, manual login) and lack of output schema, the description provides good completeness: it details the process, return values (success message with login status), and operational notes. It covers key aspects like authentication cookie storage and timing, though could briefly mention error handling or prerequisites.

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?

There are 0 parameters, and schema description coverage is 100% (no parameters to describe). The description appropriately explains the tool's behavior without needing parameter details, adding context about the login process and outcomes. Baseline is 4 for zero parameters, and it meets this by providing relevant operational semantics.

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 specific action ('Automatically open browser to log in to Iconfont and obtain authentication cookie') and distinguishes it from siblings like 'iconfont_login' (likely manual) and 'iconfont_check_login' (verification). It explicitly mentions the resource (Iconfont) and the outcome (authentication cookie).

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?

The description provides explicit guidance with 'Use when: "I want to log in without manually copying cookie"' and distinguishes from alternatives by specifying this tool opens a browser for secure login, unlike other login methods. It clearly indicates when to use this tool versus other login approaches.

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/GuoChen-thlg/iconfont-mcp'

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