SmartHR MCP by usefulapi is an MCP server published by io.usefulapi, hosted at smarthr.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 23 tools, including smarthr_list_employees, smarthr_get_employee, smarthr_list_dependents, smarthr_list_maternity_childcare_leaves, smarthr_list_departments.
MCP server for SmartHR — employees, departments, dependents and employee invitations.
4,411 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List employees (従業員) of the SmartHR tenant, with filters: free-text name/department/position search, status (employed, absent, retired), employee number, employment type, department, position, hire and resignation date ranges. Returns a compact record per employee; use `fields` for more. Sensitive data (bank accounts, insurance numbers, residence cards, salary, ID images) is never returned.
| Parameter | Type | Description |
|---|---|---|
| q | string | Free-text search over name, business name, department name and position name. |
| id | string | Employee id(s), comma separated. |
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| sort | string | Sort order: property names, several separated by commas, a leading "-" means descending, e.g. "-updated_at". |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| fields | array | Which employee fields to return (default: names, status, email, departments, positions, grade, job category, dates). Add address, tel_number, birth_at, custom_fields, contract_* and so on when needed. Bank, insurance, tax, salary and ID-document data are never available. |
| user_id | string | User id(s), comma separated. |
| emp_code | string | Exact employee number. |
| per_page | integer | Results per page, 1-100 (default 50). |
| emp_status | string | Only employees with this status. |
| position_id | string | Position id(s), comma separated (from smarthr_list_positions). |
| department_id | string | Department id(s), comma separated (from smarthr_list_departments). |
| entered_at_to | string | Hired on or before this day (yyyy-mm-dd). |
| resigned_at_to | string | Resigned on or before this day (yyyy-mm-dd). |
| entered_at_from | string | Hired on or after this day (yyyy-mm-dd). |
| resigned_at_from | string | Resigned on or after this day (yyyy-mm-dd). |
| employment_type_id | string | Employment type id(s), comma separated (from smarthr_list_employment_types). |
{
"name": "smarthr_list_employees",
"description": "List employees (従業員) of the SmartHR tenant, with filters: free-text name/department/position search, status (employed, absent, retired), employee number, employment type, department, position, hire and resignation date ranges. Returns a compact record per employee; use `fields` for more. Sensitive data (bank accounts, insurance numbers, residence cards, salary, ID images) is never returned.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"maxLength": 500,
"description": "Free-text search over name, business name, department name and position name."
},
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+(,[A-Za-z0-9_-]+)*$",
"description": "Employee id(s), comma separated."
},
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"sort": {
"type": "string",
"pattern": "^-?[a-z_]+(,-?[a-z_]+)*$",
"description": "Sort order: property names, several separated by commas, a leading \"-\" means descending, e.g. \"-updated_at\"."
},
"fields": {
"type": "array",
"items": {
"enum": [
"id",
"user_id",
"biz_establishment_id",
"emp_code",
"emp_type",
"employment_type",
"emp_status",
"last_name",
"first_name",
"last_name_yomi",
"first_name_yomi",
"business_last_name",
"business_first_name",
"business_last_name_yomi",
"business_first_name_yomi",
"preferred_last_name",
"preferred_first_name",
"preferred_last_name_yomi",
"preferred_first_name_yomi",
"birth_at",
"gender",
"tel_number",
"address",
"email",
"emergency_relation_name",
"emergency_last_name",
"emergency_first_name",
"emergency_tel_number",
"position",
"positions",
"grade",
"job_category",
"occupation",
"entered_at",
"resigned_at",
"resigned_reason",
"recruitment_type",
"department",
"departments",
"contract_type",
"contract_start_on",
"contract_end_on",
"contract_renewal_type",
"nationality_code",
"custom_fields",
"created_at",
"updated_at"
],
"type": "string"
},
"maxItems": 47,
"description": "Which employee fields to return (default: names, status, email, departments, positions, grade, job category, dates). Add address, tel_number, birth_at, custom_fields, contract_* and so on when needed. Bank, insurance, tax, salary and ID-document data are never available."
},
"user_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+(,[A-Za-z0-9_-]+)*$",
"description": "User id(s), comma separated."
},
"emp_code": {
"type": "string",
"maxLength": 500,
"description": "Exact employee number."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
},
"emp_status": {
"enum": [
"employed",
"absent",
"retired"
],
"type": "string",
"description": "Only employees with this status."
},
"position_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+(,[A-Za-z0-9_-]+)*$",
"description": "Position id(s), comma separated (from smarthr_list_positions)."
},
"department_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+(,[A-Za-z0-9_-]+)*$",
"description": "Department id(s), comma separated (from smarthr_list_departments)."
},
"entered_at_to": {
"type": "string",
"description": "Hired on or before this day (yyyy-mm-dd)."
},
"resigned_at_to": {
"type": "string",
"description": "Resigned on or before this day (yyyy-mm-dd)."
},
"entered_at_from": {
"type": "string",
"description": "Hired on or after this day (yyyy-mm-dd)."
},
"resigned_at_from": {
"type": "string",
"description": "Resigned on or after this day (yyyy-mm-dd)."
},
"employment_type_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+(,[A-Za-z0-9_-]+)*$",
"description": "Employment type id(s), comma separated (from smarthr_list_employment_types)."
}
}
},
"annotations": {
"title": "List employees",
"readOnlyHint": true
}
}Get one employee (従業員) by id. Returns a compact record; use `fields` for more (address, phone, birth date, custom fields, contract dates). Sensitive data is never returned.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Employee id (from smarthr_list_employees). |
| fields | array | Which employee fields to return (default: names, status, email, departments, positions, grade, job category, dates). Add address, tel_number, birth_at, custom_fields, contract_* and so on when needed. Bank, insurance, tax, salary and ID-document data are never available. |
{
"name": "smarthr_get_employee",
"description": "Get one employee (従業員) by id. Returns a compact record; use `fields` for more (address, phone, birth date, custom fields, contract dates). Sensitive data is never returned.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee id (from smarthr_list_employees)."
},
"fields": {
"type": "array",
"items": {
"enum": [
"id",
"user_id",
"biz_establishment_id",
"emp_code",
"emp_type",
"employment_type",
"emp_status",
"last_name",
"first_name",
"last_name_yomi",
"first_name_yomi",
"business_last_name",
"business_first_name",
"business_last_name_yomi",
"business_first_name_yomi",
"preferred_last_name",
"preferred_first_name",
"preferred_last_name_yomi",
"preferred_first_name_yomi",
"birth_at",
"gender",
"tel_number",
"address",
"email",
"emergency_relation_name",
"emergency_last_name",
"emergency_first_name",
"emergency_tel_number",
"position",
"positions",
"grade",
"job_category",
"occupation",
"entered_at",
"resigned_at",
"resigned_reason",
"recruitment_type",
"department",
"departments",
"contract_type",
"contract_start_on",
"contract_end_on",
"contract_renewal_type",
"nationality_code",
"custom_fields",
"created_at",
"updated_at"
],
"type": "string"
},
"maxItems": 47,
"description": "Which employee fields to return (default: names, status, email, departments, positions, grade, job category, dates). Add address, tel_number, birth_at, custom_fields, contract_* and so on when needed. Bank, insurance, tax, salary and ID-document data are never available."
}
}
},
"annotations": {
"title": "Get an employee",
"readOnlyHint": true
}
}List the dependents (家族情報) registered for one employee: name, relation, birth date, living arrangement and support status. Pension numbers, income and documents are not returned.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
| employee_id * | string | Employee id (from smarthr_list_employees). |
{
"name": "smarthr_list_dependents",
"description": "List the dependents (家族情報) registered for one employee: name, relation, birth date, living arrangement and support status. Pension numbers, income and documents are not returned.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"employee_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
},
"employee_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee id (from smarthr_list_employees)."
}
}
},
"annotations": {
"title": "List an employee's dependents",
"readOnlyHint": true
}
}List the maternity and childcare leave records (産休育休) of one employee: expected birth, leave start/end and scheduled return dates. Bank, insurance and memo data are not returned.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
| employee_id * | string | Employee id (from smarthr_list_employees). |
{
"name": "smarthr_list_maternity_childcare_leaves",
"description": "List the maternity and childcare leave records (産休育休) of one employee: expected birth, leave start/end and scheduled return dates. Bank, insurance and memo data are not returned.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"employee_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
},
"employee_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee id (from smarthr_list_employees)."
}
}
},
"annotations": {
"title": "List an employee's maternity and childcare leaves",
"readOnlyHint": true
}
}List departments (部署) with their hierarchy (parent, children), code and company.
| Parameter | Type | Description |
|---|---|---|
| code | string | Exact department code. |
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| sort | string | Sort order: property names, several separated by commas, a leading "-" means descending, e.g. "-updated_at". |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_departments",
"description": "List departments (部署) with their hierarchy (parent, children), code and company.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"code": {
"type": "string",
"maxLength": 500,
"description": "Exact department code."
},
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"sort": {
"type": "string",
"pattern": "^-?[a-z_]+(,-?[a-z_]+)*$",
"description": "Sort order: property names, several separated by commas, a leading \"-\" means descending, e.g. \"-updated_at\"."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List departments",
"readOnlyHint": true
}
}Get one department (部署) by id, with its parent and children.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Department id (from smarthr_list_departments). |
{
"name": "smarthr_get_department",
"description": "Get one department (部署) by id, with its parent and children.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Department id (from smarthr_list_departments)."
}
}
},
"annotations": {
"title": "Get a department",
"readOnlyHint": true
}
}List positions / job titles (役職) with their rank and code.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| sort | string | Sort order: property names, several separated by commas, a leading "-" means descending, e.g. "-updated_at". |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_positions",
"description": "List positions / job titles (役職) with their rank and code.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"sort": {
"type": "string",
"pattern": "^-?[a-z_]+(,-?[a-z_]+)*$",
"description": "Sort order: property names, several separated by commas, a leading \"-\" means descending, e.g. \"-updated_at\"."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List positions",
"readOnlyHint": true
}
}List employment types (雇用形態), e.g. full-timer, part-timer, contract worker, with their ids for filtering and writes.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_employment_types",
"description": "List employment types (雇用形態), e.g. full-timer, part-timer, contract worker, with their ids for filtering and writes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List employment types",
"readOnlyHint": true
}
}List grades (等級) with their rank.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_grades",
"description": "List grades (等級) with their rank.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List grades",
"readOnlyHint": true
}
}List job categories (職種).
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_job_categories",
"description": "List job categories (職種).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List job categories",
"readOnlyHint": true
}
}List the companies (会社) of the tenant: name, code, corporate number, address, phone.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_companies",
"description": "List the companies (会社) of the tenant: name, code, corporate number, address, phone.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List companies",
"readOnlyHint": true
}
}List business establishments (事業所): name, social insurance and labor insurance registration data, company.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| embed | string | Embed the related object instead of only its id. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_business_establishments",
"description": "List business establishments (事業所): name, social insurance and labor insurance registration data, company.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"embed": {
"enum": [
"soc_ins_owner",
"lab_ins_owner",
"company"
],
"type": "string",
"description": "Embed the related object instead of only its id."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List business establishments",
"readOnlyHint": true
}
}List the definitions of the tenant's custom employee fields (カスタム従業員項目): name, type and, for dropdowns, the choices. Use them to read the values in custom_fields.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| embed | string | Embed the custom field group instead of only its id. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_employee_custom_fields",
"description": "List the definitions of the tenant's custom employee fields (カスタム従業員項目): name, type and, for dropdowns, the choices. Use them to read the values in custom_fields.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"embed": {
"enum": [
"group"
],
"type": "string",
"description": "Embed the custom field group instead of only its id."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List employee custom field definitions",
"readOnlyHint": true
}
}List the relation types for dependents (続柄: spouse, child, parent...) with their ids, needed by smarthr_create_dependent.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_dependent_relations",
"description": "List the relation types for dependents (続柄: spouse, child, parent...) with their ids, needed by smarthr_create_dependent.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List dependent relations",
"readOnlyHint": true
}
}List SmartHR users (login accounts): email, administrator flag, role, linked employee, and the invitation status (created, opened, accepted, answered). Use it to find the administrator id for smarthr_invite_employee.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| sort | string | Sort order: property names, several separated by commas, a leading "-" means descending, e.g. "-updated_at". |
| embed | string | Embed the related object instead of only its id. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_users",
"description": "List SmartHR users (login accounts): email, administrator flag, role, linked employee, and the invitation status (created, opened, accepted, answered). Use it to find the administrator id for smarthr_invite_employee.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"sort": {
"type": "string",
"pattern": "^-?[a-z_]+(,-?[a-z_]+)*$",
"description": "Sort order: property names, several separated by commas, a leading \"-\" means descending, e.g. \"-updated_at\"."
},
"embed": {
"enum": [
"crew",
"biz_establishment",
"biz_establishment_company",
"department_company"
],
"type": "string",
"description": "Embed the related object instead of only its id."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List users",
"readOnlyHint": true
}
}List the employee information collection forms (従業員情報収集フォーム) that an invitation can use.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_employee_input_forms",
"description": "List the employee information collection forms (従業員情報収集フォーム) that an invitation can use.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List employee input forms",
"readOnlyHint": true
}
}List the configured webhooks (target URL, which employee and dependent events notify). Read-only; secret tokens and the query string of the target URL are never shown.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
| per_page | integer | Results per page, 1-100 (default 50). |
{
"name": "smarthr_list_webhooks",
"description": "List the configured webhooks (target URL, which employee and dependent events notify). Read-only; secret tokens and the query string of the target URL are never shown.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "Page number, 1-based (default 1). Use next_page from the previous reply."
},
"per_page": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Results per page, 1-100 (default 50)."
}
}
},
"annotations": {
"title": "List webhooks",
"readOnlyHint": true
}
}WRITE: Register a new employee (従業員) in SmartHR. Nothing is sent to the employee; to invite them to fill in their own data use smarthr_invite_employee afterwards. Only the fields you give are set. The tenant plan may cap the number of employees (error plan_limit_exceeded). Returns the created employee as a compact record.
| Parameter | Type | Description |
|---|---|---|
| string | Work or contact email address. | |
| grade | string | Grade name (等級). |
| gender | string | Legal gender (戸籍上の性別): male or female. |
| address | object | Address; the city is required by SmartHR. |
| birth_at | string | Date of birth, yyyy-mm-dd. |
| emp_code | string | Employee number (社員番号). |
| last_name * | string | Family name (required). |
| positions | array | Position (job title) NAMES, e.g. ["部長"]; a name that does not exist yet may be created by SmartHR. |
| emp_status | string | Employment status: employed, absent (on leave) or retired. |
| entered_at | string | Hire date, yyyy-mm-dd. |
| first_name * | string | Given name (required). |
| occupation | string | Job description (業務内容). |
| tel_number | string | Phone number. |
| resigned_at | string | Resignation date, yyyy-mm-dd. |
| job_category | string | Job category name (職種). |
| department_ids | array | Department ids (from smarthr_list_departments); replaces the current departments. |
| last_name_yomi | string | Family name in katakana. |
| first_name_yomi | string | Given name in katakana. |
| resigned_reason | string | Reason for leaving. |
| business_last_name | string | Business name: family name. |
| employment_type_id | string | Employment type id (from smarthr_list_employment_types). |
| business_first_name | string | Business name: given name. |
| biz_establishment_id | string | Business establishment id (from smarthr_list_business_establishments). |
{
"name": "smarthr_create_employee",
"description": "WRITE: Register a new employee (従業員) in SmartHR. Nothing is sent to the employee; to invite them to fill in their own data use smarthr_invite_employee afterwards. Only the fields you give are set. The tenant plan may cap the number of employees (error plan_limit_exceeded). Returns the created employee as a compact record.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"last_name",
"first_name"
],
"properties": {
"email": {
"type": "string",
"maxLength": 254,
"description": "Work or contact email address."
},
"grade": {
"type": "string",
"maxLength": 500,
"description": "Grade name (等級)."
},
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "Legal gender (戸籍上の性別): male or female."
},
"address": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "City / ward."
},
"pref": {
"type": "string",
"maxLength": 50,
"description": "Prefecture, e.g. 東京都."
},
"street": {
"type": "string",
"maxLength": 100,
"description": "Street and block number."
},
"building": {
"type": "string",
"maxLength": 100,
"description": "Building and room."
},
"zip_code": {
"type": "string",
"maxLength": 20,
"description": "Postal code, e.g. 100-0001."
},
"country_number": {
"type": "string",
"maxLength": 5,
"description": "Country code (default Japan)."
}
},
"description": "Address; the city is required by SmartHR."
},
"birth_at": {
"type": "string",
"description": "Date of birth, yyyy-mm-dd."
},
"emp_code": {
"type": "string",
"maxLength": 500,
"description": "Employee number (社員番号)."
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Family name (required)."
},
"positions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 20,
"description": "Position (job title) NAMES, e.g. [\"部長\"]; a name that does not exist yet may be created by SmartHR."
},
"emp_status": {
"enum": [
"employed",
"absent",
"retired"
],
"type": "string",
"description": "Employment status: employed, absent (on leave) or retired."
},
"entered_at": {
"type": "string",
"description": "Hire date, yyyy-mm-dd."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Given name (required)."
},
"occupation": {
"type": "string",
"maxLength": 500,
"description": "Job description (業務内容)."
},
"tel_number": {
"type": "string",
"maxLength": 50,
"description": "Phone number."
},
"resigned_at": {
"type": "string",
"description": "Resignation date, yyyy-mm-dd."
},
"job_category": {
"type": "string",
"maxLength": 500,
"description": "Job category name (職種)."
},
"department_ids": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 20,
"description": "Department ids (from smarthr_list_departments); replaces the current departments."
},
"last_name_yomi": {
"type": "string",
"maxLength": 100,
"description": "Family name in katakana."
},
"first_name_yomi": {
"type": "string",
"maxLength": 100,
"description": "Given name in katakana."
},
"resigned_reason": {
"type": "string",
"maxLength": 500,
"description": "Reason for leaving."
},
"business_last_name": {
"type": "string",
"maxLength": 500,
"description": "Business name: family name."
},
"employment_type_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employment type id (from smarthr_list_employment_types)."
},
"business_first_name": {
"type": "string",
"maxLength": 500,
"description": "Business name: given name."
},
"biz_establishment_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Business establishment id (from smarthr_list_business_establishments)."
}
}
},
"annotations": {
"title": "Create an employee",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: Change fields of one existing employee (partial update: only the fields you give change; others stay). Typical uses: set the status to absent or retired with the resignation date, correct a name, email or phone, move the employee to other departments (department_ids replaces the current list), change positions. SmartHR does not allow clearing a name that is already filled in. Returns the updated employee as a compact record.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Employee id (from smarthr_list_employees). |
| string | Work or contact email address. | |
| grade | string | Grade name (等級). |
| gender | string | Legal gender (戸籍上の性別): male or female. |
| address | object | Address; the city is required by SmartHR. |
| birth_at | string | Date of birth, yyyy-mm-dd. |
| emp_code | string | Employee number (社員番号). |
| last_name | string | Family name (戸籍上の姓). |
| positions | array | Position (job title) NAMES, e.g. ["部長"]; a name that does not exist yet may be created by SmartHR. |
| emp_status | string | Employment status: employed, absent (on leave) or retired. |
| entered_at | string | Hire date, yyyy-mm-dd. |
| first_name | string | Given name (戸籍上の名). |
| occupation | string | Job description (業務内容). |
| tel_number | string | Phone number. |
| resigned_at | string | Resignation date, yyyy-mm-dd. |
| job_category | string | Job category name (職種). |
| department_ids | array | Department ids (from smarthr_list_departments); replaces the current departments. |
| last_name_yomi | string | Family name in katakana. |
| first_name_yomi | string | Given name in katakana. |
| resigned_reason | string | Reason for leaving. |
| business_last_name | string | Business name: family name. |
| employment_type_id | string | Employment type id (from smarthr_list_employment_types). |
| business_first_name | string | Business name: given name. |
| biz_establishment_id | string | Business establishment id (from smarthr_list_business_establishments). |
{
"name": "smarthr_update_employee",
"description": "WRITE: Change fields of one existing employee (partial update: only the fields you give change; others stay). Typical uses: set the status to absent or retired with the resignation date, correct a name, email or phone, move the employee to other departments (department_ids replaces the current list), change positions. SmartHR does not allow clearing a name that is already filled in. Returns the updated employee as a compact record.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee id (from smarthr_list_employees)."
},
"email": {
"type": "string",
"maxLength": 254,
"description": "Work or contact email address."
},
"grade": {
"type": "string",
"maxLength": 500,
"description": "Grade name (等級)."
},
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "Legal gender (戸籍上の性別): male or female."
},
"address": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "City / ward."
},
"pref": {
"type": "string",
"maxLength": 50,
"description": "Prefecture, e.g. 東京都."
},
"street": {
"type": "string",
"maxLength": 100,
"description": "Street and block number."
},
"building": {
"type": "string",
"maxLength": 100,
"description": "Building and room."
},
"zip_code": {
"type": "string",
"maxLength": 20,
"description": "Postal code, e.g. 100-0001."
},
"country_number": {
"type": "string",
"maxLength": 5,
"description": "Country code (default Japan)."
}
},
"description": "Address; the city is required by SmartHR."
},
"birth_at": {
"type": "string",
"description": "Date of birth, yyyy-mm-dd."
},
"emp_code": {
"type": "string",
"maxLength": 500,
"description": "Employee number (社員番号)."
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Family name (戸籍上の姓)."
},
"positions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 20,
"description": "Position (job title) NAMES, e.g. [\"部長\"]; a name that does not exist yet may be created by SmartHR."
},
"emp_status": {
"enum": [
"employed",
"absent",
"retired"
],
"type": "string",
"description": "Employment status: employed, absent (on leave) or retired."
},
"entered_at": {
"type": "string",
"description": "Hire date, yyyy-mm-dd."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Given name (戸籍上の名)."
},
"occupation": {
"type": "string",
"maxLength": 500,
"description": "Job description (業務内容)."
},
"tel_number": {
"type": "string",
"maxLength": 50,
"description": "Phone number."
},
"resigned_at": {
"type": "string",
"description": "Resignation date, yyyy-mm-dd."
},
"job_category": {
"type": "string",
"maxLength": 500,
"description": "Job category name (職種)."
},
"department_ids": {
"type": "array",
"items": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"maxItems": 20,
"description": "Department ids (from smarthr_list_departments); replaces the current departments."
},
"last_name_yomi": {
"type": "string",
"maxLength": 100,
"description": "Family name in katakana."
},
"first_name_yomi": {
"type": "string",
"maxLength": 100,
"description": "Given name in katakana."
},
"resigned_reason": {
"type": "string",
"maxLength": 500,
"description": "Reason for leaving."
},
"business_last_name": {
"type": "string",
"maxLength": 500,
"description": "Business name: family name."
},
"employment_type_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employment type id (from smarthr_list_employment_types)."
},
"business_first_name": {
"type": "string",
"maxLength": 500,
"description": "Business name: given name."
},
"biz_establishment_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Business establishment id (from smarthr_list_business_establishments)."
}
}
},
"annotations": {
"title": "Update an employee",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: Create a department (部署). Give the parent department id to nest it. Returns the created department.
| Parameter | Type | Description |
|---|---|---|
| code | string | Department code. |
| name * | string | Department name (no slash). |
| position | integer | Display order among siblings. |
| parent_id | string | Parent department id (from smarthr_list_departments); omit for a top-level department. |
| company_id | string | Company id (from smarthr_list_companies); needed when the tenant has several companies. |
{
"name": "smarthr_create_department",
"description": "WRITE: Create a department (部署). Give the parent department id to nest it. Returns the created department.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name"
],
"properties": {
"code": {
"type": "string",
"maxLength": 500,
"description": "Department code."
},
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Department name (no slash)."
},
"position": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "Display order among siblings."
},
"parent_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Parent department id (from smarthr_list_departments); omit for a top-level department."
},
"company_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Company id (from smarthr_list_companies); needed when the tenant has several companies."
}
}
},
"annotations": {
"title": "Create a department",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: Rename or move one department (partial update: only the fields you give change). Returns the updated department.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Department id (from smarthr_list_departments). |
| code | string | New code. |
| name | string | New name (no slash). Omit to keep the current name. |
| position | integer | New display order among siblings. |
| parent_id | string | New parent department id. |
{
"name": "smarthr_update_department",
"description": "WRITE: Rename or move one department (partial update: only the fields you give change). Returns the updated department.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Department id (from smarthr_list_departments)."
},
"code": {
"type": "string",
"maxLength": 500,
"description": "New code."
},
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "New name (no slash). Omit to keep the current name."
},
"position": {
"type": "integer",
"maximum": 100000,
"minimum": 0,
"description": "New display order among siblings."
},
"parent_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "New parent department id."
}
}
},
"annotations": {
"title": "Update a department",
"readOnlyHint": false,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE: Register a dependent (家族情報) for an employee. Needs the relation id from smarthr_list_dependent_relations. Returns the created dependent without pension number, income or documents.
| Parameter | Type | Description |
|---|---|---|
| job | string | Occupation. |
| gender * | string | Gender: male or female. |
| address | object | Address; the city is required by SmartHR. |
| birth_at * | string | Date of birth, yyyy-mm-dd. |
| is_spouse | boolean | True for a spouse. |
| last_name * | string | Family name. |
| first_name * | string | Given name. |
| tel_number | string | Phone number. |
| employee_id * | string | Employee id (from smarthr_list_employees). |
| relation_id * | string | Relation id (from smarthr_list_dependent_relations). |
| last_name_yomi | string | Family name in katakana. |
| first_name_yomi | string | Given name in katakana. |
| live_together_type * | string | Living with the employee or separately. |
| tax_law_support_type * | string | Tax-law dependent status (required: SmartHR would otherwise default it to supported). Use unknown when not decided. |
| social_insurance_support_type * | string | Social-insurance dependent status (required: SmartHR would otherwise default it to supported). Use unknown when not decided. |
{
"name": "smarthr_create_dependent",
"description": "WRITE: Register a dependent (家族情報) for an employee. Needs the relation id from smarthr_list_dependent_relations. Returns the created dependent without pension number, income or documents.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"employee_id",
"last_name",
"first_name",
"birth_at",
"gender",
"relation_id",
"live_together_type",
"tax_law_support_type",
"social_insurance_support_type"
],
"properties": {
"job": {
"type": "string",
"maxLength": 500,
"description": "Occupation."
},
"gender": {
"enum": [
"male",
"female"
],
"type": "string",
"description": "Gender: male or female."
},
"address": {
"type": "object",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "City / ward."
},
"pref": {
"type": "string",
"maxLength": 50,
"description": "Prefecture, e.g. 東京都."
},
"street": {
"type": "string",
"maxLength": 100,
"description": "Street and block number."
},
"building": {
"type": "string",
"maxLength": 100,
"description": "Building and room."
},
"zip_code": {
"type": "string",
"maxLength": 20,
"description": "Postal code, e.g. 100-0001."
},
"country_number": {
"type": "string",
"maxLength": 5,
"description": "Country code (default Japan)."
}
},
"description": "Address; the city is required by SmartHR."
},
"birth_at": {
"type": "string",
"description": "Date of birth, yyyy-mm-dd."
},
"is_spouse": {
"type": "boolean",
"description": "True for a spouse."
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Family name."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Given name."
},
"tel_number": {
"type": "string",
"maxLength": 50,
"description": "Phone number."
},
"employee_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee id (from smarthr_list_employees)."
},
"relation_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Relation id (from smarthr_list_dependent_relations)."
},
"last_name_yomi": {
"type": "string",
"maxLength": 100,
"description": "Family name in katakana."
},
"first_name_yomi": {
"type": "string",
"maxLength": 100,
"description": "Given name in katakana."
},
"live_together_type": {
"enum": [
"living_together",
"living_separately"
],
"type": "string",
"description": "Living with the employee or separately."
},
"tax_law_support_type": {
"enum": [
"unsupported",
"unsupported_same_living_spouse",
"supported",
"special_spousal_exemption",
"unknown"
],
"type": "string",
"description": "Tax-law dependent status (required: SmartHR would otherwise default it to supported). Use unknown when not decided."
},
"social_insurance_support_type": {
"enum": [
"unsupported",
"supported",
"unknown"
],
"type": "string",
"description": "Social-insurance dependent status (required: SmartHR would otherwise default it to supported). Use unknown when not decided."
}
}
},
"annotations": {
"title": "Create a dependent",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE, SENDS AN EMAIL: Invite an employee to SmartHR. SmartHR emails the address stored on the employee (the employee must have one) an invitation to create their login and, with an input form, to fill in their own data. Asking again re-sends it (and updates the invited address if it changed). An employee who already accepted cannot be invited again. Confirm with the user before calling.
| Parameter | Type | Description |
|---|---|---|
| id * | string | Employee id (from smarthr_list_employees); the employee needs an email address. |
| inviter_user_id * | string | User id of the inviting administrator (from smarthr_list_users, an administrator). |
| crew_input_form_id | string | Employee information collection form id (from smarthr_list_employee_input_forms); its mail format is used. |
{
"name": "smarthr_invite_employee",
"description": "WRITE, SENDS AN EMAIL: Invite an employee to SmartHR. SmartHR emails the address stored on the employee (the employee must have one) an invitation to create their login and, with an input form, to fill in their own data. Asking again re-sends it (and updates the invited address if it changed). An employee who already accepted cannot be invited again. Confirm with the user before calling.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id",
"inviter_user_id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee id (from smarthr_list_employees); the employee needs an email address."
},
"inviter_user_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "User id of the inviting administrator (from smarthr_list_users, an administrator)."
},
"crew_input_form_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee information collection form id (from smarthr_list_employee_input_forms); its mail format is used."
}
}
},
"annotations": {
"title": "Invite an employee by email",
"readOnlyHint": false,
"idempotentHint": false,
"destructiveHint": true
}
}Tools for SmartHR, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Who joined the company in the last 30 days and which department are they in?"; "List all employees on leave or retired this year."; "How many employees does each department have?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes SmartHR data. Free plan: 50 tool calls per month. Run smarthr_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run smarthr_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run smarthr_upgrade without a plan: it returns both plans, each with a payment link for the user to open. smarthr_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.