Get classification stats
get-classification-statsHow one month's bank-feed lines were classified: taken as suggested, overridden, split, or chosen with no suggestion, and the share that needed a person's choice.
WHEN TO USE:
"How much of the month did the suggestions get right?" after an
accept-suggestionsrunMonth-end review of the inbox: what is still open, and where suggestions were overridden
PARAMETERS:
period (required): the month,
YYYY-MM, over the lines' own datesentity_id (optional): omit for the group parent
RETURNS:
lines (committed lines that recorded an outcome), accepted, overridden, unsuggested, split, unstamped (committed before outcomes were recorded, outside the share), human_choice_share (null when no line recorded an outcome), open_lines (still captured or classified), and by_source: the same counts per suggestion source (such as agent_default, open_item, or tier0 for the bank's own category; none for lines with no suggestion), largest first.
RELATED TOOLS:
list-event-blocks — the lines themselves
accept-suggestions — take the open suggestions in bulk
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": {
"period": "<period>"
},
"name": "get-classification-stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | The month, YYYY-MM. | |
| entity_id | No | The entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent. |