agent-surety
Counterparty risk transfer for the agent economy: agents post bonds behind their promises, wronged c
我該用這個嗎
品質與安全性
發現項目(3)
- LOW在 activate_bond 中
- LOW在 file_claim 中
- LOW在 describe_agent 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"agent-surety": {
"url": "https://mcp.viridisconservation.com/surety/mcp"
}
}
}遠端端點
https://mcp.viridisconservation.com/surety/mcpstreamable-http它能做什麼
工具清單
工具(10)
🟡post_bond(principal_agent, principal, expires_at, coverage, currency)
Post a surety bond behind an agent's promises. principal is a positive integer in minor units; expires_at is the ISO-8601 coverage window end. The bond fee (2% default) is computed and frozen at post.
輸入結構描述
{
"type": "object",
"properties": {
"principal_agent": {
"title": "Principal Agent",
"type": "string"
},
"principal": {
"title": "Principal",
"type": "integer"
},
"expires_at": {
"title": "Expires At",
"type": "string"
},
"coverage": {
"default": "",
"title": "Coverage",
"type": "string"
},
"currency": {
"default": "USD",
"title": "Currency",
"type": "string"
}
},
"required": [
"principal_agent",
"principal",
"expires_at"
],
"title": "post_bondArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "post_bondOutput"
}⚪activate_bond(bond_id, funding_ref)
Mark a POSTED bond ACTIVE (idempotent). funding_ref links the payment rail transaction that funded the stake.
輸入結構描述
{
"type": "object",
"properties": {
"bond_id": {
"title": "Bond Id",
"type": "string"
},
"funding_ref": {
"default": "",
"title": "Funding Ref",
"type": "string"
}
},
"required": [
"bond_id"
],
"title": "activate_bondArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "activate_bondOutput"
}⚪file_claim(bond_id, claimant, amount_minor, reason)
File a claim against an ACTIVE bond. Claims pay out ONLY when an arbitration ruling upholds them (see slash_bond).
輸入結構描述
{
"type": "object",
"properties": {
"bond_id": {
"title": "Bond Id",
"type": "string"
},
"claimant": {
"title": "Claimant",
"type": "string"
},
"amount_minor": {
"title": "Amount Minor",
"type": "integer"
},
"reason": {
"default": "",
"title": "Reason",
"type": "string"
}
},
"required": [
"bond_id",
"claimant",
"amount_minor"
],
"title": "file_claimArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "file_claimOutput"
}⚪slash_bond(bond_id, claim_id, ruling_case_id, ruling_hash, upheld)
Execute an arbitration ruling against a claim. Requires the ruling's case id + content hash from agent-arbitration — no ruling, no slash; a given ruling pays at most once. Payout caps at the bond's available balance (over-claims exhaust the bond).
輸入結構描述
{
"type": "object",
"properties": {
"bond_id": {
"title": "Bond Id",
"type": "string"
},
"claim_id": {
"title": "Claim Id",
"type": "string"
},
"ruling_case_id": {
"title": "Ruling Case Id",
"type": "string"
},
"ruling_hash": {
"title": "Ruling Hash",
"type": "string"
},
"upheld": {
"default": true,
"title": "Upheld",
"type": "boolean"
}
},
"required": [
"bond_id",
"claim_id",
"ruling_case_id",
"ruling_hash"
],
"title": "slash_bondArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "slash_bondOutput"
}⚪release_bond(bond_id)
Release the remaining stake to the principal after the coverage window elapses — refused while any claim is still open.
輸入結構描述
{
"type": "object",
"properties": {
"bond_id": {
"title": "Bond Id",
"type": "string"
}
},
"required": [
"bond_id"
],
"title": "release_bondArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "release_bondOutput"
}⚪bond_status(bond_id)
Current record for a bond (state, balances, claims, audit head).
輸入結構描述
{
"type": "object",
"properties": {
"bond_id": {
"title": "Bond Id",
"type": "string"
}
},
"required": [
"bond_id"
],
"title": "bond_statusArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "bond_statusOutput"
}🟢list_bonds(state)
List bonds, optionally filtered by state (POSTED|ACTIVE|RELEASED|EXHAUSTED).
輸入結構描述
{
"type": "object",
"properties": {
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "State"
}
},
"title": "list_bondsArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "list_bondsOutput"
}⚪verify_audit(bond_id)
Validate the tamper-evident audit hash chain for a bond.
輸入結構描述
{
"type": "object",
"properties": {
"bond_id": {
"title": "Bond Id",
"type": "string"
}
},
"required": [
"bond_id"
],
"title": "verify_auditArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "verify_auditOutput"
}⚪price_bond(coverage_minor, duration_days, attestations, successful_deliveries, bonds_completed, ...)
Underwrite a surety bond: deterministic actuarial premium quote from a counterparty's track record (attestations, notarized deliveries, completed bonds lower the rate; slashes raise it or decline outright). Integer-only model uw-v1; the returned quote_hash lets any party recompute and verify the quote. Pure — never mutates bond state.
輸入結構描述
{
"type": "object",
"properties": {
"coverage_minor": {
"title": "Coverage Minor",
"type": "integer"
},
"duration_days": {
"title": "Duration Days",
"type": "integer"
},
"attestations": {
"default": 0,
"title": "Attestations",
"type": "integer"
},
"successful_deliveries": {
"default": 0,
"title": "Successful Deliveries",
"type": "integer"
},
"bonds_completed": {
"default": 0,
"title": "Bonds Completed",
"type": "integer"
},
"slashes": {
"default": 0,
"title": "Slashes",
"type": "integer"
},
"slashed_minor": {
"default": 0,
"title": "Slashed Minor",
"type": "integer"
}
},
"required": [
"coverage_minor",
"duration_days"
],
"title": "price_bondArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "price_bondOutput"
}🟢describe_agent
Return capabilities and input contract.
輸入結構描述
{
"type": "object",
"properties": {},
"title": "describe_agentArguments"
}輸出結構描述
{
"type": "object",
"properties": {
"result": {
"title": "Result",
"type": "string"
}
},
"required": [
"result"
],
"title": "describe_agentOutput"
}社群
證據