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"
]
}社群
證據