search_compounds
Find pharmaceutical compounds two ways: by example drugs you already know (fuzzy-matched), or by setting target characteristics on a −4…+4 scale. Provide exactly one of examples or preferences. Use list_compound_characteristics for the available preference names.
This record as markdown: /tools/io-github-hifarrer-cure-cancer-with-ai/search-compounds.md
What search_compounds does on Cure Cancer With AI
AI agents call search_compounds to retrieve information from Cure Cancer With AI 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 results (1–100, default 20). |
examples | array | — | Known drug names to find similar compounds for, e.g. ["aspirin","ibuprofen"]. Mutually exclusive with preferences. |
preferences | object | — | Map of characteristic name to desired value on the −4…+4 scale, e.g. {"Neuroactive":3,"Immunoactive":-2}. Omit a characteristic to ignore it. Mutually exclusive |
include_characteristics | boolean | — | Include each result’s characteristic scores in the response. |
Parameters from the server's own tool schema.
Why search_compounds is rated Low
search_compounds is a retrieval operation that searches a pharmaceutical compound database using fuzzy matching or preference filters. It returns query results without modifying any data, executing code, or triggering external operations. The most severe capability exposed is read-only data access, appropriate for a public oncology research database.
From the tool's definition The tool performs searches and queries against existing compound data with `examples` (fuzzy-matching) or `preferences` (filtering). The description contains no mutation language (create, update, delete, execute).
Attacks that exploit this kind of access
The rule that runs search_compounds safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Cure Cancer With AI, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For search_compounds, this is the rule to start with:
search_compounds 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 Cure Cancer With AI, apply this rule, and every search_compounds call is checked against it from then on.
Questions about search_compounds
Find pharmaceutical compounds two ways: by example drugs you already know (fuzzy-matched), or by setting target characteristics on a −4…+4 scale. Provide exactly one of examples or preferences. Use list_compound_characteristics for the available preference names. It is categorised as a Read tool in the Cure Cancer With AI MCP Server, which means it retrieves data without modifying state.
search_compounds accepts 4 parameters: limit, examples, preferences, include_characteristics. The full parameter table on this page comes from the server's own tool schema.
Register the Cure Cancer With AI MCP server in PolicyLayer and add a rule for search_compounds: 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 Cure Cancer With AI. Nothing to install.
search_compounds 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 search_compounds 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 search_compounds. 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.
search_compounds is provided by the Cure Cancer With AI MCP server (https://www.curecancerwithai.com/api/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Cure Cancer With AI, and thousands of servers like it.
This server
Across the catalogue