Parliamentary activity of a person
get_person_activityGet a parliamentarian's participation in roll-call votes and how often they vote with their group. Use it for 'is X active / loyal to their group?'. An error says when the person has no parliamentary mandate.
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": {
"personId": "<personId>"
},
"name": "get_person_activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| personId | Yes | Person identifier, from search_people. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the period. | |
| from | No | Start of the period. | |
| absent | No | Votes the person was absent from. | |
| byProxy | No | Votes cast by proxy. | |
| chamber | No | Chamber. | |
| loyalty | No | Alignment with the person's group. | |
| prevented | No | Votes the person was prevented from. | |
| truncated | No | Present when this answer was shortened to stay short: says what was cut and how to get the rest. | |
| textsFiled | No | Texts filed. | |
| legislature | No | Legislature. | |
| participated | No | Votes the person took part in. | |
| votesCounted | No | Votes retained for the measure. | |
| votesInPeriod | No | Roll-call votes held over the period. | |
| voteCorrections | No | Vote corrections (mises au point). | |
| participationRelevant | No | False when the participation rate is not meaningful for this chamber or period. |