Skip to main content
Glama

TalentHR MCP by usefulapi

Get the time off report

talenthr_get_time_off_report
Read-only

Approved, non-canceled time off summarized per month and per weekday, split by time off type, for a period.

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.
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?

The readOnlyHint annotation already establishes the safety profile, and the description adds meaningful scope details: only approved, non-canceled time off is included, and results are aggregated by month, weekday, and type. However, it says nothing about permission requirements, whether 'approved' uses request or effective approval dates, or any pagination/row-limit behavior for the report.

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?

A single dense sentence that front-loads the inclusion criteria and then the aggregation dimensions. Every clause carries information and nothing is redundant.

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?

With no output schema, the description helpfully specifies the shape of the aggregation (per month, per weekday, split by time off type), which is the most important thing an agent needs. It is nearly complete for a read-only report, though it leaves default behavior ambiguous when no parameters are supplied.

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 all four parameters (filter, period, start_date, end_date) are already well documented, including valid keys routing to talenthr_get_directory_filters. The description adds only the phrase 'for a period', which does not extend parameter meaning beyond the schema, so the baseline of 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-less but precise resource and scope: approved, non-canceled time off summarized per month and per weekday, split by type. An agent can tell this is an aggregated time-off report rather than raw request listing, but the description does not distinguish it from sibling reports like talenthr_get_hires_leaves_report or talenthr_get_headcount_report.

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?

No guidance on when to choose this report versus the hires/leaves report, headcount report, or per-employee time off budgets/requests. The only implied usage comes from the data scope, and there are no exclusions or prerequisites stated.

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.