search_employees
Find Employees within one Organization and return their Simulation, Training and/or canonical scoring summaries. Employee selection supports IDs or literal name/email text, optionally restricted by group membership and active state; omitted selection filters browse Employees. At least one of insights.simulation, insights.training or insights.scoring is required. An empty object requests that section without additional evidence filters. Simulation summaries include the Simulation score, participation counts, and compromise and report rates. Training summaries include Learner Session completion, success, and overdue counts. Scoring returns the complete canonical score, channel and Training components, badge bonus, inactivity decay, policy and evaluation time. It requires Admin/Owner. Scoring ignores Simulation/Training filters. Opt-in history requires at most five exact IDs, limit at most five, and at most 30 UTC sampled points. Current-only scoring supports the ordinary 50-employee page. Insight filters affect the evidence summarized, not which Employees are selected. Returns one summary per Employee, with pagination, rather than individual Simulation observations or Learner Sessions. Does not discover, filter, or rank Employees by score.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"insights": {
"training": {},
"simulation": {}
},
"employees": {
"query": "ada@example.com"
},
"organization_id": "organization-1"
},
"name": "search_employees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum Employees per page. Preserve this value when continuing a cursor. | |
| cursor | No | Omit or use null for the first page. Otherwise pass next_cursor from the previous response, preserving all other arguments. | |
| insights | Yes | Request simulation, training, scoring, or any combination. At least one section is required; {} alone is invalid. Filters narrow evidence, not Employee selection. | |
| employees | No | Select Employees using current identity, group membership, and active state. Omit to browse all Employees. Evidence filters do not change this selection. | |
| organization_id | Yes | ID of one Organization accessible to the authenticated Member. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | ||
| read_at | Yes | Evidence evaluation cutoff retained across cursor pages. Employee identity, active state, and group membership remain current. | |
| employees | Yes | ||
| request_id | Yes | ||
| next_cursor | Yes | Pass as cursor with unchanged arguments to continue, even if this page has no Employees. Null means the selection is exhausted. | |
| missing_employee_ids | Yes | Requested Employee IDs processed on this page that were not returned. They may be unknown, inaccessible, or excluded by selection filters. Empty when searching without ids. |