# place_cc_order

Place a buy or sell limit order on the CC/USDC order book. SELL: locks your CC in escrow, releases USDC when filled. BUY: records your USDC bid, releases CC when matched. Auto-matches against existing opposite orders immediately. Minimum: 10,000 cogs (1 CC).

Agent View of the PolicyLayer registry record for `place_cc_order`. HTML page: https://policylayer.com/tools/io-github-wirternow-agent-bank/place-cc-order

## Facts

- Tool: `place_cc_order`
- 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: Financial (Critical risk)
- Registry record: grade F, identity unverified
- Server auth posture: open
- Server CORS policy: *
- Server rate-limited: no
- Parameters: 6 (5 required)
- Recommended policy verdict: Approval-gated

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `note` | string | no | Optional note visible to counterparty |
| `api_key` | string | yes |  |
| `agent_id` | string | yes |  |
| `order_type` | string | yes | buy = you want CC and pay USDC. sell = you want USDC and pay CC. |
| `usdc_per_cc` | number | yes | Your limit price: USDC per 1 CC. Buy order fills at or below this. Sell order fills at or above. |
| `cc_amount_cogs` | integer | yes | Amount in cogs (min 10000 = 1 CC) |

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": "place_cc_order",
    "arguments": {
      "api_key": "<api_key>",
      "agent_id": "<agent_id>",
      "order_type": "<order_type>",
      "usdc_per_cc": 0,
      "cc_amount_cogs": 0
    }
  }
}
```

## Why place_cc_order is rated Critical

This tool directly commits financial obligations by placing buy or sell orders on a trading order book involving USDC and CC tokens. It locks assets in escrow and triggers automatic matching against existing orders, constituting a real financial transaction with immediate market effects. Misuse could result in unintended asset transfers or significant financial loss.

From the tool's own definition: "Place a buy or sell limit order on the CC/USDC order book. SELL: locks your CC in escrow, releases USDC when filled. BUY: records your USDC bid, releases CC when matched."

Risk signals: Handles credentials or secrets (api_key)

## Use case

AI agents use place_cc_order to commit financial operations through Ai Agent Bank, usually the final step of a payment, billing, or trading workflow. A call moves real money.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "place_cc_order": {
      "deny_if": [
        {
          "conditions": [],
          "on_deny": "Requires human approval."
        }
      ]
    }
  }
}
```

## 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
- `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
- `get_market_depth` — Read — https://policylayer.com/tools/io-github-wirternow-agent-bank/get-market-depth.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
