# 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.

Agent View of the PolicyLayer registry record for `search_compounds`. HTML page: https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/search-compounds

## Facts

- Tool: `search_compounds`
- Server: Cure Cancer With AI (`https://www.curecancerwithai.com/api/mcp`) — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai.md
- Homepage: https://github.com/hifarrer/ccwai-api
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 4
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | no | Max results (1–100, default 20). |
| `examples` | array | no | Known drug names to find similar compounds for, e.g. ["aspirin","ibuprofen"]. Mutually exclusive with preferences. |
| `preferences` | object | no | 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 | no | Include each result’s characteristic scores in the response. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_compounds",
    "arguments": {}
  }
}
```

## 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 own 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)."

## Use case

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.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Cure Cancer With AI:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "search_compounds": {}
  }
}
```

## Other tools on Cure Cancer With AI (14)

- `predict_dti` — Execute — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/predict-dti.md
- `predict_ppi` — Execute — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/predict-ppi.md
- `get_blog_post` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/get-blog-post.md
- `get_clinical_trial` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/get-clinical-trial.md
- `get_research_paper` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/get-research-paper.md
- `list_blog_posts` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/list-blog-posts.md
- `list_clinical_trials` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/list-clinical-trials.md
- `list_compound_characteristics` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/list-compound-characteristics.md
- `list_fda_approvals` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/list-fda-approvals.md
- `list_news` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/list-news.md
- `list_research` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/list-research.md
- `mammal_health` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/mammal-health.md
- `predict_clintox` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/predict-clintox.md
- `search_oncology` — Read — https://policylayer.com/tools/io-github-hifarrer-cure-cancer-with-ai/search-oncology.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-hifarrer-cure-cancer-with-ai · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-hifarrer-cure-cancer-with-ai
