Duty & Rest for agents
Cross-session fatigue ledger for agents: FIT/CAUTION/GROUNDED dispatch gating.
Should I use this
Quality & Safety
Findings (2)
- LOWin duty_declare_fatigue
- LOWin duty_fleet_stats
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"duty-and-rest-for-agents": {
"url": "https://textforagents.com/products/duty-and-rest-for-agents/mcp"
}
}
}Remote endpoints
https://textforagents.com/products/duty-and-rest-for-agents/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
⚪duty_record_event(agent, kind, ts, hours)
Record a duty event for one of your agents (kinds: compaction, verification_failure, model_switch, tool_error, work_hour, session_restart).
Input Schema
{
"type": "object",
"properties": {
"agent": {
"type": "string"
},
"kind": {
"type": "string"
},
"ts": {
"type": "number"
},
"hours": {
"type": "number"
}
},
"required": [
"agent",
"kind"
]
}🟢duty_check(agent, task_class, checker)
Duty-state gate decision (FIT/CAUTION/GROUNDED + allowed) for a task class; consequential classes in CAUTION need a FIT non-self checker. Billed per the pricing sheet (trial, then pass ceiling, then $0.002 x402).
Input Schema
{
"type": "object",
"properties": {
"agent": {
"type": "string"
},
"task_class": {
"type": "string"
},
"checker": {
"type": "string"
}
},
"required": [
"agent",
"task_class"
]
}⚪duty_state(agent)
Current duty state and cumulative + rolling loads for one of your agents.
Input Schema
{
"type": "object",
"properties": {
"agent": {
"type": "string"
}
},
"required": [
"agent"
]
}⚪duty_rest(agent, audit_retention)
Rest-credit issuance: credit only on a passed restoration audit (audit_retention >= 0.90).
Input Schema
{
"type": "object",
"properties": {
"agent": {
"type": "string"
},
"audit_retention": {
"type": "number"
}
},
"required": [
"agent",
"audit_retention"
]
}⚪duty_declare_fatigue(agent)
Non-punitive fatigue declaration: grounds the agent until a passed rest; no penalty field.
Input Schema
{
"type": "object",
"properties": {
"agent": {
"type": "string"
}
},
"required": [
"agent"
]
}⚪duty_fleet_stats
Duty statistics for your whole fleet (your agents only).
Input Schema
{
"type": "object",
"properties": {}
}Community
Evidence