Skip to main content
Glama

Run an HR report

hr_report
Read-onlyIdempotent

headcount: who works here on as_of (default today), by department, location and employment type, people on leave counted. joiners_leavers: who started, and whose last day fell, from-to. time_off: approved working days off from-to, per leave type and per person. balances: everyone's balance of each tracked leave type for a leave year (default the current one), paged. Periods default to this leave year so far. To show a person, put it in a view (view_show). Free.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "report": "<report>"
    },
    "name": "hr_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD
fromNoYYYY-MM-DD
yearNoA leave year, named by the year it starts in. Default: the current one.
as_ofNoYYYY-MM-DD
limitNo
offsetNo
reportYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so safety is covered. The description adds useful context such as default periods, that balances are paged, and that the tool is free, but it does not describe permissions, rate limits, or output shape beyond a high-level summary.

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?

The description is dense and front-loaded with the report modes, and every clause carries information. The semicolon-heavy run-on structure is efficient but less scannable than it could be, and the trailing 'Free.' is useful pricing context but slightly abrupt.

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 multi-mode reporting tool with no output schema, the description gives enough detail to choose a report and understand the main date defaults and return categories. It leaves minor gaps around pagination parameters and exact output fields, but the core context is 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?

Schema coverage is only 57%, but the description compensates well by explaining the required report enum values and the date semantics for from/to, as_of, and year, including defaults. It does not explain limit/offset behavior beyond noting that balances are paged, leaving a gap for pagination parameters.

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 states specific report outputs (headcount, joiners/leavers, time off, balances) and what each contains, so the tool's purpose is clear. It does not explicitly distinguish itself from related siblings like hr_who_is_out or hr_list_leave, though it does point to view_show for person-level views.

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 clearly maps each report enum value to the question it answers and gives one explicit alternative: use view_show to show a person. It lacks explicit when-not-to-use guidance or comparisons against nearby HR list tools, but the report choices are well contextualized.

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.

Resources