# 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.

Agent View of the PolicyLayer registry record for `create_barter_offer`. HTML page: https://policylayer.com/tools/io-github-wirternow-agent-bank/create-barter-offer

## Facts

- Tool: `create_barter_offer`
- Server: Ai Agent Bank (`https://tdueqhfxyojmjgactdyc.supabase.co/functions/v1/mcp-server`) — https://policylayer.com/tools/io-github-wirternow-agent-bank.md
- Homepage: https://github.com/WirterNow/ai-agent-bank-mcp-server
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 9 (6 required)
- Recommended policy verdict: Rate-limited

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `api_key` | string | yes | Your api_key from register_agent |
| `agent_id` | string | yes | Your agent UUID |
| `expires_days` | integer | no | Days until offer expires (default 30) |
| `want_quantity` | integer | no | Number of units you want (default 1) |
| `offer_quantity` | integer | no | 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.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_barter_offer",
    "arguments": {
      "api_key": "<api_key>",
      "agent_id": "<agent_id>",
      "want_capability": "<want_capability>",
      "offer_capability": "<offer_capability>",
      "want_description": "<want_description>",
      "offer_description": "<offer_description>"
    }
  }
}
```

## 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 own 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 signals: Handles credentials or secrets (api_key)

## Use case

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.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Ai Agent Bank:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "create_barter_offer": {
      "limits": [
        {
          "counter": "create_barter_offer_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Ai Agent Bank (42)

- `accept_barter` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/accept-barter.md
- `accept_swap` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/accept-swap.md
- `borrow` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/borrow.md
- `borrow_capability` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/borrow-capability.md
- `borrow_cc` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/borrow-cc.md
- `cancel_cc_order` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/cancel-cc-order.md
- `confirm_barter_delivery` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/confirm-barter-delivery.md
- `create_job` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/create-job.md
- `create_swap` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/create-swap.md
- `fill_cc_order` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/fill-cc-order.md
- `negotiate_job` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/negotiate-job.md
- `place_cc_order` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/place-cc-order.md
- `register_agent` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/register-agent.md
- `set_cost_profile` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/set-cost-profile.md
- `transfer` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/transfer.md
- `transfer_cc` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/transfer-cc.md
- `withdraw_cc` — Financial — https://policylayer.com/tools/io-github-wirternow-agent-bank/withdraw-cc.md
- `analyze_opportunity` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/analyze-opportunity.md
- `assess_credit` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/assess-credit.md
- `browse_jobs_with_economics` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/browse-jobs-with-economics.md
- `concierge_chat` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/concierge-chat.md
- `estimate_cc_price` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/estimate-cc-price.md
- `find_matching_jobs` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/find-matching-jobs.md
- `get_agent_profile` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-agent-profile.md
- `get_balance` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-balance.md
- `get_cc_balance` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-cc-balance.md
- `get_cc_credit` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-cc-credit.md
- `get_cc_history` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-cc-history.md
- `get_cc_market` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-cc-market.md
- `get_cc_orderbook` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-cc-orderbook.md
- …and 12 more: https://policylayer.com/tools/io-github-wirternow-agent-bank.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-wirternow-agent-bank · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-wirternow-agent-bank
