Skip to main content
Glama

TalentHR MCP by usefulapi

Get the time off calendar

talenthr_get_calendar
Read-only

Who is off when: employees with their time off requests and the holidays for a date range. Without end_date the range runs to the end of the start month (max 2 years). Without a filter it includes every employee (also terminated). Filter with keys time_off (pending, approved), department, division, location, emp_state and time_off_type (e.g. time_off=pending,approved;department=6), or one employee with employee_id.

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.
end_dateNoLast day, yyyy-mm-dd (default: end of the start month).
start_dateYesFirst day, yyyy-mm-dd.
employee_idNoOnly this employee's calendar.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so most behavioral burden falls on the description, which delivers the important surprises: default end date, a max 2-year range, and that unfiltered results include terminated employees. It does not mention pagination or result ordering, which is a meaningful omission for a potentially large calendar.

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?

Front-loads the core purpose in a short clause, then packs defaults and the filter grammar into two dense sentences with no filler. The long filter sentence is heavy but every clause carries actionable information.

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 does state what the payload conceptually contains (employees, their time off requests, holidays) plus range and filter semantics. It could say more about response shape or volume, but an agent has enough to invoke it correctly.

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 100% (baseline 3), but the description goes beyond it by enumerating the valid filter keys (time_off, department, division, location, emp_state, time_off_type), giving an example syntax string, and explaining the end_date default and employee_id narrowing. The schema only says valid keys come from talenthr_get_directory_filters, so this compensates usefully.

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

Purpose5/5

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

States a specific verb+resource ('Who is off when: employees with their time off requests and the holidays for a date range'), which distinguishes it from siblings like talenthr_list_employee_time_off_requests and talenthr_list_holidays by making it the combined calendar view. The scope (per-employee time off plus holidays) is unambiguous.

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?

Gives clear operating context: default range extends to end of the start month, default scope includes every employee including terminated ones, and it names the filter keys and the single-employee variant. It stops short of explicitly naming alternatives (e.g. use list_employee_time_off_requests for request-level detail or get_time_off_report for aggregates), so an agent must infer when not to use it.

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.