markets.search
Search Polymarket markets by keyword query. Returns matching markets with question, price, volume, and condition_id. Use the condition_id from results with buy, get_price, or analyze_opportunity.
This record as markdown: /tools/demwick-polymarket-agent-mcp/markets.search.md
What markets.search does on Polymarket Agent Mcp
AI agents call markets.search to retrieve information from Polymarket Agent Mcp without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why markets.search is rated Low
This tool queries and returns market data (question, price, volume, condition_id) without modifying, creating, deleting, or executing any trades. It is informational only, used to discover markets before potential later trading actions. The condition_id is merely a reference identifier for use in subsequent tools.
From the tool's definition Tool description states it 'Search[es] Polymarket markets by keyword query. Returns matching markets with question, price, volume, and condition_id' — a pure retrieval operation with no side effects.
Attacks that exploit this kind of access
The rule that runs markets.search safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Polymarket Agent Mcp, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For markets.search, this is the rule to start with:
markets.search 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 Polymarket Agent Mcp, apply this rule, and every markets.search call is checked against it from then on.
Questions about markets.search
Search Polymarket markets by keyword query. Returns matching markets with question, price, volume, and condition_id. Use the condition_id from results with buy, get_price, or analyze_opportunity. It is categorised as a Read tool in the Polymarket Agent Mcp MCP Server, which means it retrieves data without modifying state.
Register the Polymarket Agent MCP server in PolicyLayer and add a rule for markets.search: 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 Polymarket Agent Mcp. Nothing to install.
markets.search 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 markets.search 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 markets.search. 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.
markets.search is provided by the Polymarket Agent MCP server (demwick/polymarket-agent-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Polymarket Agent, and thousands of servers like it.
This server
Across the catalogue