Home · Agents · Blueprints · Pipeline monitor agent

AI agent that monitors a drug or condition pipeline

The job

Following one therapy area means checking a trial registry, the regulator and the journals, each with its own search. This agent runs the three searches for one condition or drug name and writes a dated digest that separates recruiting trials, approvals and papers.

Run it weekly per topic and compare with the last digest.

Tool calls, in order

1. POST /v1/science/clinicaltrials/search

Trials show what is being tested now, which comes long before any approval.

What to read in the answer. Note that the search applied a recruiting status by default in this sample. Read phase, sponsor, enrollment and start date. Count only what was returned; do not rely on the total field, which read zero here although ten studies came back.

curl -X POST https://api.foxapis.com/v1/science/clinicaltrials/search \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"condition":"type 2 diabetes"}'
A real answer (saved 2026-11-26)
{
 "query": {
  "condition": "type 2 diabetes",
  "status": "RECRUITING"
 },
 "returned": 10,
 "studies": [
  {
   "nct_id": "NCT06906627",
   "title": "Implementation pRogram to Improve Screening and Management for CKD in Diabetes (Program 1) (IRIS-CKD)",
   "status": "Recruiting",
   "phase": "N/A",
   "study_type": "INTERVENTIONAL",
   "conditions": [
    "Chronic Kidney Disease(CKD)",
    "Type 2 DM"
   ],
   "lead_sponsor": "Duke University",
   "enrollment": 500,
   "start_date": "2025-10-28",
   "completion_date": "2027-04-01",
   "brief_summary": "IRIS-CKD is an implementation study to improve guideline-recommended screening of chronic kidney disease (CKD) in individuals with type 2 diabetes ...",
   "primary_outcomes": [],
   "countries": [
    "United States"
   ],
   "clinicaltrials_url": "https://clinicaltrials.gov/study/NCT06906627",
   "eligibility_summary": "Screening Program-\n\nInclusion Criteria:\n\n* Adults with type 2 diabetes (T2D)\n* Receiving primary care within the healthcare system, Primary Care Pr..."
  },
  {
   "nct_id": "NCT06065930",
   "title": "Adaptive Mechanisms In GRown up ObeSity Study (AMIGROS)",
   "status": "Recruiting",
   "phase": "Not specified",
   "study_type": "OBSERVATIONAL",
   "conditions": [
    "Obesity",
    "Type 2 Diabetes"
   ],
   "lead_sponsor": "Vastra Gotaland Region",
   "enrollment": 45,
   "start_date": "2023-05-05",
   "completion_date": "2025-12-31",
   "brief_summary": "The investigator recently showed that the glycan-binding adipokine galectin-1 increased during overfeeding and that galectin-1 independently could ...",
   "primary_outcomes": [],
   "countries": [
    "Sweden"
   ],
   "clinicaltrials_url": "https://clinicaltrials.gov/study/NCT06065930",
   "eligibility_summary": "Inclusion Criteria:\n\n1. Men and women of age: 40.0 - 70.0 years\n2. BMI: 18.0 - 25.0 kg/m2 (lean subjects) and BMI 30.0 - 38.0 kg/m2 (Ob-IS and Ob-I..."
  }
 ],
 "search_url": "https://clinicaltrials.gov/search?cond=type%202%20diabetes"
}

2. POST /v1/science/fda/approvals

Approvals tell you what has actually reached the market and who sponsors it.

What to read in the answer. Match the application number and sponsor. A new submission type on an old application is not a new drug.

curl -X POST https://api.foxapis.com/v1/science/fda/approvals \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"query":"ozempic"}'
A real answer (saved 2026-11-22)
{
 "total": 2,
 "approvals": [
  {
   "application_number": "NDA209637",
   "sponsor": "NOVO",
   "brand_names": [],
   "generic_name": [],
   "manufacturer": [],
   "approval_date": "20260827",
   "submission_type": "SUPPL"
  },
  {
   "application_number": "NDA213051",
   "sponsor": "NOVO",
   "brand_names": [
    "OZEMPIC",
    "RYBELSUS"
   ],
   "generic_name": [
    "ORAL SEMAGLUTIDE"
   ],
   "manufacturer": [
    "Novo Nordisk Pharmaceutical Industries, LP"
   ],
   "approval_date": "20260130",
   "submission_type": "SUPPL"
  }
 ],
 "source": "OpenFDA (US FDA official open data)"
}

