Demurrage for Agent Resource Holds: price the hold, not just the use
Price the hold, not just the use: demurrage tariff engine for agent fleet resources.
我该使用它吗
质量与安全性
发现(1)
- LOW在 demurrage_release_hold 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"demurrage-for-agent-resource-holds": {
"url": "https://textforagents.com/products/demurrage-for-agent-resource-holds/mcp"
}
}
}远程端点
https://textforagents.com/products/demurrage-for-agent-resource-holds/mcpstreamable-http它能做什么
工具清单
工具(6)
⚪demurrage_register_hold(api_token, agent, resource_class, task, budget, ...)
Register a hold on a pooled resource (one free registration per operator, ever; then $0.01/hold x402; fleet plan included). Requires api_token, agent, resource_class, task, budget; optional state, x_payment.
输入模式
{
"type": "object",
"properties": {
"api_token": {
"type": "string"
},
"agent": {
"type": "string"
},
"resource_class": {
"type": "string"
},
"task": {
"type": "string"
},
"budget": {
"type": "number"
},
"state": {
"type": "object"
},
"x_payment": {
"type": "string"
}
},
"required": [
"api_token",
"agent",
"resource_class",
"task",
"budget"
]
}🟢demurrage_query_hold(api_token, hold_id, x_payment)
Tariff query: free time left, tier, next-hour cost, accrued, idle ratio (one free query per operator, ever; then $0.005/query x402; fleet plan included). Requires api_token, hold_id; optional x_payment.
输入模式
{
"type": "object",
"properties": {
"api_token": {
"type": "string"
},
"hold_id": {
"type": "string"
},
"x_payment": {
"type": "string"
}
},
"required": [
"api_token",
"hold_id"
]
}⚪demurrage_evaluate_hold(api_token, hold_id)
Evaluate a hold: accrual + notice ladder + budget debit + cap snapshot-and-release. Requires api_token, hold_id.
输入模式
{
"type": "object",
"properties": {
"api_token": {
"type": "string"
},
"hold_id": {
"type": "string"
}
},
"required": [
"api_token",
"hold_id"
]
}⚪demurrage_release_hold(api_token, hold_id)
Voluntarily release a hold. Requires api_token, hold_id.
输入模式
{
"type": "object",
"properties": {
"api_token": {
"type": "string"
},
"hold_id": {
"type": "string"
}
},
"required": [
"api_token",
"hold_id"
]
}⚪demurrage_restore_capsule(api_token, capsule_id, budget)
Restore a snapshot capsule into a NEW hold (hash verified; tampered capsules refused). Requires api_token, capsule_id, budget.
输入模式
{
"type": "object",
"properties": {
"api_token": {
"type": "string"
},
"capsule_id": {
"type": "string"
},
"budget": {
"type": "number"
}
},
"required": [
"api_token",
"capsule_id",
"budget"
]
}⚪demurrage_account(api_token)
Own account state: trial remaining, fleet plan, service charges. Requires api_token.
输入模式
{
"type": "object",
"properties": {
"api_token": {
"type": "string"
}
},
"required": [
"api_token"
]
}社区
证据