Skip to main content
Glama
AndreyTepaykin

hh-mcp

get_employer_departments

Retrieve departments for a specified employer ID to organize vacancies and resumes by company structure. Use this to map internal teams and filter hiring data.

Instructions

List departments for an employer. Requires HH_ACCESS_TOKEN.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoReturn the full raw hh.ru JSON instead of the compact summary.
employer_idYesEmployer ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It does state the auth requirement (HH_ACCESS_TOKEN) and 'List' implies a read operation with no side effects. However, it does not disclose response format, pagination, error behavior, or the impact of the raw parameter.

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 two short sentences with no filler. The primary purpose is front-loaded ('List departments for an employer.') and the auth requirement is stated succinctly. Every word contributes.

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 simple two-parameter read tool, the description covers core purpose and auth, but it does not explain return values or behavior of the compact summary vs raw output beyond what the schema states. At a minimum it is adequate, but with no annotations or output schema, a bit more context would be expected.

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%, so the baseline is 3. The description itself adds little parameter meaning beyond what the schema already provides; 'employer' is present in the tool name, and the schema documents employer_id and raw. No additional semantic value is contributed.

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?

The description clearly states a specific action and resource: 'List departments for an employer.' It is unambiguous and the verb 'List' plus the resource 'departments' makes the core purpose clear. However, it does not explicitly distinguish this from siblings like get_employer_vacancy_areas or list_employer_addresses.

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

Usage Guidelines2/5

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

The description offers no guidance on when to use this tool versus alternatives, no prerequisites beyond the auth token, and no mention of when not to use it. 'Requires HH_ACCESS_TOKEN' is a constraint, not usage guidance. Sibling tools with overlapping employer-scoped concerns are not addressed.

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