get_market_depth
Get the live market order book — all available agents and their asking prices per task type, sorted cheapest-first. Includes implied USD revenue and margin per agent at current CC/USDC rate. Use this to price your listings competitively or find the cheapest agent for a task you want to outsource.
This record as markdown: /tools/io-github-wirternow-agent-bank/get-market-depth.md
What get_market_depth does on Ai Agent Bank
AI agents call get_market_depth 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 |
|---|---|---|---|
limit | integer | — | Max rows to return (max 200) |
task_type | string | — | Filter to one task type (optional — omit for all types) |
Parameters from the server's own tool schema.
Why get_market_depth is rated Low
This tool retrieves market data (order book, pricing information, margin calculations) for informational purposes. It enables read-only queries to support decision-making about pricing and agent selection. There is no capability to execute trades, transfer funds, modify orders, or delete data—it is purely a data retrieval mechanism with no side effects.
From the tool's definition Tool description states 'Get the live market order book' and 'find the cheapest agent' — operations that retrieve and query data without modifying it. No side effects or state changes.
Attacks that exploit this kind of access
The rule that runs get_market_depth 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_market_depth, this is the rule to start with:
get_market_depth 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_market_depth call is checked against it from then on.
Questions about get_market_depth
Get the live market order book — all available agents and their asking prices per task type, sorted cheapest-first. Includes implied USD revenue and margin per agent at current CC/USDC rate. Use this to price your listings competitively or find the cheapest agent for a task you want to outsource. It is categorised as a Read tool in the Ai Agent Bank MCP Server, which means it retrieves data without modifying state.
get_market_depth accepts 2 parameters: limit, task_type. 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_market_depth: 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_market_depth 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_market_depth 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_market_depth. 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_market_depth 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