Convenia MCP by usefulapi
Read employees, absences, vacations, departments, cost centers and payroll runs in Convenia.
Should I use this
Quality & Safety
Findings (6)
- LOWin convenia_list_dismissed_employees
- LOWin convenia_list_employee_absences
- LOWin convenia_list_employee_dependents
- LOWin convenia_list_employee_salary_history
- LOWin convenia_list_employee_vacation_periods
- LOWin convenia_list_employee_vacation_requests
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"convenia": {
"url": "https://convenia.usefulapi.io/mcp"
}
}
}Remote endpoints
https://convenia.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (20)
π’convenia_get_token_permissions
Show the name of this integration token and the endpoints and fields it may read. Call this first to see what data is available. Convenia API: GET /api/v3/tokens/permissions.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_employees(match, different, page, paginate)
List active employees with contract, department and job data, filtered with match or different. Good first call to find an employee id. Only the fields the integration token may read are returned: salary, document and bank data need their own permission on the token. Convenia API: GET /api/v3/employees.
Input Schema
{
"type": "object",
"properties": {
"match": {
"description": "Exact-match filters: field name to comma-separated values, for example {\"hiring_date\": \"2020-09-09,2020-09-10\"}. Use NULL to match empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"different": {
"description": "Exclusion filters: field name to comma-separated values to leave out, for example {\"status\": \"Inativo\"}. Use NULL for empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_dismissed_employees(from_date, to_date, page, paginate)
List employees whose contract ended, with dismissal date, type and step. Filter by from_date and to_date (yyyy-mm-dd). Only the fields the integration token may read are returned: salary, document and bank data need their own permission on the token. Convenia API: GET /api/v3/employees/dismissed.
Input Schema
{
"type": "object",
"properties": {
"from_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_get_employee(employee_id)
Get one employee by id, with contract and personal data the token may read. Only the fields the integration token may read are returned: salary, document and bank data need their own permission on the token. Convenia API: GET /api/v3/employees/{ColaboradorID}.
Input Schema
{
"type": "object",
"properties": {
"employee_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Employee id (UUID) from convenia_list_employees (for example 2e6c8997-3237-4868-a7f0-ddecf7d79777)."
}
},
"required": [
"employee_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_employee_absences(employee_id)
List absences and leaves (faltas e afastamentos) of one employee. Use convenia_list_absence_motives for the reason codes. Convenia API: GET /api/v3/employees/{ColaboradorID}/absences.
Input Schema
{
"type": "object",
"properties": {
"employee_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Employee id (UUID) from convenia_list_employees (for example 2e6c8997-3237-4868-a7f0-ddecf7d79777)."
}
},
"required": [
"employee_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_employee_dependents(employee_id)
List the dependents recorded for one employee. Only the fields the integration token may read are returned: salary, document and bank data need their own permission on the token. Convenia API: GET /api/v3/employees/{ColaboradorID}/dependents.
Input Schema
{
"type": "object",
"properties": {
"employee_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Employee id (UUID) from convenia_list_employees (for example 2e6c8997-3237-4868-a7f0-ddecf7d79777)."
}
},
"required": [
"employee_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_employee_salary_history(employee_id)
List the salary history of one employee, with each change and its date. Salary data needs its own permission on the token. Convenia API: GET /api/v3/employees/{ColaboradorID}/salaries-historic.
Input Schema
{
"type": "object",
"properties": {
"employee_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Employee id (UUID) from convenia_list_employees (for example 2e6c8997-3237-4868-a7f0-ddecf7d79777)."
}
},
"required": [
"employee_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_employee_vacation_periods(employee_id, match, different, page, paginate)
List the vacation accrual periods (perΓodos aquisitivos) of one employee. Convenia API: GET /api/v3/employees/{ColaboradorID}/vacations/periods.
Input Schema
{
"type": "object",
"properties": {
"employee_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Employee id (UUID) from convenia_list_employees (for example 2e6c8997-3237-4868-a7f0-ddecf7d79777)."
},
"match": {
"description": "Exact-match filters: field name to comma-separated values, for example {\"hiring_date\": \"2020-09-09,2020-09-10\"}. Use NULL to match empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"different": {
"description": "Exclusion filters: field name to comma-separated values to leave out, for example {\"status\": \"Inativo\"}. Use NULL for empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"required": [
"employee_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_employee_vacation_requests(employee_id, match, different, page, paginate)
List the vacation requests (solicitaΓ§Γ΅es de fΓ©rias) of one employee. Convenia API: GET /api/v3/employees/{ColaboradorID}/vacations/solicitations.
Input Schema
{
"type": "object",
"properties": {
"employee_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Employee id (UUID) from convenia_list_employees (for example 2e6c8997-3237-4868-a7f0-ddecf7d79777)."
},
"match": {
"description": "Exact-match filters: field name to comma-separated values, for example {\"hiring_date\": \"2020-09-09,2020-09-10\"}. Use NULL to match empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"different": {
"description": "Exclusion filters: field name to comma-separated values to leave out, for example {\"status\": \"Inativo\"}. Use NULL for empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"required": [
"employee_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_employee_changes(employee_id, match, different, page, paginate)
List the profile changes recorded for one employee (who changed what, and when). Convenia API: GET /api/v3/employees/{ColaboradorID}/change-histories.
Input Schema
{
"type": "object",
"properties": {
"employee_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Employee id (UUID) from convenia_list_employees (for example 2e6c8997-3237-4868-a7f0-ddecf7d79777)."
},
"match": {
"description": "Exact-match filters: field name to comma-separated values, for example {\"hiring_date\": \"2020-09-09,2020-09-10\"}. Use NULL to match empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"different": {
"description": "Exclusion filters: field name to comma-separated values to leave out, for example {\"status\": \"Inativo\"}. Use NULL for empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"required": [
"employee_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_absence_motives
List the reason codes used for absences and leaves. This list is public in Convenia. Convenia API: GET /api/v3/employees/absences/motives.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_departments
List the departments of the company, with their ids. Convenia API: GET /api/v3/companies/departments.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_jobs
List the job positions (cargos) of the company, with their ids. Convenia API: GET /api/v3/companies/jobs.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_cost_centers
List the cost centers (centros de custo) of the company, with their ids. Convenia API: GET /api/v3/companies/cost-centers.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_payrolls(match, different, page, paginate)
List the payroll runs (folhas) of the company, filtered with match or different. Payroll data needs its own permission on the token. Convenia API: GET /api/v3/payrolls.
Input Schema
{
"type": "object",
"properties": {
"match": {
"description": "Exact-match filters: field name to comma-separated values, for example {\"hiring_date\": \"2020-09-09,2020-09-10\"}. Use NULL to match empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"different": {
"description": "Exclusion filters: field name to comma-separated values to leave out, for example {\"status\": \"Inativo\"}. Use NULL for empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_get_payroll(payroll_id)
Get one payroll run by id. Payroll data needs its own permission on the token. Convenia API: GET /api/v3/payrolls/{FolhaID}.
Input Schema
{
"type": "object",
"properties": {
"payroll_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Payroll id from convenia_list_payrolls (for example 01a15571-91c3-7380-ac89-4360229df27e)."
}
},
"required": [
"payroll_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_payroll_entries(payroll_id, match, different, page, paginate)
List the entries (lanΓ§amentos) of one payroll run, filtered with match or different. Payroll data needs its own permission on the token. Convenia API: GET /api/v3/payrolls/{FolhaID}/entries.
Input Schema
{
"type": "object",
"properties": {
"payroll_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Payroll id from convenia_list_payrolls (for example 01a15571-91c3-7380-ac89-4360229df27e)."
},
"match": {
"description": "Exact-match filters: field name to comma-separated values, for example {\"hiring_date\": \"2020-09-09,2020-09-10\"}. Use NULL to match empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"different": {
"description": "Exclusion filters: field name to comma-separated values to leave out, for example {\"status\": \"Inativo\"}. Use NULL for empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"required": [
"payroll_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_payroll_events(payroll_id, match, different, page, paginate)
List the payroll events (eventos de folha) of one payroll run. Payroll data needs its own permission on the token. Convenia API: GET /api/v3/payrolls/{FolhaID}/events.
Input Schema
{
"type": "object",
"properties": {
"payroll_id": {
"type": "string",
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
"description": "Payroll id from convenia_list_payrolls (for example 01a15571-91c3-7380-ac89-4360229df27e)."
},
"match": {
"description": "Exact-match filters: field name to comma-separated values, for example {\"hiring_date\": \"2020-09-09,2020-09-10\"}. Use NULL to match empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"different": {
"description": "Exclusion filters: field name to comma-separated values to leave out, for example {\"status\": \"Inativo\"}. Use NULL for empty values.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
},
"page": {
"description": "Page number (the list endpoints page their results).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"paginate": {
"description": "Results per page, for example 200.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000
}
},
"required": [
"payroll_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_states
List the Brazilian states (UF) with their ids. Convenia API: GET /api/v3/states.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}π’convenia_list_cities(state_id, state_abbreviation)
List the cities of one state. Give state_id (from convenia_list_states) or the state abbreviation (for example SP). Convenia API: GET /api/v3/cities.
Input Schema
{
"type": "object",
"properties": {
"state_id": {
"description": "State id from convenia_list_states (a number or numeric text).",
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "string",
"pattern": "^\\d+$"
}
]
},
"state_abbreviation": {
"description": "State abbreviation (UF), for example SP.",
"type": "string",
"minLength": 2,
"maxLength": 2
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence