Skip to main content
Glama

boss_hr_whoami

Check whether the current BOSS Zhipin login session is on the recruiter side, where identity 1 means recruiter mode is ready. Reads status only and does not switch identity.

Instructions

招聘者模式:查看当前登录态是否处于招聘者侧。identity 为 1 才算就绪;profile_recruit 只回显,不切换身份 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]

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_hr_whoami"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.3.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Addedv3.0.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose the important behavior: it is a state check that does not mutate identity, and the readiness signal is identity==1. It also discloses availability gating (roles=recruiter, recruiter_platforms=zhipin-recruiter). It does not describe failure/not-ready behavior or the full response, which keeps it below 5.

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?

Two short sentences, front-loaded with the mode and purpose, followed by a bracketed availability tag. The bracket metadata is dense but earns its place since no annotations exist to carry the role/platform constraints; the 'profile_recruit' aside is slightly tangential but still informative.

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

Completeness3/5

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

For a zero-arg read-only probe this covers purpose, non-mutation, and the readiness criterion, but with no output schema the full return contract (what fields come back, what a not-ready result looks like) is left implicit. Adequate, 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 nothing for the description to disambiguate; baseline 4 applies. The added note about what 'identity' means is a return-value hint rather than a parameter clarification.

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 gives a concrete verb and resource (check whether the current login session is on the recruiter side) and explicitly separates it from the similarly-scoped 'profile_recruit', which it says only echoes state. An agent can tell what this does and what it is not without opening anything else.

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 states the readiness condition ('identity 为 1 才算就绪') and clarifies the boundary against profile_recruit (echo only, no identity switch), which is real when-to-use guidance. It stops short of saying explicitly 'call this before any recruiter action', so it is clear context rather than a full when/when-not rule.

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