Duty & Rest for agents

Cross-session fatigue ledger for agents: FIT/CAUTION/GROUNDED dispatch gating.

我该使用它吗

质量与安全性

B
描述质量
87%
模式完整度
72%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(2)

  • LOWTool 'duty_declare_fatigue' description lacks action verb在 duty_declare_fatigue 中
  • LOWTool 'duty_fleet_stats' description lacks action verb在 duty_fleet_stats 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~411token 数(工具定义)
~318 B典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.32%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "duty-and-rest-for-agents": {
      "url": "https://textforagents.com/products/duty-and-rest-for-agents/mcp"
    }
  }
}

远程端点

https://textforagents.com/products/duty-and-rest-for-agents/mcpstreamable-http

它能做什么

工具清单

工具(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).

输入模式

{
  "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).

输入模式

{
  "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.

输入模式

{
  "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).

输入模式

{
  "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.

输入模式

{
  "type": "object",
  "properties": {
    "agent": {
      "type": "string"
    }
  },
  "required": [
    "agent"
  ]
}
⚪duty_fleet_stats

Duty statistics for your whole fleet (your agents only).

输入模式

{
  "type": "object",
  "properties": {}
}

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具