Use this when you need to check if a cryptocurrency or stock price has crossed a specific threshold -- the most common resolution type in prediction markets. Returns current price, whether threshold was crossed, and direction. 1. asset: the asset being checked (e.g. "bitcoin", "ethereum", "solana...
Part of the Event Resolver API server.
Free to start. No card required.
AI agents call event_check_price_threshold to retrieve information from Event Resolver API without modifying any data. This is common in research, monitoring, and reporting workflows where the agent needs context before taking action. Because read operations don't change state, they are generally safe to allow without restrictions -- but you may still want rate limits to control API costs.
Even though event_check_price_threshold only reads data, uncontrolled read access can leak sensitive information or rack up API costs. An agent caught in a retry loop could make thousands of calls per minute. A rate limit gives you a safety net without blocking legitimate use.
Read-only tools are safe to allow by default. No rate limit needed unless you want to control costs.
{
"version": "1",
"default": "deny",
"tools": {
"event_check_price_threshold": {}
}
} See the full Event Resolver API policy for all 3 tools.
These attack patterns abuse exactly the kind of access event_check_price_threshold gives an agent. Each links to the full case and the policy that stops it:
Other read tools across the catalogue. The same approach applies to each: allow, with a rate cap to control cost.
Use this when you need to check if a cryptocurrency or stock price has crossed a specific threshold -- the most common resolution type in prediction markets. Returns current price, whether threshold was crossed, and direction. 1. asset: the asset being checked (e.g. "bitcoin", "ethereum", "solana") 2. currentPrice: the current price in USD from CoinGecko 3. threshold: the target price threshold 4. direction: "above" or "below" -- which direction constitutes crossing 5. crossed: boolean indicating whether the price has crossed the threshold in the specified direction Example output: { "asset": "bitcoin", "currentPrice": 102450.23, "threshold": 100000, "direction": "above", "crossed": true } Use this for settling price-based prediction market contracts, monitoring price milestones, or triggering alerts when assets cross key levels. Uses CoinGecko free API for crypto prices (no auth required). Do NOT use for crypto prices only -- use token_get_price instead. Do NOT use for prediction market odds -- use prediction_list_markets instead. Do NOT use for stock prices -- use stock_get_quote instead. Do NOT use for trust/security scoring -- use trust_score_evaluate instead.. It is categorised as a Read tool in the Event Resolver API MCP Server, which means it retrieves data without modifying state.
Register the Event Resolver API MCP server in PolicyLayer and add a rule for event_check_price_threshold: 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 Event Resolver API. Nothing to install.
event_check_price_threshold 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 event_check_price_threshold 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 event_check_price_threshold. 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.
event_check_price_threshold is provided by the Event Resolver API MCP server (https://event-resolver.api.klymax402.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Deterministic rules across all 3 Event Resolver API tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.
Free to start. No card required.
4,600+ MCP servers and 31,000+ tools scanned and risk-classified.