Skip to main content
Glama
AndreyTepaykin

hh-mcp

get_employer_departments

List departments for an employer on hh.ru, resolving the authenticated employer ID from /me when omitted. Requires HH_ACCESS_TOKEN.

Instructions

List departments for an employer. employer_id of the authenticated account can be omitted (resolved from /me). Requires HH_ACCESS_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoReturn the full raw hh.ru JSON instead of the compact summary.
employer_idNoId of the authenticated employer/manager; omit to resolve from /me. Do not pass 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.1.0
    • changedInput schema / properties / employer_id / description
      Previous value: -"Employer ID"New value: +"Id of the authenticated employer/manager; omit to resolve from /me. Do not pass 0."
    • changedInput schema / properties / employer_id / pattern
      Previous value: -"^\\d+$"New value: +"^[1-9]\\d*$"
    • removedInput schema / required
      Removed value: -[
      -  "employer_id"
      -]
  2. First observedv2.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It does disclose the HH_ACCESS_TOKEN requirement and the /me fallback for employer_id, but says nothing about pagination, result size, or how the 'compact summary' differs from the raw payload selected by the raw flag.

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?

Two short sentences, front-loaded with the core action, then the parameter default and the auth requirement. No filler or redundancy.

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 tool with no annotations and no output schema, the description is adequate but thin: it covers the call target and auth, yet never explains the default return shape (compact summary) versus the raw JSON that the schema's raw flag controls. An agent can call it correctly but not predict the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and both parameters are already documented in the schema (including the 'omit to resolve from /me' and 'do not pass 0' notes). The description echoes the employer_id default but adds no new syntax or meaning for the raw parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'List departments for an employer.' The resource is unique among the siblings (no other department-listing tool exists), so routing is unambiguous, but the description never explicitly contrasts itself with adjacent tools like list_employer_addresses or get_employer.

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

Usage Guidelines3/5

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

It clarifies the common calling pattern (omit employer_id for the authenticated account, resolved from /me) and states the auth prerequisite, which is genuine usage context. However, it offers no explicit when-to-use/when-not guidance or named alternatives.

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