Skip to main content
Glama

Boss Login

boss_login

Authenticates a BOSS Zhipin recruiter account by returning waiting_for_login for manual QR or SMS login, then reconnects and saves cookies on the next call.

Instructions

登录 BOSS 直聘招聘者账号。

首次使用返回 waiting_for_login,由用户手动扫码或短信登录。 等待扫码前断开调试连接并保留 Chrome,不轮询或刷新页面。 返回 waiting_for_login 后等待用户完成;再次调用会重新连接、检查并保存 Cookie。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "boss_login"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it declares the waiting_for_login return state, that Chrome is left running while the debug connection is dropped, that polling/refreshing is forbidden, and that a repeat call persists the Cookie. It omits failure modes (expired QR, login failure) and any credential or permission prerequisites.

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?

Four short lines, front-loaded with the purpose, then the state sequence, then the constraint, then the repeat-call behavior. Every sentence carries operational information and none repeats the name or title.

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?

For a stateful, browser-driven login tool with an output schema already covering return values, the description supplies the state machine, the side effects, and the calls-again protocol. The only real gap is error/expiry handling, which leaves an agent guessing what to do when login does not complete.

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 tool takes zero parameters, so there is no parameter meaning to convey and the baseline is 4. The description correctly does not waste space on nonexistent inputs.

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 states a specific verb and resource (log in to a BOSS Zhipin recruiter account) and frames it as a stateful login flow, which no sibling (search, view, greet, debug) covers. An agent can identify the tool's job without opening the schema.

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 gives clear lifecycle guidance: the first call returns waiting_for_login, the user logs in manually, and a repeat call reconnects, checks, and saves the Cookie. It also states an explicit prohibition (do not poll or refresh the page), but does not name a fallback or alternative tool if login fails or the state is not waiting_for_login.

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