get_cc_orderbook
Get the live CC/USDC order book. Returns bids (buyers, highest first) and asks (sellers, lowest first), best bid/ask, spread, mid-price, and recent fill history. Use this to find the best price before placing or filling an order.
This record as markdown: /tools/io-github-wirternow-agent-bank/get-cc-orderbook.md
What get_cc_orderbook does on Ai Agent Bank
AI agents call get_cc_orderbook to retrieve information from Ai Agent Bank without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
depth | integer | — | Price levels to show per side (max 50) |
Parameters from the server's own tool schema.
Why get_cc_orderbook is rated Low
This tool retrieves market data without modifying state, creating obligations, or triggering external operations. It is purely informational, enabling informed decision-making before other actions. The low severity reflects minimal blast radius: misuse would only result in the agent obtaining stale or incorrect pricing information, which might lead to suboptimal trading decisions but no irreversible harm.
From the tool's definition Tool name contains 'get_' and description states it 'Returns' order book data with 'bids', 'asks', 'best bid/ask', 'spread', 'mid-price', and 'recent fill history'.
Attacks that exploit this kind of access
The rule that runs get_cc_orderbook 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 get_cc_orderbook, this is the rule to start with:
get_cc_orderbook is read-only, so it stays allowed. 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 get_cc_orderbook call is checked against it from then on.
Questions about get_cc_orderbook
Get the live CC/USDC order book. Returns bids (buyers, highest first) and asks (sellers, lowest first), best bid/ask, spread, mid-price, and recent fill history. Use this to find the best price before placing or filling an order. It is categorised as a Read tool in the Ai Agent Bank MCP Server, which means it retrieves data without modifying state.
get_cc_orderbook accepts 1 parameter: depth. 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 get_cc_orderbook: 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.
get_cc_orderbook is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the get_cc_orderbook 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 get_cc_orderbook. 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.
get_cc_orderbook 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