Skip to main content
Glama

SmartHR MCP by usefulapi

smarthr_list_employees

Read-only

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.

Input Schema

NameRequiredDescriptionDefault
qNoFree-text search over name, business name, department name and position name.
idNoEmployee id(s), comma separated.
pageNoPage number, 1-based (default 1). Use next_page from the previous reply.
sortNoSort order: property names, several separated by commas, a leading "-" means descending, e.g. "-updated_at".
fieldsNoWhich 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_idNoUser id(s), comma separated.
emp_codeNoExact employee number.
per_pageNoResults per page, 1-100 (default 50).
emp_statusNoOnly employees with this status.
position_idNoPosition id(s), comma separated (from smarthr_list_positions).
department_idNoDepartment id(s), comma separated (from smarthr_list_departments).
entered_at_toNoHired on or before this day (yyyy-mm-dd).
resigned_at_toNoResigned on or before this day (yyyy-mm-dd).
entered_at_fromNoHired on or after this day (yyyy-mm-dd).
resigned_at_fromNoResigned on or after this day (yyyy-mm-dd).
employment_type_idNoEmployment type id(s), comma separated (from smarthr_list_employment_types).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds genuinely useful behavior: results are compact by default, the `fields` parameter expands them, and sensitive data (bank accounts, insurance numbers, residence cards, salary, ID images) is never returned regardless of request. It stops short of describing pagination or result-size behavior.

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?

Three sentences, front-loaded with what the tool does and immediately followed by the return-shape and sensitivity notes. The middle filter enumeration is long and duplicates the schema, but nothing is padded or redundant at the sentence level.

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?

For a 16-parameter read-only list tool with no output schema, the description covers scope, filterable dimensions, default output shape, expansion via `fields`, and the security boundary. Minor gaps remain around pagination behavior and result volume, both partially covered by the schema's page/per_page fields.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all 16 parameters including the fields enum, defaults, and the sensitive-data exclusion. The description's filter list and 'use `fields` for more' largely restate those fields rather than adding syntax or semantics; baseline 3 applies.

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

Purpose4/5

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

States a concrete verb (List) and resource (employees 従業員) scoped to the SmartHR tenant, and enumerates the filter axes (free-text, status, emp_code, type, department, position, date ranges). It does not distinguish itself from the adjacent smarthr_list_users or smarthr_get_employee, so sibling differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: you call it when you want to enumerate employees, and the single explicit routing hint is the internal one 'use `fields` for more'. There is no statement about when to prefer smarthr_get_employee for a single record or how this differs from smarthr_list_users.

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.