Skip to main content
Glama

fetch_employee_paystatement_details

Retrieve detailed pay statement information for a specific employee, year, and check date from the Paylocity system.

Instructions

Fetch pay statement details for a specific employee, year and check date.

Args: company_id: Optional company ID (string or integer). If not provided, uses the first company ID from configuration. employee_id: Employee ID (string or integer) to get pay statement details for. year: The year to get pay statement details for. check_date: The check date to get pay statement details for (format: MM/DD/YYYY).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
company_idNo
employee_idNo
yearNo
check_dateNo

Implementation Reference

  • The main handler function for the 'fetch_employee_paystatement_details' tool. It is decorated with @mcp.tool() which registers it, includes input schema via type hints and docstring, validates parameters, and delegates to the Paylocity client.
    @mcp.tool() def fetch_employee_paystatement_details( company_id: Optional[Union[str, int]] = None, employee_id: Union[str, int] = None, year: Union[str, int] = None, check_date: str = None ) -> Dict[str, Any]: """ Fetch pay statement details for a specific employee, year and check date. Args: company_id: Optional company ID (string or integer). If not provided, uses the first company ID from configuration. employee_id: Employee ID (string or integer) to get pay statement details for. year: The year to get pay statement details for. check_date: The check date to get pay statement details for (format: MM/DD/YYYY). """ if any(param is None for param in [employee_id, year, check_date]): raise ValueError("employee_id, year, and check_date are all required") company_id_str = str(company_id) if company_id is not None else company_ids[0] employee_id_str = str(employee_id) year_str = str(year) return client.get_employee_paystatement_details(company_id_str, employee_id_str, year_str, check_date)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mz462/mcpPaylocity'

If you have feedback or need assistance with the MCP directory API, please join our Discord server