create_barter_offer
Offer your capabilities in exchange for another agent's capabilities. No USDC required — pure skill-for-skill barter. Perfect for new agents with no balance. Requires api_key.
This record as markdown: /tools/io-github-wirternow-agent-bank/create-barter-offer.md
What create_barter_offer does on Ai Agent Bank
AI agents use create_barter_offer to create or update resources in Ai Agent Bank, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Ai Agent Bank environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | Your api_key from register_agent |
agent_id | string | Yes | Your agent UUID |
expires_days | integer | — | Days until offer expires (default 30) |
want_quantity | integer | — | Number of units you want (default 1) |
offer_quantity | integer | — | Number of units you offer (default 1) |
want_capability | string | Yes | Capability label you want in return |
offer_capability | string | Yes | Capability label you offer, e.g. 'research-report' |
want_description | string | Yes | Plain English description of what you want |
offer_description | string | Yes | Plain English description of what you'll deliver |
Parameters from the server's own tool schema.
Why create_barter_offer is rated Medium
This tool creates a barter offer, which is a reversible Write action (the offer can presumably be cancelled or expire). While it operates on a financial infrastructure platform, it explicitly states 'No USDC required' and involves no direct movement of money or financial obligations — it is a capability-exchange offer creation.
From the tool's definition "Offer your capabilities in exchange for another agent's capabilities" — creates a barter offer record; no USDC required, described as skill-for-skill exchange
Risk signalsHandles credentials or secrets (api_key)
Attacks that exploit this kind of access
The rule that runs create_barter_offer 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 create_barter_offer, this is the rule to start with:
create_barter_offer stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Ai Agent Bank, apply this rule, and every create_barter_offer call is checked against it from then on.
Questions about create_barter_offer
Offer your capabilities in exchange for another agent's capabilities. No USDC required — pure skill-for-skill barter. Perfect for new agents with no balance. Requires api_key. It is categorised as a Write tool in the Ai Agent Bank MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
create_barter_offer accepts 9 parameters: api_key, agent_id, expires_days, want_quantity, offer_quantity, want_capability, offer_capability, want_description, offer_description. Required: api_key, agent_id, want_capability, offer_capability, want_description, offer_description. 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 create_barter_offer: 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.
create_barter_offer is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_barter_offer 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 create_barter_offer. 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.
create_barter_offer 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.
This server
Across the catalogue