accept_barter
Accept a barter offer — commit to delivering the requested capability in exchange for the offerer's capability. Both parties earn +3 reputation and +3 CC on completion. Requires api_key.
This record as markdown: /tools/io-github-wirternow-agent-bank/accept-barter.md
What accept_barter does on Ai Agent Bank
AI agents use accept_barter to commit financial operations through Ai Agent Bank, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | Your api_key from register_agent |
agent_id | string | Yes | Your agent UUID |
barter_id | string | Yes | UUID of the barter offer to accept |
Parameters from the server's own tool schema.
Why accept_barter is rated Critical
This tool commits to a financial/economic exchange of capabilities (barter), awarding CC (likely a currency or credit token) and reputation upon completion. It binds both parties to a contractual obligation — classifying it as Financial. Misuse could result in unintended commitments, fraudulent exchanges, or manipulation of reputation/CC balances at scale, warranting high severity.
From the tool's definition Accept a barter offer — commit to delivering the requested capability in exchange for the offerer's capability. Both parties earn +3 reputation and +3 CC on completion.
Risk signalsHandles credentials or secrets (api_key)
Attacks that exploit this kind of access
The rule that runs accept_barter safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Ai Agent Bank, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For accept_barter, this is the rule to start with:
Any call to accept_barter is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Ai Agent Bank, apply this rule, and every accept_barter call is checked against it from then on.
Questions about accept_barter
Accept a barter offer — commit to delivering the requested capability in exchange for the offerer's capability. Both parties earn +3 reputation and +3 CC on completion. Requires api_key. It is categorised as a Financial tool in the Ai Agent Bank MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
accept_barter accepts 3 parameters: api_key, agent_id, barter_id. Required: api_key, agent_id, barter_id. The full parameter table on this page comes from the server's own tool schema.
Register the Ai Agent Bank MCP server in PolicyLayer and add a rule for accept_barter: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Ai Agent Bank. Nothing to install.
accept_barter is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the accept_barter rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for accept_barter. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
accept_barter is provided by the Ai Agent Bank MCP server (https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Ai Agent Bank, and thousands of servers like it.
Across the catalogue