Skip to main content
Glama
asgard-ai-platform

mcp-buy123-vendor

vendor_login

Opens a real browser window for the user to manually log in to the vendor portal, capturing the login response to refresh access tokens when authentication fails or expires.

Instructions

Open a real Chromium window so the user can log in to the vendor frontend.

Use this when:

  • auth_status reports authenticated=false

  • Another tool has returned a "No vendor access token" / "token refresh failed" error

Flow:

  1. A Chromium window opens at the vendor frontend.

  2. Email / password / vendor_id are best-effort prefilled from env.

  3. The user solves the reCAPTCHA and clicks submit themselves.

  4. This tool captures the POST /v1/auth/login response, updates the in-memory cache, and writes VENDOR_ACCESS_TOKEN / VENDOR_REFRESH_TOKEN back to .env so future MCP restarts are also authenticated.

Blocks until the user completes the login (up to 10 minutes) or aborts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries full burden. It discloses all significant side effects: opening a real Chromium window, best-effort prefill, user solving reCAPTCHA, capturing the login response, updating the in-memory cache, and writing tokens back to .env. It also reveals blocking behavior up to 10 minutes, which is critical for agent expectations.

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 with a summary, explicit usage conditions, and a numbered flow. Every sentence adds operational value (prefill, captcha, cache, .env, blocking) without fluff, making it easy to parse and act on.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the full lifecycle: triggers, user interaction steps, backend side effects, persistence, and timeout behavior. No output schema exists, but the description sufficiently explains what happens during and after execution, making it complete for an interactive login tool.

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?

The input schema has zero parameters, so there is nothing to elaborate. The baseline of 4 applies because the description correctly implies no parameters are needed, and no additional semantic explanation is required.

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 phrase ('Open a real Chromium window') and identifies the exact resource (vendor frontend) and goal (user login). It clearly distinguishes this from sibling read-only tools like auth_status and get_current_user by describing an interactive login flow.

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?

Provides explicit 'Use this when' conditions tied to auth_status=false or token errors, making it unambiguous when to invoke. The numbered flow also clarifies the expected sequence and user involvement, effectively indicating when this tool is appropriate.

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/asgard-ai-platform/mcp-buy123-vendor'

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