Skip to main content
Glama
asgard-ai-platform

mcp-mayo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAYO_API_KEYYesThe token value placed on the hrmlicense header; authenticates Foundation, Attendance, and Payroll in a single credential

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_active_employeesA

List active employees as of a given date, optionally scoped to a department.

KNOWN ISSUE: The /ClientOut/ReportCenter/ActiveEmployeeData route returns 404 on the PRE Foundation backend. The tool is kept for when MAYO deploys the Report Center endpoints to this environment.

list_resigned_employeesA

List employees who resigned or took leave within a date range.

KNOWN ISSUE: The /ClientOut/ReportCenter/ResignAndLeaveData route returns 404 on the PRE Foundation backend. The tool is kept for when MAYO deploys the Report Center endpoints to this environment.

get_organization_treeA

Get the organization hierarchy as of a specific date.

KNOWN ISSUE: The /ClientOut/ReportCenter/OrgData route returns 404 on the PRE Foundation backend. The tool is kept for when MAYO deploys the Report Center endpoints to this environment.

export_organization_with_employeesC

Export effective organization units together with their employees (OM + PA).

export_employeesA

Export effective employee master data (core fields only).

export_departmentsA

Export effective department master data (core fields only).

export_organization_fullC

Export effective organization master data with all fields (OM endpoint).

export_employees_fullC

Export effective employee data with every PA field. Supports many optional filters.

export_expatriationsB

Export effective employee expatriation (外派/派駐) assignments.

export_working_historyA

Export all employees' work-experience records.

export_education_historyA

Export all employees' education records.

export_employee_changesA

Export employee change orders within a date range (paginated).

export_organization_changesB

Export organization change orders within a date range (paginated).

export_pa_optionsC

Export reference code tables used by the People+ (PA) module.

export_company_custom_fieldsB

Export the custom field definitions configured by the tenant.

get_attendance_rulesA

Get each employee's base attendance configuration as of a given date.

Returns the shift, rest-day rule, and attendance-group information that applies to every active employee on search_date.

get_attendance_historyA

Get raw clock-in / clock-out records across all employees within a date range.

get_attendance_abnormalA

Get attendance exceptions (late, early leave, missed punch, etc.) within a date range.

get_forgot_checkin_recordsA

Get manually-added or corrected clock-in records within a date range.

get_leave_historyA

Get approved and pending leave applications within a date range (leave_historyV2).

get_employee_calendarA

Get each employee's assigned shift calendar (work day / rest day / holiday) for a range.

get_overtime_recordsB

Get approved overtime records within a date range.

get_trip_historyA

Get business trip / field-work records within a date range.

KNOWN ISSUE: This endpoint is marked as failing upstream in MAYO's own Postman collection. Expect a server-side error response until MAYO fixes it.

get_monthly_labor_insuranceB

Get the monthly labor insurance (勞保) detail list for an insurance unit.

KNOWN ISSUE: This endpoint is marked as failing upstream in MAYO's own Postman collection. Expect a server-side error response until MAYO fixes it.

get_monthly_nhiA

Get the monthly National Health Insurance (健保) detail list for a unit.

KNOWN ISSUE: This endpoint is marked as failing upstream in MAYO's own Postman collection. Expect a server-side error response until MAYO fixes it.

get_monthly_labor_pensionA

Get the monthly labor pension (勞退) detail list for a unit.

KNOWN ISSUE: This endpoint is marked as failing upstream in MAYO's own Postman collection. Expect a server-side error response until MAYO fixes it.

get_salary_insurance_detailA

Get per-employee salary insurance contribution detail for a given date.

get_salary_bonus_listA

Get the salary and bonus distribution roster across a month range.

Accepts ISO-style YYYY-MM input (or a full YYYY-MM-DD, which is truncated to its month) and sends MAYO's expected YYYY/MM format internally.

get_employee_profileA

Aggregate one employee's master, work history, and education into a single profile.

Calls PA (filtered by employee_number) plus the company-wide Working and Education exports, then filters the latter two down to the target employee. Useful when an assistant needs a complete picture without having to call three raw tools and join the results.

get_organization_snapshot_as_ofA

Capture the organization tree and active headcount as of a specific date.

Combines organization_tree (OrgData) with active_employees (ActiveEmployeeData) so one call returns both the org hierarchy and the people staffed against it on that day.

KNOWN ISSUE: Both underlying Report Center routes currently 404 on the PRE Foundation backend. This composite tool will light up once MAYO redeploys those endpoints.

get_attendance_summaryA

Build a consolidated attendance picture for a date range.

Fans out to attendance_history plus optional attendance_abnormal, overtime_records, and leave_history, returning each section under a dedicated key.

search_active_employeesB

List active employees as of a date, defaulting to today when as_of_date is omitted.

KNOWN ISSUE: Wraps /ClientOut/ReportCenter/ActiveEmployeeData, which currently returns 404 on the PRE Foundation backend.

get_monthly_payroll_reportA

Get the salary and bonus distribution roster for a single month.

Accepts ISO YYYY-MM (or YYYY-MM-DD, truncated) and converts to MAYO's required YYYY/MM format. Use the raw get_salary_bonus_list tool when you need a multi-month range.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/asgard-ai-platform/mcp-mayo'

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