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"
}社区
证据