3. POST /v1/science/pubmed/search

Published results explain the other two lists.

What to read in the answer. Use the article type to separate reviews from primary studies, and link each paper by its identifier.

curl -X POST https://api.foxapis.com/v1/science/pubmed/search \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"query":"CRISPR gene therapy cancer"}'
A real answer (saved 2026-11-22)
{
 "total_results": 5197,
 "papers": [
  {
   "pmid": "30684591",
   "title": "CRISPR-Cas9 for cancer therapy: Opportunities and challenges",
   "authors": [
    "Chen M",
    "Mao A"
   ],
   "author_count": 6,
   "journal": "Cancer letters",
   "pub_date": "2019 Apr 10",
   "epub_date": "2019 Jan 23",
   "article_type": [
    "Journal Article",
    "Research Support, Non-U.S. Gov't"
   ],
   "doi": "10.1016/j.canlet.2019.01.017",
   "pubmed_url": "https://pubmed.ncbi.nlm.nih.gov/30684591/",
   "abstract_available": true
  },
  {
   "pmid": "32959897",
   "title": "CRISPR/Cas gene therapy",
   "authors": [
    "Zhang B"
   ],
   "author_count": 1,
   "journal": "Journal of cellular physiology",
   "pub_date": "2021 Apr",
   "epub_date": "2020 Sep 22",
   "article_type": [
    "Journal Article",
    "Review"
   ],
   "doi": "10.1002/jcp.30064",
   "pubmed_url": "https://pubmed.ncbi.nlm.nih.gov/32959897/",
   "abstract_available": true
  }
 ]
}

Instruction to paste into your agent

You write a weekly pipeline digest for one topic. Search recruiting trials, FDA records and recent papers with the topic terms. Report three sections with counts of items returned. Flag items not in last week's list. Never judge efficacy or safety, never advise on treatment, and tell the reader to confirm each item at its source.

Rules the agent should follow

What the agent hands back

A dated digest in three parts, each item linked and marked new or seen before, with the number of items returned in each search and the search terms used, so that a reader can repeat the search and see what the agent saw.

What a person still does

A scientist or analyst opens the new items, reads trial records and papers in full where they matter, notes sponsor changes, and decides what goes into the team's view of the field. Anything about patients or treatment is outside this digest.

Limits

Cost of one run

Total for one pass, taking one record or lookup from each call above, in credits: 13. Repeating a call costs it again. What a credit costs · Get a free key

MCP setup

The live MCP server offers clinicaltrials_search, fda_approvals, pubmed_search. Add this to your MCP client's settings (Cursor reads .cursor/mcp.json; other clients use slightly different files), with your own key in place of YOUR_KEY.

{
  "mcpServers": {
    "foxapis-data": {
      "url": "https://foxapis.com/mcp/data",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

Function definitions (plain JSON)

Each entry names the function, its arguments and the HTTP request it stands for. Your code sends the request with the header Authorization: Bearer YOUR_KEY and returns the JSON to the agent.

[
  {
    "name": "clinicaltrials_search",
    "description": "Trials show what is being tested now, which comes long before any approval.",
    "parameters": {
      "type": "object",
      "properties": {
        "condition": {
          "type": "string"
        }
      },
      "required": [
        "condition"
      ]
    },
    "http": {
      "method": "POST",
      "url": "https://api.foxapis.com/v1/science/clinicaltrials/search"
    }
  },
  {
    "name": "fda_approvals",
    "description": "Approvals tell you what has actually reached the market and who sponsors it.",
    "parameters": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query"
      ]
    },
    "http": {
      "method": "POST",
      "url": "https://api.foxapis.com/v1/science/fda/approvals"
    }
  },
  {
    "name": "pubmed_search",
    "description": "Published results explain the other two lists.",
    "parameters": {
      "type": "object",
      "properties": {
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query"
      ]
    },
    "http": {
      "method": "POST",
      "url": "https://api.foxapis.com/v1/science/pubmed/search"
    }
  }
]

Pages for these calls

More blueprints

Preprint watch agent · Model shortlist agent · Store snapshot agent · Sponsor research agent · all of them