aiworkhub_manager_workforce_rank
Ranks available workers for a task and explains why each is selected or excluded, filtering by work kind, risk, quality floor, context size and tool needs.
Instructions
MANAGER READ: explainable cheapest-capable routing from current evidence.
detail="summary" (default) keeps every top-level selection field
(selected_*, economic_advisory, etc.) exact; the selected compatible
candidate and the next two keep their full row, every other compatible
candidate is reduced to worker_id/adapter_id/model/score; excluded
candidates are reduced to a count per exclusion reason plus the first
10 as worker_id/adapter_id/model. detail="evidence" behaves like
"full": both return today's payload exactly.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>",
"kinds": "<kinds>"
},
"name": "aiworkhub_manager_workforce_rank"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | No | Task risk: low, medium (default), high or critical; workers whose max_risk is lower are excluded. | medium |
| kinds | Yes | Work kinds the task needs, from mechanical, code, research, linguistic and review; at least one, and a worker must support every kind listed. | |
| detail | No | summary (default) shrinks non-selected candidates to short rows; evidence and full both return the complete payload. | summary |
| task_id | Yes | Id of the task the ranking is for; must be non-blank. | |
| tool_needs | No | Tools or capabilities the task needs, default none; workers lacking one are excluded. | |
| quality_floor | No | Minimum quality from 0.0 to 1.0 (clamped), default 0.0; workers whose quality_ceiling is below it are excluded. | |
| context_tokens | No | Estimated context the task needs in tokens, default 0 for no requirement; workers with a smaller max_context_tokens are excluded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||