Skip to main content
Glama

TalentHR MCP by usefulapi

Get the headcount report

talenthr_get_headcount_report
Read-only

Headcount per month over a period (total and optionally grouped by gender, location, department, division, ...), plus the current headcount.

Input Schema

NameRequiredDescriptionDefault
filterNoFilter: key=comma-separated ids, keys separated by ';', e.g. location=36;emp_state=1,2,3. Valid keys and ids come from talenthr_get_directory_filters.
periodNoReporting period: l12m (last 12 months) or a 4-digit year (the current or the previous calendar year). Alternatively pass start_date and end_date (max 36 months).
end_dateNoCustom range end, yyyy-mm-dd.
group_byNoBreak the headcount down by this dimension.
start_dateNoCustom range start, yyyy-mm-dd (use with end_date instead of period).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's added value is the return shape: a monthly series plus a current-headcount figure, which matters because there is no output schema. It does not disclose permission requirements, whether the monthly series is sparse or zero-filled, or how the 'current' value relates to the end of the requested range.

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?

One dense sentence that front-loads the primary metric and appends the supplementary 'current headcount' clause. No filler, though the parenthetical enumeration is doing a lot of work and slightly buries the grouping parameter story.

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?

With five optional parameters, no output schema, and no required inputs, the agent has to infer defaults – notably what period applies when neither period nor start_date/end_date is supplied. The description covers the returned data reasonably but leaves this default behavior and the relationship between period and the custom range undocumented outside the schema.

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 each parameter is already pattern- or enum-constrained with its own explanation, so the schema does the heavy lifting. The description's only added semantic is that grouping is optional and that dimensions include 'location, department, division, ...', which is marginally richer than the schema's enum list.

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 concrete resource (headcount per month over a period, plus current headcount) and explicit breakdown dimensions, so the agent knows exactly what data comes back. It stops short of distinguishing itself from other report siblings such as get_hires_leaves_report or get_time_off_report, which share the 'report' niche.

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?

Usage is only implied by the resource name and the phrase '(total and optionally grouped by ...)', which signals that grouping is an opt-in variant. There is no explicit when-to-use, no mention of the alternative report tools, and no note that the filter ids must first be retrieved via talenthr_get_directory_filters (that only appears in the schema).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.