{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "chembl.caseyjhand.com",
    "site": "caseyjhand.com",
    "addresses": [
      {
        "address": "104.26.10.117",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.26.11.117",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.26.0.0/20",
          "country": "US"
        }
      },
      {
        "address": "172.67.72.95",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.64.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:b75",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::ac43:485f",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:20::681a:a75",
        "endpoints": 131,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:20::/44",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.26.10.117",
          "104.26.11.117",
          "172.67.72.95",
          "2606:4700:20::681a:b75",
          "2606:4700:20::ac43:485f",
          "2606:4700:20::681a:a75"
        ],
        "first_seen": "2026-11-22T19:51:01.709Z",
        "last_seen": "2026-11-22T19:51:01.709Z",
        "checks": 1
      },
      {
        "addresses": [
          "104.26.11.117",
          "104.26.10.117",
          "172.67.72.95",
          "2606:4700:20::681a:a75",
          "2606:4700:20::ac43:485f",
          "2606:4700:20::681a:b75"
        ],
        "first_seen": "2026-11-21T15:29:01.791Z",
        "last_seen": "2026-11-21T15:29:01.791Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "chembl-mcp-server",
      "version": "0.6.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare",
      "strict-transport-security": "max-age=63072000; includeSubDomains; preload",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 130,
      "sample": [
        {
          "id": "6671",
          "url": "https://mcp.amperis.com/mcp",
          "server_name": "com.amperis/catalog",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T07:49:03.164Z"
        },
        {
          "id": "28574",
          "url": "https://art-institute-chicago.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:36:02.219Z"
        },
        {
          "id": "28575",
          "url": "https://arxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/arxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:37:01.411Z"
        },
        {
          "id": "28576",
          "url": "https://astronomy.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/astronomy-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:38:01.840Z"
        },
        {
          "id": "28577",
          "url": "https://aviation-weather.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/aviation-weather-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:39:01.575Z"
        },
        {
          "id": "28578",
          "url": "https://biorxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/biorxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:40:02.169Z"
        },
        {
          "id": "28579",
          "url": "https://bls-labor.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bls-labor-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:41:01.131Z"
        },
        {
          "id": "28580",
          "url": "https://bluesky.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bluesky-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:42:01.856Z"
        },
        {
          "id": "28581",
          "url": "https://brapi.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/brapi-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:43:01.729Z"
        },
        {
          "id": "28582",
          "url": "https://browser-compat.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/browser-compat-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:44:06.619Z"
        },
        {
          "id": "28583",
          "url": "https://calculator.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/calculator-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:45:03.772Z"
        },
        {
          "id": "28584",
          "url": "https://canada-parliament.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/canada-parliament-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:46:02.033Z"
        },
        {
          "id": "28585",
          "url": "https://cdc.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cdc-health-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:47:01.894Z"
        },
        {
          "id": "28586",
          "url": "https://census.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/census-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:48:01.794Z"
        },
        {
          "id": "28587",
          "url": "https://cern-inspire.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-inspire-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:49:02.069Z"
        },
        {
          "id": "28588",
          "url": "https://cern-opendata.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-opendata-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:50:02.886Z"
        },
        {
          "id": "28590",
          "url": "https://cisa-cybersecurity.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:52:01.906Z"
        },
        {
          "id": "28591",
          "url": "https://clinicaltrials.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:53:01.814Z"
        },
        {
          "id": "28592",
          "url": "https://college-scorecard.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/college-scorecard-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:54:10.959Z"
        },
        {
          "id": "28593",
          "url": "https://congressgov.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/congressgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:55:03.324Z"
        }
      ]
    },
    "same_site": {
      "total": 133,
      "sample": [
        {
          "id": "28574",
          "url": "https://art-institute-chicago.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:36:02.219Z"
        },
        {
          "id": "28575",
          "url": "https://arxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/arxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:37:01.411Z"
        },
        {
          "id": "28576",
          "url": "https://astronomy.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/astronomy-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:38:01.840Z"
        },
        {
          "id": "28577",
          "url": "https://aviation-weather.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/aviation-weather-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:39:01.575Z"
        },
        {
          "id": "28578",
          "url": "https://biorxiv.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/biorxiv-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:40:02.169Z"
        },
        {
          "id": "28579",
          "url": "https://bls-labor.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bls-labor-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:41:01.131Z"
        },
        {
          "id": "28580",
          "url": "https://bluesky.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/bluesky-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:42:01.856Z"
        },
        {
          "id": "28581",
          "url": "https://brapi.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/brapi-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:43:01.729Z"
        },
        {
          "id": "28582",
          "url": "https://browser-compat.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/browser-compat-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:44:06.619Z"
        },
        {
          "id": "28583",
          "url": "https://calculator.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/calculator-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:45:03.772Z"
        },
        {
          "id": "28584",
          "url": "https://canada-parliament.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/canada-parliament-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:46:02.033Z"
        },
        {
          "id": "28585",
          "url": "https://cdc.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cdc-health-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:47:01.894Z"
        },
        {
          "id": "28586",
          "url": "https://census.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/census-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:48:01.794Z"
        },
        {
          "id": "28587",
          "url": "https://cern-inspire.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-inspire-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:49:02.069Z"
        },
        {
          "id": "28588",
          "url": "https://cern-opendata.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cern-opendata-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:50:02.886Z"
        },
        {
          "id": "28590",
          "url": "https://cisa-cybersecurity.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:52:01.906Z"
        },
        {
          "id": "28591",
          "url": "https://clinicaltrials.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:53:01.814Z"
        },
        {
          "id": "28592",
          "url": "https://college-scorecard.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/college-scorecard-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:54:10.959Z"
        },
        {
          "id": "28593",
          "url": "https://congressgov.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/congressgov-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:55:03.324Z"
        },
        {
          "id": "28594",
          "url": "https://courtlistener.caseyjhand.com/mcp",
          "server_name": "io.github.cyanheads/courtlistener-mcp-server",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T19:56:02.675Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.cyanheads",
      "total": 165,
      "sample": [
        {
          "name": "io.github.cyanheads/anime-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/art-institute-chicago-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/arxiv-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/astronomy-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/attack-surface-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/aviation-weather-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/biorxiv-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bls-labor-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bls-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/bluesky-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/brapi-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/browser-compat-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/calculator-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/canada-parliament-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cdc-health-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/census-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cern-inspire-mcp-server",
          "title": "cern-inspire-mcp-server"
        },
        {
          "name": "io.github.cyanheads/cern-opendata-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/cisa-cybersecurity-mcp-server",
          "title": null
        },
        {
          "name": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
          "title": null
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/cyanheads/chembl-mcp-server",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "28589",
    "server_name": "io.github.cyanheads/chembl-mcp-server",
    "url": "https://chembl.caseyjhand.com/mcp",
    "host": "chembl.caseyjhand.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T19:51:01.709Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "aff5d99d4b3d6ff44f31cc7580fe1563afa26aff8f3ff868baf186d646822457",
    "first_listed_at": "2026-11-21T15:29:01.791Z",
    "created_at": "2026-11-21T09:30:13.196Z",
    "resolved_addresses": [
      "104.26.10.117",
      "104.26.11.117",
      "172.67.72.95",
      "2606:4700:20::681a:b75",
      "2606:4700:20::ac43:485f",
      "2606:4700:20::681a:a75"
    ]
  },
  "server": {
    "name": "io.github.cyanheads/chembl-mcp-server",
    "title": null,
    "description": "Link compounds to protein targets, rank bioactivity, and look up drug mechanisms and indications.",
    "version": "0.6.0",
    "registry_status": "active",
    "repository_url": "https://github.com/cyanheads/chembl-mcp-server",
    "website_url": null,
    "published_at": "2026-11-11T17:07:40.307Z",
    "updated_at": "2026-11-11T17:07:40.307Z",
    "first_seen": "2026-11-21T09:30:12.707Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:33:10.374Z"
  },
  "operator": {
    "key": "caseyjhand.com",
    "name": "caseyjhand.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 751,
    "first_check_in_window": "2026-11-21T15:29:01.791Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "aff5d99d4b3d6ff44f31cc7580fe1563afa26aff8f3ff868baf186d646822457",
    "tools": 8,
    "resources": 1,
    "prompts": 0,
    "first_seen": "2026-11-21T15:29:02.571Z",
    "tool_names": [
      "chembl_search_molecules",
      "chembl_get_bioactivities",
      "chembl_search_targets",
      "chembl_get_drug_info",
      "chembl_get_assay",
      "chembl_get_documents",
      "chembl_dataframe_query",
      "chembl_dataframe_describe"
    ],
    "declared": {
      "tools": [
        {
          "name": "chembl_search_molecules",
          "title": "chembl-search-molecules",
          "description": "Discovery entry point for compounds. Find by name / ChEMBL ID / InChIKey with the default search_type=name (supply query), or run a structure search with search_type exact | similarity | substructure (supply structure as a SMILES). At least one of query or structure is required, and structure is required for the three structure modes. Returns ChEMBL ID, preferred name, canonical SMILES, formula, MW, AlogP, Lipinski violations, QED, max clinical phase, and the family parent_chembl_id on every row; only search_type=similarity adds a Tanimoto similarity percent. Chain molecule_chembl_id into chembl_get_bioactivities or chembl_get_drug_info. A salt often ranks ahead of its parent and carries a small share of the family's measurements, so check parent_chembl_id before chaining. A capped result carries nextCursor — pass it back as cursor with the same filters to read the next page.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 10000,
                "minimum": 1,
                "description": "Maximum molecules to return, up to 100 — a larger value is served at 100, with a notice saying so. Defaults to the server default (25) when omitted."
              },
              "query": {
                "type": "string",
                "description": "Search text for search_type=name — a drug name, ChEMBL ID, or InChIKey, e.g. \"imatinib\" or \"CHEMBL25\"."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque continuation token from a previous call's nextCursor — resumes where that page ended. Omit for the first page. Re-send the same query/structure/filters that minted it (only limit may change; it sets this page's size); redeeming it against different filters walks a different result set."
              },
              "structure": {
                "type": "string",
                "description": "SMILES string for structure search, e.g. \"CC(=O)Oc1ccccc1C(=O)O\". Required when search_type is exact/similarity/substructure."
              },
              "search_type": {
                "enum": [
                  "name",
                  "exact",
                  "similarity",
                  "substructure"
                ],
                "type": "string",
                "default": "name",
                "description": "name = text lookup (query); exact = exact structure match; similarity = Tanimoto ≥ threshold; substructure = contains the structure. All structure modes need `structure`."
              },
              "max_phase_min": {
                "type": "integer",
                "maximum": 4,
                "minimum": 0,
                "description": "Restrict to compounds at or above this max clinical phase, e.g. 4 for drugs that reached approval, withdrawn ones included. Applies to every search_type; a compound with no recorded phase never passes, even at 0."
              },
              "similarity_threshold": {
                "type": "integer",
                "default": 70,
                "maximum": 100,
                "minimum": 40,
                "description": "Minimum Tanimoto similarity percent for search_type=similarity (40–100; ChEMBL rejects below 40). Every other search_type ignores it, and the notice names a value other than the default 70 as ignored."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "molecules",
                  "totalCount",
                  "totalCountCapped",
                  "truncated",
                  "shown",
                  "cap"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cap": {
                "type": "number",
                "description": "The limit that was applied."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "rate_limited",
                          "invalid_structure",
                          "missing_input"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: ChEMBL has no record for the requested identifier or structure. `rate_limited`: ChEMBL rate-limits the upstream request. `invalid_structure`: ChEMBL could not parse the SMILES of a similarity or substructure search. `missing_input`: Neither query nor structure was supplied, or a structure search_type was chosen without a structure. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "shown": {
                "type": "number",
                "description": "Number of molecules returned."
              },
              "notice": {
                "type": "string",
                "description": "Guidance when nothing matched — echoes the query and max_phase_min and suggests how to broaden — the disclosure that a limit above the maximum was served at the maximum, each input the chosen search_type ignored (query on a structure search, structure on a name search, a similarity_threshold other than 70 on any search but similarity), and, when totalCountCapped is true, why the total is a lower bound and how to narrow below it."
              },
              "molecules": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "molecule_chembl_id",
                    "pref_name",
                    "canonical_smiles",
                    "standard_inchi_key",
                    "full_molformula",
                    "mw_freebase",
                    "alogp",
                    "num_ro5_violations",
                    "qed_weighted",
                    "max_phase",
                    "molecule_type",
                    "parent_chembl_id"
                  ],
                  "properties": {
                    "alogp": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Calculated AlogP lipophilicity, e.g. 1.31. Null when absent."
                    },
                    "max_phase": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Max clinical phase: 4 = reached approval, 3–1 = clinical trial phase, 0.5 = early phase 1, −1 = clinical with the phase unknown. Null when ChEMBL records no clinical development (a preclinical or research compound). The cheap druggability signal. A drug withdrawn from a market keeps 4, so 4 means it reached approval, not that it is on the market now: read chembl_get_drug_info's withdrawn and warnings for that."
                    },
                    "pref_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Preferred name, e.g. \"ASPIRIN\". Null for many research compounds."
                    },
                    "similarity": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Tanimoto similarity percent (0–100) to the query structure. Present only on search_type=similarity results; on every other search_type the key is absent, not null."
                    },
                    "mw_freebase": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Molecular weight of the free base in g/mol, e.g. 180.16. Null when absent."
                    },
                    "qed_weighted": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "QED weighted drug-likeness score, 0–1. Null when not computed."
                    },
                    "molecule_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Molecule type, e.g. \"Small molecule\". Null when absent."
                    },
                    "full_molformula": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Molecular formula, e.g. \"C9H8O4\". Null when absent."
                    },
                    "canonical_smiles": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Canonical SMILES structure. Null when no structure is recorded."
                    },
                    "parent_chembl_id": {
                      "type": "string",
                      "description": "The parent of the compound's family, e.g. \"CHEMBL553\" for erlotinib hydrochloride — the compound's own ID when it is the parent or ChEMBL records no hierarchy for it. A salt's measurements are a small share of its family's: pass the parent to chembl_get_drug_info, or set include_alternate_forms on chembl_get_bioactivities, to reach the whole family."
                    },
                    "molecule_chembl_id": {
                      "type": "string",
                      "description": "ChEMBL molecule ID, e.g. \"CHEMBL25\". Pass to chembl_get_bioactivities or chembl_get_drug_info."
                    },
                    "num_ro5_violations": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lipinski rule-of-five violation count (0–4). Null when not computed."
                    },
                    "standard_inchi_key": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Standard InChIKey — chain to the pubchem server for richer chemistry. Null when absent."
                    }
                  },
                  "description": "A compound matched by the search.",
                  "additionalProperties": false
                },
                "description": "Matching compounds (up to the limit)."
              },
              "truncated": {
                "type": "boolean",
                "description": "True when the result was capped at the limit."
              },
              "nextCursor": {
                "type": "string",
                "description": "Opaque token for the next page — pass it back as cursor with the same filters. Absent when this page is the last one."
              },
              "totalCount": {
                "type": "number",
                "description": "Total compounds matching before the limit was applied — a lower bound when totalCountCapped is true."
              },
              "totalCountCapped": {
                "type": "boolean",
                "description": "True when totalCount is a lower bound: ChEMBL's ceiling for the search — 10000 for a name search, 30000 for a substructure search — or, with max_phase_min on a substructure search, the qualifying compounds among the first 30000 hits of a structure that has at least that many. Matches past the ceiling cannot be reached; narrow the query to bring them under it."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "chembl_get_bioactivities",
          "title": "chembl-get-bioactivities",
          "description": "The flagship compound↔target bioactivity bridge: measurements for a molecule (target deconvolution / selectivity), a target (lead finding), or both together (how potently one compound hits one target). Supply at least one of molecule_chembl_id (from chembl_search_molecules) or target_chembl_id (from chembl_search_targets) — supplying both narrows to that compound–target pair, supplying neither is an error. A drug's measurements are often split across its salts and other alternate forms, so molecule_chembl_id reads that one form unless include_alternate_forms widens it to the whole family under its parent (a salt's ID included), every view, page, and spill reading the same family. Filter by standard_type (IC50/Ki/EC50/…), minimum potency pchembl_value_min, assay_type, organism, and variant (wild type, or one recorded mutant such as \"T315I\"). Each row carries its activity_comment and data_validity_comment, its assay variant, its source document for citation, its family parent_molecule_chembl_id (merge a drug with its salts on it), ChEMBL's potential_duplicate flag for repeat citations, and its assay format (bao_label). Not every measurement has a derivable pchembl_value, so potency_view picks which side of that split you get: the default \"potency_ranked\" returns the measurements that have one, most potent first (ChEMBL sorts the rest first otherwise, which is why they are not merged), and \"null_potency\" returns exactly the measurements that have none. totalCount is the honest full match count across both views either way. Mixing measurement types (IC50 vs Ki) is a scientific error — set standard_type to compare like with like. A popular target carries tens of thousands of rows: results spill to a DataCanvas table (call chembl_dataframe_describe for its columns, then chembl_dataframe_query for honest aggregates across the staged set), while an inline preview answers the immediate question. Each view stages its own table (bioactivities / bioactivities_null_potency), so running both against one canvas_id lets a UNION ALL rebuild the full set. A canvas is minted only when a view spills; pass its canvas_id back and every later non-cursor call re-stages the table of its view with its own rows, even when they fit inline or none match, so a successful call never leaves rows from an earlier query in it, and a spill that fails or is cancelled leaves the earlier table in place. The spill is bounded by a row cap (CHEMBL_MAX_SPILL_ROWS) and a time budget (CHEMBL_SPILL_DEADLINE_MS); when either stops it short of the view, truncated is true, truncated_by names the bound, and the table is a bounded slice, not the complete view. The inline rows are always capped at limit, so compare that against totalCount before treating them as the whole answer. Spilling needs the canvas, which is on unless the server sets CANVAS_PROVIDER_TYPE=none. Whenever a call stages nothing and rows remain past this page — the canvas is off, or the view fit inline with no canvas_id — nextCursor continues the view: pass it back as cursor, with the same filters and potency_view, for the next page. A cursor page is always returned inline and never staged, canvas or not.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 10000,
                "minimum": 1,
                "description": "Maximum rows in the inline preview or cursor page, up to 1000 — a larger value is served at 1000, with a notice saying so. Defaults to the server default (25). With the canvas enabled, a view that spills still stages in full whatever the limit; when a call stages nothing, nextCursor reaches the rows past limit."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque continuation token from a previous call's nextCursor — resumes the view where that page ended. Omit for the first page. Re-send the same molecule_chembl_id/target_chembl_id, include_alternate_forms, filters, and potency_view that minted it (only limit may change; it sets this page's size); redeeming it against different filters walks a different result set. A cursor page is returned inline and never staged, even with the canvas enabled."
              },
              "variant": {
                "type": "string",
                "description": "Restrict to one assay variant of the target. \"wild_type\" keeps the measurements that record no variant. Any other value keeps those whose recorded assay_variant_mutation equals it whole, case-insensitively, with spaces beside \",\" or \"/\" ignored: a substitution (\"T315I\"), a deletion (\"F508del\"), a multi-mutant in the order ChEMBL records it (\"L858R,T790M\"; \"T790M,L858R\" matches nothing, and \"L858R\" alone matches only the single mutant), or \"UNDEFINED MUTATION\" for an unspecified mutant. Read assay_variant_mutation on unfiltered rows for the recorded strings."
              },
              "organism": {
                "type": "string",
                "description": "Restrict to a target organism, e.g. \"Homo sapiens\" (case-insensitive exact match)."
              },
              "canvas_id": {
                "type": "string",
                "pattern": "^\\s*$|^[A-Za-z0-9_-]{10}$",
                "description": "Optional canvas ID from a prior call to reuse the same canvas. With it, the call re-stages the selected potency_view's table with this call's rows whether they spill, fit inline, or are empty, so a second query of the SAME view REPLACES (overwrites) its prior rows once it succeeds — it does not append, and a spill that fails or is cancelled leaves them — while the other view's table is left intact, which is what lets both coexist on one canvas. Omit it and a fresh canvas is minted only if the view spills. Left untouched on a cursor page, which never stages."
              },
              "assay_type": {
                "type": "string",
                "pattern": "^\\s*(?:(?:[Bb]|[Bb][Ii][Nn][Dd][Ii][Nn][Gg]|[Ff]|[Ff][Uu][Nn][Cc][Tt][Ii][Oo][Nn][Aa][Ll]|[Aa]|[Aa][Dd][Mm][Ee]|[Aa][Dd][Mm][Ee][Tt]|[Tt]|[Tt][Oo][Xx][Ii][Cc][Ii][Tt][Yy]|[Pp]|[Pp][Hh][Yy][Ss][Ii][Cc][Oo][Cc][Hh][Ee][Mm][Ii][Cc][Aa][Ll]|[Uu]|[Uu][Nn][Aa][Ss][Ss][Ii][Gg][Nn][Ee][Dd]|[Uu][Nn][Cc][Ll][Aa][Ss][Ss][Ii][Ff][Ii][Ee][Dd])\\s*)?$",
                "description": "Restrict to an assay type code: \"B\" (binding), \"F\" (functional), \"A\" (ADMET), \"T\" (toxicity), \"P\" (physicochemical), \"U\" (unassigned)."
              },
              "potency_view": {
                "enum": [
                  "potency_ranked",
                  "null_potency",
                  ""
                ],
                "type": "string",
                "default": "potency_ranked",
                "description": "Which side of the pchembl_value presence split to retrieve. \"potency_ranked\" (default) returns the measurements that have a derivable pchembl_value, most potent first. \"null_potency\" returns exactly the measurements that have none — the rows the ranked view excludes, otherwise unreachable. The two partition the match set and stage to separate canvas tables."
              },
              "standard_type": {
                "type": "string",
                "description": "Restrict to one measurement type, e.g. \"IC50\", \"Ki\", \"EC50\". Matched exactly, case included — ChEMBL records distinct types that differ only by case, such as \"Kd\" and \"KD\". Set this to compare potencies validly."
              },
              "target_chembl_id": {
                "type": "string",
                "pattern": "^\\s*(?:[Cc][Hh][Ee][Mm][Bb][Ll]\\d+\\s*)?$",
                "description": "ChEMBL target ID (from chembl_search_targets), e.g. \"CHEMBL203\". Supply this, molecule_chembl_id, or both — both narrows to that compound–target pair."
              },
              "pchembl_value_min": {
                "type": "number",
                "description": "Minimum pchembl_value (−log10 molar potency), e.g. 7 keeps sub-100 nM activities. Only valid on the potency_ranked view — the null_potency rows have no pchembl_value to compare against."
              },
              "molecule_chembl_id": {
                "type": "string",
                "description": "ChEMBL molecule ID (from chembl_search_molecules), e.g. \"CHEMBL941\". Supply this, target_chembl_id, or both — both narrows to that compound–target pair."
              },
              "include_alternate_forms": {
                "type": "boolean",
                "default": false,
                "description": "Widen molecule_chembl_id to its whole family: the parent it belongs to and every salt and other alternate form ChEMBL files under it (a drug's measurements are often split across them). A salt's ID reaches its parent's family; each row keeps the molecule_chembl_id of the form it was measured on. Requires molecule_chembl_id; combines with target_chembl_id and every filter. Defaults to false: that one form's measurements only."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "activities",
                  "totalCount",
                  "potency_view",
                  "spilled",
                  "canvas_id",
                  "table_name",
                  "staged_row_count",
                  "truncated",
                  "truncated_by",
                  "canvasDisabled",
                  "appliedFilters"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "rate_limited",
                          "missing_filter",
                          "not_a_chembl_id",
                          "alternate_forms_without_molecule",
                          "contradictory_potency_filter",
                          "canvas_capacity_exhausted"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: ChEMBL has no record for the requested identifier or structure. `rate_limited`: ChEMBL rate-limits the upstream request. `missing_filter`: Neither molecule_chembl_id nor target_chembl_id was supplied, so the query had nothing to scope to. `not_a_chembl_id`: molecule_chembl_id is not a ChEMBL ID like CHEMBL941, so it could match no measurement. `alternate_forms_without_molecule`: include_alternate_forms was set without molecule_chembl_id, so there was no molecule whose family to read. `contradictory_potency_filter`: pchembl_value_min was supplied alongside potency_view \"null_potency\", whose rows have no pchembl_value for the floor to compare against — the combination can only ever match zero measurements. `canvas_capacity_exhausted`: The view spilled with no canvas_id supplied, and the tenant already holds as many canvases as CANVAS_MAX_CANVASES_PER_TENANT allows, so none could be minted to stage it. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "notice": {
                "type": "string",
                "description": "Guidance when no measurements matched (naming the spelling ChEMBL records when the standard_type sent differs from it only by case), how to SQL the staged set, or which rows of the view an inline page holds and how to continue it — led by the disclosure that a limit above the maximum was served at the maximum."
              },
              "spilled": {
                "type": "boolean",
                "description": "True when the view exceeded the inline preview and spilled to the canvas. False when it fit inline — including an inline fit re-staged on a supplied canvas_id, which table_name and staged_row_count report."
              },
              "canvas_id": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Canvas ID holding the staged table — pass to chembl_dataframe_describe to list its columns, then to chembl_dataframe_query to run SQL over them. Null when nothing was staged: canvas disabled, a cursor page, or an inline fit with no canvas_id supplied."
              },
              "truncated": {
                "type": "boolean",
                "description": "True when a bound stopped the page walk short of the view — the CHEMBL_MAX_SPILL_ROWS row cap or the CHEMBL_SPILL_DEADLINE_MS time budget, as truncated_by says. The staged table is then a bounded slice, NOT the complete view, so aggregates over it are a sample. Narrow the filters to bring the view under the bound."
              },
              "activities": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "activity_id",
                    "molecule_chembl_id",
                    "molecule_pref_name",
                    "parent_molecule_chembl_id",
                    "target_chembl_id",
                    "target_pref_name",
                    "target_organism",
                    "assay_chembl_id",
                    "assay_type",
                    "assay_description",
                    "bao_label",
                    "standard_type",
                    "standard_relation",
                    "standard_value",
                    "standard_units",
                    "pchembl_value",
                    "type",
                    "value",
                    "units",
                    "relation",
                    "activity_comment",
                    "data_validity_comment",
                    "potential_duplicate",
                    "assay_variant_mutation",
                    "assay_variant_accession",
                    "document_chembl_id",
                    "document_year"
                  ],
                  "properties": {
                    "type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Original (pre-standardization) activity type string from upstream."
                    },
                    "units": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Original units string from upstream."
                    },
                    "value": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Original value string from upstream — not coerced."
                    },
                    "relation": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Original relation string from upstream."
                    },
                    "bao_label": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Assay format from the BioAssay Ontology, e.g. \"single protein format\", \"protein format\", \"cell-based format\"; \"assay format\" means no specific format was assigned. The format of the assay, not the type of the target: a single-protein target has cell-based rows too. Null when absent."
                    },
                    "assay_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Assay type code: B=binding, F=functional, A=ADMET, T=toxicity, P=physicochemical, U=unclassified. Null when absent."
                    },
                    "activity_id": {
                      "type": "number",
                      "description": "ChEMBL activity row ID."
                    },
                    "document_year": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Publication year of the source document. Null when it has none, as for deposited datasets."
                    },
                    "pchembl_value": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "−log10(molar potency); the rank field. Null when underivable (non-standard type, censored relation)."
                    },
                    "standard_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Standardized activity type, e.g. \"IC50\", \"Ki\", \"EC50\" — the comparability key. Null when absent."
                    },
                    "standard_units": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Standardized units, e.g. \"nM\". Null when absent."
                    },
                    "standard_value": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Standardized value in standard_units. Null when the measurement is missing — never 0."
                    },
                    "assay_chembl_id": {
                      "type": "string",
                      "description": "ChEMBL assay ID — pass to chembl_get_assay for provenance; it takes up to 100 distinct assay IDs in one call."
                    },
                    "target_organism": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Target organism, e.g. \"Homo sapiens\". Null when unspecified."
                    },
                    "activity_comment": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Depositor or curator comment on the result, free text such as \"Not Active\", \"Active\", or \"Inconclusive\" — often the only result when standard_value is null. Null when absent."
                    },
                    "target_chembl_id": {
                      "type": "string",
                      "description": "ChEMBL target ID the compound was measured against."
                    },
                    "target_pref_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Target preferred name. Null when unnamed."
                    },
                    "assay_description": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Assay description text. Null when absent."
                    },
                    "standard_relation": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Standardized relation, e.g. \"=\", \">\", \"<\". Null when absent."
                    },
                    "document_chembl_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ChEMBL document ID of the publication or deposited dataset the measurement comes from — pass to chembl_get_documents for its title, PMID, and DOI to cite. Null when absent."
                    },
                    "molecule_chembl_id": {
                      "type": "string",
                      "description": "ChEMBL molecule ID of the measured compound."
                    },
                    "molecule_pref_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Compound preferred name. Null for many research compounds."
                    },
                    "potential_duplicate": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "ChEMBL's potential_duplicate flag: true when the value is likely a repeat citation of one reported in an earlier document rather than a new measurement — filter on potential_duplicate IS NOT TRUE before counting measurements per compound, which keeps a row whose flag is null. false does not prove the measurement independent. Null when ChEMBL records no flag."
                    },
                    "data_validity_comment": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ChEMBL data-validity annotation, e.g. \"Outside typical range\", \"Potential transcription error\", \"Non standard unit for type\", or \"Manually validated\" (a value curators confirmed). Null when unannotated."
                    },
                    "assay_variant_mutation": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Variant of the target protein the assay measured, as ChEMBL records it: a substitution (\"T315I\"), a deletion (\"F508del\"), several joined by \",\" or \"/\" (\"L858R,T790M\"), or \"UNDEFINED MUTATION\" for an unspecified mutant. Null when no variant is recorded."
                    },
                    "assay_variant_accession": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "UniProt accession of the variant protein, which can differ from the target's own. Null when no variant is recorded, and for UNDEFINED MUTATION."
                    },
                    "parent_molecule_chembl_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Family parent of the measured compound: the ID ChEMBL files its salts and other alternate forms under, and the one include_alternate_forms reads by. Equals molecule_chembl_id when the compound is its own parent; GROUP BY it to merge a drug with its salts. Null when absent."
                    }
                  },
                  "description": "One bioactivity measurement linking a compound, target, and assay.",
                  "additionalProperties": false
                },
                "description": "Bioactivity rows for the selected potency_view — the inline preview, the cursor page, or the full view when it fit without spilling."
              },
              "nextCursor": {
                "type": "string",
                "description": "Opaque token for the next page of this view — pass it back as cursor with the same filters and potency_view. Minted only when nothing was staged and rows remain past this page: with the canvas disabled, on a cursor page, or when the view fit inline with no canvas_id supplied. Absent on the last page and whenever the call staged a table (a spill, or an inline fit re-staged on a supplied canvas_id)."
              },
              "table_name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Canvas table name holding the staged rowset, and the FROM target for chembl_dataframe_query SQL — \"bioactivities\" for potency_ranked, \"bioactivities_null_potency\" for null_potency. Null when nothing was staged."
              },
              "totalCount": {
                "type": "number",
                "description": "Total matching measurements upstream — the honest full count spanning BOTH potency views, before any preview cap. The staged/preview rows are the selected view of this."
              },
              "potency_view": {
                "enum": [
                  "potency_ranked",
                  "null_potency"
                ],
                "type": "string",
                "description": "Which view these rows came from: \"potency_ranked\" = measurements with a derivable pchembl_value; \"null_potency\" = measurements with none. Re-call with the other value to reach the rest of totalCount."
              },
              "truncated_by": {
                "anyOf": [
                  {
                    "enum": [
                      "row_cap",
                      "time_budget"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "The bound that cut the staged table short when truncated is true: \"row_cap\" — the CHEMBL_MAX_SPILL_ROWS cap; \"time_budget\" — the CHEMBL_SPILL_DEADLINE_MS budget ended the page walk, at its expiry or once what was left would not hold another page, so a re-call can stage more. Null when truncated is false."
              },
              "appliedFilters": {
                "type": "object",
                "required": [
                  "scope",
                  "standard_type",
                  "pchembl_value_min",
                  "assay_type",
                  "organism",
                  "variant"
                ],
                "properties": {
                  "scope": {
                    "type": "string",
                    "description": "Which IDs scoped the query: the molecule, the target, or both when it narrowed to a compound–target pair. Under include_alternate_forms the molecule side names the family parent whose forms were read."
                  },
                  "variant": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The variant filter applied — \"wild_type\", or the variant string matched, spaces beside separators removed — or null."
                  },
                  "organism": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The organism filter applied, or null."
                  },
                  "assay_type": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The assay_type filter applied, or null."
                  },
                  "standard_type": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "The standard_type filter applied, or null."
                  },
                  "pchembl_value_min": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "The pchembl_value_min filter applied, or null."
                  }
                },
                "description": "Filters as the server parsed them.",
                "additionalProperties": false
              },
              "canvasDisabled": {
                "type": "boolean",
                "description": "True when the server runs with the canvas off (CANVAS_PROVIDER_TYPE=none), so large sets could not spill — the inline rows are one page of the view, not the full set, and nextCursor continues it."
              },
              "staged_row_count": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Rows actually registered on the canvas table — 0 when a re-staged view matched nothing. Null when nothing was staged. Below the view total when truncated is true."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "chembl_search_targets",
          "title": "chembl-search-targets",
          "description": "Resolve a protein/gene/UniProt accession to the ChEMBL target ID that chembl_get_bioactivities needs for the target→leads workflow. Supply at least one of accession (UniProt, e.g. P00533), gene_symbol (e.g. EGFR), or query (free-text name, or a ChEMBL target ID such as CHEMBL203 to read that one target); filter further by organism and target_type. Returns each target with its type, organism, and component UniProt accessions + gene symbols. A UniProt accession from the uniprot/protein server is the most precise input. A capped result carries nextCursor — pass it back as cursor with the same filters to read the next page.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 10000,
                "minimum": 1,
                "description": "Maximum targets to return, up to 100 — a larger value is served at 100, with a notice saying so. Defaults to the server default (25) when omitted."
              },
              "query": {
                "type": "string",
                "description": "Free-text name match against the target preferred name, e.g. \"kinase\" or \"growth factor receptor\" — or a ChEMBL target ID in any case, e.g. \"CHEMBL203\", which returns that one target."
              },
              "cursor": {
                "type": "string",
                "description": "Opaque continuation token from a previous call's nextCursor — resumes where that page ended. Omit for the first page. Re-send the same accession/gene_symbol/query/filters that minted it (only limit may change; it sets this page's size); redeeming it against different filters walks a different result set."
              },
              "organism": {
                "type": "string",
                "description": "Restrict to a source organism by the scientific name ChEMBL records, e.g. \"Homo sapiens\" (case-insensitive exact match) — a common name such as \"human\" matches nothing."
              },
              "accession": {
                "type": "string",
                "description": "UniProt accession of a target component, e.g. \"P00533\". The most precise resolver — from the uniprot/protein server."
              },
              "gene_symbol": {
                "type": "string",
                "description": "Gene symbol of a target component, e.g. \"EGFR\" (case-insensitive exact match)."
              },
              "target_type": {
                "type": "string",
                "description": "Restrict to one target class, named in full, e.g. \"SINGLE PROTEIN\" or \"PROTEIN COMPLEX\" (exact match on the whole class, case-insensitive here) — a partial class such as \"PROTEIN\" matches nothing."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "targets",
                  "totalCount",
                  "truncated",
                  "shown",
                  "cap"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "cap": {
                "type": "number",
                "description": "The limit that was applied."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "rate_limited",
                          "missing_input"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: ChEMBL has no record for the requested identifier or structure. `rate_limited`: ChEMBL rate-limits the upstream request. `missing_input`: None of query, accession, or gene_symbol was supplied. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "shown": {
                "type": "number",
                "description": "Number of targets returned."
              },
              "notice": {
                "type": "string",
                "description": "Guidance when no target matched — echoes every filter sent, names the organism or target_type form ChEMBL matches, and suggests how to broaden — and the disclosure that a limit above the maximum was served at the maximum."
              },
              "targets": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "target_chembl_id",
                    "pref_name",
                    "target_type",
                    "organism",
                    "components"
                  ],
                  "properties": {
                    "organism": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Source organism, e.g. \"Homo sapiens\". Null when unspecified."
                    },
                    "pref_name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Preferred target name, e.g. \"Epidermal growth factor receptor\". Null when unnamed."
                    },
                    "components": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "accession",
                          "gene_symbols"
                        ],
                        "properties": {
                          "accession": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "UniProt accession of the protein component, e.g. \"P00533\". Null when not a protein target."
                          },
                          "gene_symbols": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "description": "A gene symbol for this component, e.g. \"EGFR\"."
                            },
                            "description": "Gene symbols for this component, flattened from component synonyms. Empty when none are recorded."
                          }
                        },
                        "description": "One protein component of the target.",
                        "additionalProperties": false
                      },
                      "description": "Protein components with UniProt accessions and gene symbols."
                    },
                    "target_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Target class: \"SINGLE PROTEIN\", \"PROTEIN COMPLEX\", \"PROTEIN FAMILY\", \"CELL-LINE\", \"ORGANISM\", etc."
                    },
                    "target_chembl_id": {
                      "type": "string",
                      "description": "ChEMBL target ID, e.g. \"CHEMBL203\". Pass to chembl_get_bioactivities as target_chembl_id."
                    }
                  },
                  "description": "A ChEMBL target resolved from the supplied protein identifier.",
                  "additionalProperties": false
                },
                "description": "Matching targets (up to the limit)."
              },
              "truncated": {
                "type": "boolean",
                "description": "True when the result was capped at the limit."
              },
              "nextCursor": {
                "type": "string",
                "description": "Opaque token for the next page — pass it back as cursor with the same filters. Absent when this page is the last one."
              },
              "totalCount": {
                "type": "number",
                "description": "Total targets matching the filters before the limit was applied."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "chembl_get_drug_info",
          "title": "chembl-get-drug-info",
          "description": "Pharmacology for a drug (molecule): mechanism(s) of action, the molecular target(s) it acts on, action type (inhibitor / agonist / …), max clinical phase, first-approval year, whether it has been withdrawn from a market or carries a boxed warning with ChEMBL's withdrawal and boxed-warning records, and clinical indications with the max phase reached for each. A withdrawn drug keeps max_phase 4 — read withdrawn and warnings before taking phase 4 as on the market. Supply molecule_chembl_id (from chembl_search_molecules) — a parent or any of its salts and other alternate forms reads the same family: ChEMBL often records a drug's mechanisms, approved indications, and warnings on a salt, so both flags and every list cover the whole family under parent_molecule_chembl_id, isotope-labelled and deuterated analogs included. max_phase and first_approval come from the queried form's own record, never from the family, since an analog filed under an approved parent can itself be investigational; re-call with parent_molecule_chembl_id to read them for the parent. Each mechanism and warning names the form it is recorded on, and each indication is listed once per MeSH/EFO pair at the highest phase any form reached, with the forms it is recorded on, each at its own phase. Distinct from the openfda server's label/adverse-event view — this is the curated mechanism-and-indication record. A mechanism's target_chembl_id chains into chembl_get_bioactivities for compounds hitting the same target. Each list carries its own retrieval state: an empty mechanisms, indications, or warnings array means the molecule has none recorded only when the matching mechanisms_status / indications_status / warnings_status is \"complete\" — \"failed\" means the list was not retrieved (the request ran out of time or ChEMBL answered with an error, as the matching *_failure says) and the array says nothing about the molecule, and \"truncated\" means the page cap fetched fewer rows than ChEMBL holds, which the matching *_total_count reports.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "molecule_chembl_id"
            ],
            "properties": {
              "molecule_chembl_id": {
                "type": "string",
                "minLength": 1,
                "description": "ChEMBL molecule ID (from chembl_search_molecules), e.g. \"CHEMBL939\" for gefitinib, or the molecule's standard InChIKey, e.g. \"XGALLCVXEZPNRQ-UHFFFAOYSA-N\". A salt or other alternate form answers with its parent's family, the same as the parent."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "molecule_chembl_id",
                  "parent_molecule_chembl_id",
                  "pref_name",
                  "max_phase",
                  "first_approval",
                  "withdrawn",
                  "black_box_warning",
                  "mechanisms",
                  "mechanisms_total_count",
                  "mechanisms_status",
                  "mechanisms_failure",
                  "indications",
                  "indications_total_count",
                  "indications_rows_fetched",
                  "indications_status",
                  "indications_failure",
                  "warnings",
                  "warnings_total_count",
                  "warnings_status",
                  "warnings_failure"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "not_found",
                          "rate_limited"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `not_found`: ChEMBL has no record for the requested identifier or structure. `rate_limited`: ChEMBL rate-limits the upstream request. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "notice": {
                "type": "string",
                "description": "Disclosure of anything the lists and the family-level fields do not say for themselves: a list whose upstream fetch timed out or failed (so its emptiness means nothing), a list the page cap bounded, a read of the family's forms that failed or was cut short (so withdrawn and black_box_warning may not cover every form), or — only when the mechanism and indication lists both came back complete and empty — that the molecule may be a research compound rather than a drug."
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "warning_type",
                    "warning_class",
                    "warning_country",
                    "warning_year",
                    "warning_description",
                    "efo_id",
                    "efo_term",
                    "molecule_chembl_id",
                    "refs"
                  ],
                  "properties": {
                    "refs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "ref_type",
                          "ref_id",
                          "ref_url"
                        ],
                        "properties": {
                          "ref_id": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Identifier within the source, e.g. a DailyMed set ID or a PubMed ID. Null when absent."
                          },
                          "ref_url": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Link to the source. Null when absent."
                          },
                          "ref_type": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Source type, e.g. \"DailyMed\", \"FDA\", \"WHO\", \"PubMed\". Null when absent."
                          }
                        },
                        "description": "One source ChEMBL cites for the record.",
                        "additionalProperties": false
                      },
                      "description": "The sources ChEMBL cites for the record. Empty when it cites none."
                    },
                    "efo_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "EFO ID of the adverse effect, e.g. \"EFO:0000712\". Null when unmapped."
                    },
                    "efo_term": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "EFO term of the adverse effect, e.g. \"stroke\". Null when unmapped."
                    },
                    "warning_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "\"Withdrawn\" (pulled from the market where warning_country says) or \"Black Box Warning\" (a boxed warning on the label). Null when absent."
                    },
                    "warning_year": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Year of the withdrawal, e.g. 2004. Null when ChEMBL records none, as on boxed warnings."
                    },
                    "warning_class": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Toxicity class, e.g. \"cardiotoxicity\", \"hepatotoxicity\". Null when ChEMBL records none."
                    },
                    "warning_country": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Where it applies: a country, a semicolon-separated list of them, \"Worldwide\", or a region such as \"European Union\". Null when absent."
                    },
                    "molecule_chembl_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The form of the drug the record is filed on — the parent, or one of its salts or other alternate forms. Null when ChEMBL names none."
                    },
                    "warning_description": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Why the drug was withdrawn, e.g. \"Risk for heart attack and stroke\". Null when ChEMBL records none, as on boxed warnings."
                    }
                  },
                  "description": "One withdrawal or boxed-warning record ChEMBL files on a form of the drug.",
                  "additionalProperties": false
                },
                "description": "Withdrawal and boxed-warning records filed on the drug and its alternate forms, one per ChEMBL record. Empty is authoritative only when warnings_status is \"complete\"."
              },
              "max_phase": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The queried form's own max clinical phase, as its ChEMBL record writes it: 4 = approved, 3–1 = trial phase, 0.5 = early phase 1, −1 = clinical with the phase unknown. Never the family's highest: ChEMBL files deuterated and isotope-labelled analogs under their parent, so the parent's phase would read an investigational analog as approved. A salt can record a lower phase than its parent — re-call with parent_molecule_chembl_id for the parent's own phase. A drug withdrawn from a market keeps 4: read withdrawn and warnings for that. Null when ChEMBL records no clinical development for this form."
              },
              "pref_name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Preferred drug name, e.g. \"GEFITINIB\". Null when unnamed."
              },
              "withdrawn": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether any form of the drug's family has been withdrawn from the market in at least one country — the parent and every form ChEMBL files under it, salts and isotope-labelled and deuterated analogs included; warnings says where, when, and why, and each warning's molecule_chembl_id names the form it is filed on. The drug can still be marketed elsewhere, and a withdrawal never lowers max_phase. Null when no form read carries the flag and not every form could be read, as the notice then says — unknown, never a guessed false."
              },
              "mechanisms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "target_chembl_id",
                    "mechanism_of_action",
                    "action_type",
                    "molecule_chembl_id"
                  ],
                  "properties": {
                    "action_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Action type, e.g. \"INHIBITOR\", \"AGONIST\", \"ANTAGONIST\". Null when absent."
                    },
                    "target_chembl_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ChEMBL target ID the mechanism acts on — chain to chembl_get_bioactivities. Null when unspecified."
                    },
                    "molecule_chembl_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The form of the drug the mechanism is recorded on — the parent, or one of its salts or other alternate forms. Null when ChEMBL names none."
                    },
                    "mechanism_of_action": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Mechanism of action, e.g. \"Epidermal growth factor receptor erbB1 inhibitor\". Null when absent."
                    }
                  },
                  "description": "One mechanism of action linked to its molecular target.",
                  "additionalProperties": false
                },
                "description": "Mechanisms of action. Empty is authoritative only when mechanisms_status is \"complete\"."
              },
              "indications": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "mesh_id",
                    "mesh_heading",
                    "efo_id",
                    "efo_term",
                    "max_phase_for_ind",
                    "forms"
                  ],
                  "properties": {
                    "forms": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "molecule_chembl_id",
                          "max_phase_for_ind"
                        ],
                        "properties": {
                          "max_phase_for_ind": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Max clinical phase THIS form reached for the indication — a deuterated analog can sit lower than its parent. Null when unknown."
                          },
                          "molecule_chembl_id": {
                            "type": "string",
                            "description": "A form of the drug the indication is recorded on — the parent, or one of its salts or other alternate forms."
                          }
                        },
                        "description": "One form the indication is recorded on, at its own phase.",
                        "additionalProperties": false
                      },
                      "description": "The forms of the drug the indication is recorded on, each with its own highest phase for it. Empty when ChEMBL names none."
                    },
                    "efo_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "EFO ontology ID, e.g. \"EFO:0003060\". Null when absent."
                    },
                    "mesh_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "MeSH descriptor ID, e.g. \"D002289\". Null when absent."
                    },
                    "efo_term": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "EFO disease term, e.g. \"non-small cell lung carcinoma\". Null when absent."
                    },
                    "mesh_heading": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "MeSH disease heading, e.g. \"Carcinoma, Non-Small-Cell Lung\". Null when absent."
                    },
                    "max_phase_for_ind": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Max clinical phase reached for THIS indication (4 = approved, 3–1 = trial phase, 0.5 = early phase 1, −1 = phase unknown), the highest across the forms it is recorded on. Null when unknown."
                    }
                  },
                  "description": "One clinical indication, listed once per MeSH/EFO pair across the drug and its alternate forms, with the highest phase reached for it and the phase each form reached.",
                  "additionalProperties": false
                },
                "description": "Clinical indications. Empty is authoritative only when indications_status is \"complete\". When \"truncated\", each indication's max_phase_for_ind and forms are lower bounds: rows past the page cap can raise a phase or add a form."
              },
              "first_approval": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "The queried form's own year of first approval, e.g. 2003 — never the family's earliest, which would hand a deuterated analog approved years later its parent's year. A withdrawal does not clear it: read withdrawn and warnings for that. Null when this form records none — unapproved, or the year is unknown (ChEMBL records a few drugs' year on a salt alone)."
              },
              "warnings_status": {
                "enum": [
                  "complete",
                  "truncated",
                  "failed"
                ],
                "type": "string",
                "description": "Retrieval state of the warning list. \"complete\" = every row ChEMBL records for the molecule and its alternate forms is present, so an empty array is a fact about the molecule. \"truncated\" = the single-request page cap bounded the list, so the array is a prefix of warnings_total_count rows. \"failed\" = the list was not retrieved (the request ran out of time or ChEMBL answered with an error, as warnings_failure says), so the empty array is unknown data, NOT evidence that none exist — re-call chembl_get_drug_info to retry."
              },
              "warnings_failure": {
                "anyOf": [
                  {
                    "enum": [
                      "timeout",
                      "upstream_error"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Why the warning list failed, when warnings_status is \"failed\": \"timeout\" = the request ran out of time before ChEMBL returned the list; \"upstream_error\" = ChEMBL answered with an error (a rate limit, a server error, a rejected request) or could not be reached. Null when the list did not fail."
              },
              "black_box_warning": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether any form of the drug's family carries a boxed (\"black box\") warning on its label — the parent and every form ChEMBL files under it, salts and isotope-labelled and deuterated analogs included; warnings names the country and the label cited, and each warning's molecule_chembl_id names the form it is filed on. Null when no form read carries the flag and not every form could be read, as the notice then says — unknown, never a guessed false."
              },
              "mechanisms_status": {
                "enum": [
                  "complete",
                  "truncated",
                  "failed"
                ],
                "type": "string",
                "description": "Retrieval state of the mechanism list. \"complete\" = every row ChEMBL records for the molecule and its alternate forms is present, so an empty array is a fact about the molecule. \"truncated\" = the single-request page cap bounded the list, so the array is a prefix of mechanisms_total_count rows. \"failed\" = the list was not retrieved (the request ran out of time or ChEMBL answered with an error, as mechanisms_failure says), so the empty array is unknown data, NOT evidence that none exist — re-call chembl_get_drug_info to retry."
              },
              "indications_status": {
                "enum": [
                  "complete",
                  "truncated",
                  "failed"
                ],
                "type": "string",
                "description": "Retrieval state of the indication list. \"complete\" = every row ChEMBL records for the molecule and its alternate forms is present, so an empty array is a fact about the molecule. \"truncated\" = the single-request page cap bounded the list, so the array holds the indications of the rows fetched (indications_rows_fetched, fewer than indications_total_count). \"failed\" = the list was not retrieved (the request ran out of time or ChEMBL answered with an error, as indications_failure says), so the empty array is unknown data, NOT evidence that none exist — re-call chembl_get_drug_info to retry."
              },
              "mechanisms_failure": {
                "anyOf": [
                  {
                    "enum": [
                      "timeout",
                      "upstream_error"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Why the mechanism list failed, when mechanisms_status is \"failed\": \"timeout\" = the request ran out of time before ChEMBL returned the list; \"upstream_error\" = ChEMBL answered with an error (a rate limit, a server error, a rejected request) or could not be reached. Null when the list did not fail."
              },
              "molecule_chembl_id": {
                "type": "string",
                "description": "The ChEMBL molecule ID queried, as the molecule's own record writes it."
              },
              "indications_failure": {
                "anyOf": [
                  {
                    "enum": [
                      "timeout",
                      "upstream_error"
                    ],
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Why the indication list failed, when indications_status is \"failed\": \"timeout\" = the request ran out of time before ChEMBL returned the list; \"upstream_error\" = ChEMBL answered with an error (a rate limit, a server error, a rejected request) or could not be reached. Null when the list did not fail."
              },
              "warnings_total_count": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Total warning rows ChEMBL holds for the molecule and its alternate forms. Exceeds the returned array length exactly when the status is \"truncated\". Null when the fetch failed — the count is unknown, never 0."
              },
              "mechanisms_total_count": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Total mechanism rows ChEMBL holds for the molecule and its alternate forms. Exceeds the returned array length exactly when the status is \"truncated\". Null when the fetch failed — the count is unknown, never 0."
              },
              "indications_total_count": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "When the status is \"complete\", the number of distinct indications — the returned array length, rows recorded on several forms counted once. When \"truncated\", the indication rows ChEMBL holds for the molecule and its alternate forms, an upper bound on the distinct indications. Null when the fetch failed — the count is unknown, never 0."
              },
              "indications_rows_fetched": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Indication rows fetched from ChEMBL for the molecule and its alternate forms, before rows recorded on several forms merge. When the status is \"truncated\", each row not fetched (indications_total_count minus this) can add at most one indication, so that difference bounds the indications missing. Null when the fetch failed."
              },
              "parent_molecule_chembl_id": {
                "type": "string",
                "description": "The parent of the queried molecule's family — the molecule itself when it is the parent or ChEMBL records no hierarchy for it. Both flags and every list cover this parent and every alternate form ChEMBL files under it (salts, isotope-labelled and deuterated analogs); max_phase and first_approval are the queried molecule's own — pass this ID as molecule_chembl_id for the parent's."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "chembl_get_assay",
          "title": "chembl-get-assay",
          "description": "Assay provenance behind bioactivity rows, for one assay or a shortlist in one call: description, type (binding / functional / ADMET / toxicity), BioAssay Ontology format (single protein, cell-based, organism-based, …), the target it measures, organism, cell type, tissue, strain, source document, and ChEMBL's 0–9 confidence score (9 = direct single protein target, lower = homologous, complex, or non-protein targets, 0 = no target assigned yet). Supply assay_chembl_ids from chembl_get_bioactivities rows: the first 100 distinct IDs are looked up and returned in the order given, the rest come back in deferred_ids to pass again, and an ID with no assay record (a compound or target ID included) is listed in not_found_ids rather than failing the call. Call this to judge whether measurements are comparable before ranking them together.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "assay_chembl_ids"
            ],
            "properties": {
              "assay_chembl_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\s*[Cc][Hh][Ee][Mm][Bb][Ll]\\d+\\s*$"
                },
                "maxItems": 1000,
                "minItems": 1,
                "description": "ChEMBL assay IDs from bioactivity rows' assay_chembl_id, e.g. [\"CHEMBL674637\", \"CHEMBL3877213\"]: 1–1000, any case. The first 100 distinct IDs are looked up; the rest come back in deferred_ids."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "assays",
                  "not_found_ids",
                  "deferred_ids"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "rate_limited"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `rate_limited`: ChEMBL rate-limits the upstream request. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "assays": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "assay_chembl_id",
                    "description",
                    "assay_type",
                    "assay_type_description",
                    "bao_label",
                    "target_chembl_id",
                    "organism",
                    "assay_cell_type",
                    "assay_tissue",
                    "assay_strain",
                    "confidence_score",
                    "confidence_description",
                    "document_chembl_id"
                  ],
                  "properties": {
                    "organism": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Organism ChEMBL records for the assay itself, not its target's organism. Null when the assay records none, even when the target is a human protein."
                    },
                    "bao_label": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "BioAssay Ontology format of the assay, e.g. \"single protein format\", \"cell-based format\", \"organism-based format\", \"tissue-based format\". Null when absent."
                    },
                    "assay_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Assay type code: B=binding, F=functional, A=ADMET, T=toxicity, P=physicochemical, U=unclassified. Null when absent."
                    },
                    "description": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Assay description text. Null when absent."
                    },
                    "assay_strain": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Strain of the organism the assay used, e.g. \"Sprague-Dawley\". Null when ChEMBL records none."
                    },
                    "assay_tissue": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Tissue the assay ran in, e.g. \"Liver\", \"Plasma\". Null when ChEMBL records none."
                    },
                    "assay_cell_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Cell line or cell type the assay ran in, e.g. \"A-431\". Null when ChEMBL records none, as for most assays that are not cell-based."
                    },
                    "assay_chembl_id": {
                      "type": "string",
                      "description": "ChEMBL assay ID."
                    },
                    "confidence_score": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "ChEMBL confidence score, 0–9: 9 = direct single protein target, 8 = homologous single protein, 7–4 = protein complexes or multiple proteins, 3–1 = a non-protein, subcellular, or non-molecular target, 0 = no target assigned yet (ChEMBL's default; target_chembl_id is then a placeholder such as Unchecked or ADMET). Null when absent from the record."
                    },
                    "target_chembl_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ChEMBL target ID the assay measures — chain to chembl_search_targets/chembl_get_bioactivities. Null when unassigned."
                    },
                    "document_chembl_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "ChEMBL document ID of the publication or deposited dataset that described the assay, e.g. \"CHEMBL3875233\" — pass to chembl_get_documents for its title, PMID, and DOI to cite. Null when absent."
                    },
                    "assay_type_description": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Human-readable assay type, e.g. \"Binding\". Null when absent."
                    },
                    "confidence_description": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Human-readable confidence description, e.g. \"Direct single protein target assigned\". Null when absent."
                    }
                  },
                  "description": "One assay: its provenance and confidence score.",
                  "additionalProperties": false
                },
                "description": "The assays found, in the order their IDs were given."
              },
              "notice": {
                "type": "string",
                "description": "Present when not_found_ids or deferred_ids is non-empty: counts each and says where assay IDs come from and how to look up the deferred ones."
              },
              "deferred_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Distinct IDs past the first 100, not looked up, in the order given — pass them as assay_chembl_ids in another call. Empty when none."
              },
              "not_found_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "IDs looked up that ChEMBL holds no assay for — an unknown ID, or a compound, target, or document ID — in the order given. Empty when every ID looked up was found."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "chembl_get_documents",
          "title": "chembl-get-documents",
          "description": "The publication, patent, or deposited dataset behind ChEMBL document IDs, for one document or a shortlist in one call: type, title, authors, journal, year, volume, issue, pages, PubMed ID, DOI, and patent number. Supply document_chembl_ids from the document_chembl_id of chembl_get_bioactivities rows or chembl_get_assay records: the first 100 distinct IDs are looked up and returned in the order given, the rest come back in deferred_ids to pass again, and an ID with no document record (a compound, target, or assay ID included) is listed in not_found_ids rather than failing the call. Call this to cite a measurement; a pubmed_id or doi chains to a PubMed or Crossref server for the abstract.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "document_chembl_ids"
            ],
            "properties": {
              "document_chembl_ids": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^\\s*[Cc][Hh][Ee][Mm][Bb][Ll]\\d+\\s*$"
                },
                "maxItems": 1000,
                "minItems": 1,
                "description": "ChEMBL document IDs from the document_chembl_id of bioactivity rows or assay records, e.g. [\"CHEMBL3351701\", \"CHEMBL1240298\"]: 1–1000, any case. The first 100 distinct IDs are looked up; the rest come back in deferred_ids."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "documents",
                  "not_found_ids",
                  "deferred_ids"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "rate_limited"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `rate_limited`: ChEMBL rate-limits the upstream request. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "notice": {
                "type": "string",
                "description": "Present when not_found_ids or deferred_ids is non-empty: counts each and says where document IDs come from and how to look up the deferred ones."
              },
              "documents": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "document_chembl_id",
                    "doc_type",
                    "title",
                    "authors",
                    "journal",
                    "year",
                    "volume",
                    "issue",
                    "first_page",
                    "last_page",
                    "pubmed_id",
                    "doi",
                    "patent_id"
                  ],
                  "properties": {
                    "doi": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "DOI, e.g. \"10.1021/jm501578n\"; a dataset deposited with ChEMBL carries a ChEMBL-minted 10.6019/ DOI. Null when absent."
                    },
                    "year": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Publication year, e.g. 2014. Null when ChEMBL records none, as for many datasets."
                    },
                    "issue": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Journal issue as recorded, e.g. \"23\". Null when absent."
                    },
                    "title": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Title as ChEMBL records it. Null when absent."
                    },
                    "volume": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Journal volume as recorded, e.g. \"57\". Null when absent."
                    },
                    "authors": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Author list as ChEMBL records it, e.g. \"Knight ZA, Shokat KM.\". Null when ChEMBL records none, as for patents and many datasets."
                    },
                    "journal": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Journal abbreviation, e.g. \"J Med Chem\". Null when ChEMBL records none, as for patents and nearly every dataset."
                    },
                    "doc_type": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "PUBLICATION (a journal article), PATENT, DATASET (a deposited dataset, e.g. a PubChem BioAssay set), or BOOK. Null when absent."
                    },
                    "last_page": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Last page as recorded, e.g. \"10191\". Null when absent."
                    },
                    "patent_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Patent number, e.g. \"US-8470888-B2\". Null for anything but a patent."
                    },
                    "pubmed_id": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "PubMed ID as a digit string, e.g. \"25383627\" — pass it to a PubMed server for the abstract. Null for patents, most datasets, and some publications."
                    },
                    "first_page": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "First page as recorded, e.g. \"10176\". Null when absent."
                    },
                    "document_chembl_id": {
                      "type": "string",
                      "description": "ChEMBL document ID."
                    }
                  },
                  "description": "One document: the publication, patent, or dataset and how to cite it.",
                  "additionalProperties": false
                },
                "description": "The documents found, in the order their IDs were given."
              },
              "deferred_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Distinct IDs past the first 100, not looked up, in the order given — pass them as document_chembl_ids in another call. Empty when none."
              },
              "not_found_ids": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "IDs looked up that ChEMBL holds no document for — an unknown ID, or a compound, target, or assay ID — in the order given. Empty when every ID looked up was found."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": true,
            "idempotentHint": true
          }
        },
        {
          "name": "chembl_dataframe_query",
          "title": "chembl-dataframe-query",
          "description": "Run a read-only SQL SELECT over the bioactivity rows chembl_get_bioactivities staged on a canvas — rank, group, dedupe, and aggregate across the FULL set, not the inline preview. Reference each staged table by the name chembl_get_bioactivities returned — bioactivities for its potency_ranked view, bioactivities_null_potency for null_potency; discover the staged tables and their columns with chembl_dataframe_describe. Compute honest aggregates here (e.g. SELECT parent_molecule_chembl_id, MEDIAN(pchembl_value) AS med FROM bioactivities WHERE standard_type = 'IC50' AND potential_duplicate IS NOT TRUE GROUP BY 1 ORDER BY 2 DESC, which merges a drug with its salts and drops likely repeat citations). Every row the SQL returns comes back on both structuredContent and content[], so bound the result in the SQL itself: project only the columns you need and set a LIMIT. truncated is true when the result exceeded the canvas row cap; page past it with ORDER BY a unique column (e.g. activity_id) and LIMIT/OFFSET written into the query, in place of any LIMIT it already has — offsets reach rows beyond the cap. Unavailable when the server sets CANVAS_PROVIDER_TYPE=none.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "canvas_id",
              "sql"
            ],
            "properties": {
              "sql": {
                "type": "string",
                "description": "A read-only SELECT against the staged tables. Reference tables by the names chembl_get_bioactivities returned."
              },
              "canvas_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{10}$",
                "description": "Canvas ID returned by chembl_get_bioactivities — non-null whenever that call staged a table."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "rows",
                  "row_count",
                  "truncated"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "description": "Result rows (capped at the canvas row limit). Each row is a column→value map."
              },
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "canvas_disabled"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `canvas_disabled`: The server runs with the canvas off (CANVAS_PROVIDER_TYPE=none), so no canvas exists. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "row_count": {
                "type": "number",
                "description": "Number of rows materialized in this response."
              },
              "truncated": {
                "type": "boolean",
                "description": "True when the SQL result exceeded the canvas row cap, so rows is a bounded slice of the result set. Page past it with ORDER BY a unique column (e.g. activity_id) and LIMIT/OFFSET written into the query."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        },
        {
          "name": "chembl_dataframe_describe",
          "title": "chembl-dataframe-describe",
          "description": "List the tables and columns staged on a canvas by chembl_get_bioactivities — inspect before calling chembl_dataframe_query to write correct SQL. Returns each table with its row count, kind (table | view), and column names + types. Unavailable when the server sets CANVAS_PROVIDER_TYPE=none.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "canvas_id"
            ],
            "properties": {
              "canvas_id": {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{10}$",
                "description": "Canvas ID returned by chembl_get_bioactivities — non-null whenever that call staged a table."
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "anyOf": [
              {
                "not": {
                  "required": [
                    "error"
                  ]
                },
                "required": [
                  "tables"
                ]
              },
              {
                "required": [
                  "error"
                ]
              }
            ],
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "error": {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "description": "JSON-RPC error code for this failure."
                  },
                  "data": {
                    "type": "object",
                    "properties": {
                      "reason": {
                        "type": "string",
                        "examples": [
                          "canvas_disabled"
                        ],
                        "description": "Machine-readable failure mode. Declared by this tool: `canvas_disabled`: The server runs with the canvas off (CANVAS_PROVIDER_TYPE=none), so no canvas exists. Other values are possible when a failure originates below the handler."
                      },
                      "recovery": {
                        "type": "object",
                        "required": [
                          "hint"
                        ],
                        "properties": {
                          "hint": {
                            "type": "string"
                          }
                        },
                        "description": "Actionable next step for the caller.",
                        "additionalProperties": {}
                      },
                      "retryable": {
                        "type": "boolean",
                        "description": "Whether retrying may succeed."
                      }
                    },
                    "additionalProperties": {}
                  },
                  "message": {
                    "type": "string",
                    "description": "Human-readable description of what went wrong."
                  }
                },
                "description": "Present when the call failed. Absent on success.",
                "additionalProperties": {}
              },
              "tables": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "kind",
                    "row_count",
                    "columns"
                  ],
                  "properties": {
                    "kind": {
                      "enum": [
                        "table",
                        "view"
                      ],
                      "type": "string",
                      "description": "Whether the entry is a base table or a registered view."
                    },
                    "name": {
                      "type": "string",
                      "description": "Canvas-local table name, e.g. \"bioactivities\"."
                    },
                    "columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "name",
                          "type"
                        ],
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "Column name, e.g. \"pchembl_value\"."
                          },
                          "type": {
                            "type": "string",
                            "description": "Column type tag, e.g. \"DOUBLE\", \"VARCHAR\", \"BIGINT\"."
                          }
                        },
                        "description": "One column available for SQL.",
                        "additionalProperties": false
                      },
                      "description": "Columns available for SQL on this table."
                    },
                    "row_count": {
                      "type": "number",
                      "description": "Number of rows in the table (materialized COUNT for views)."
                    }
                  },
                  "description": "One staged table or view on the canvas.",
                  "additionalProperties": false
                },
                "description": "Tables and views staged on the canvas."
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "chembl-guide",
          "uri": "skill://chembl-guide/SKILL.md",
          "mimeType": "text/markdown",
          "description": "Gates and workflows for the chembl_* bioactivity tools, covering pinning a protein to its single-protein target, ranking leads without mixing mutants, salts, or repeat measurements, building a compound's target profile and selectivity with its inactive results, and checking assay provenance, source documents, and approval and withdrawal status. Use before ranking potencies, calling a compound selective or inactive, or saying what a drug hits or is approved for from chembl_* output."
        }
      ],
      "prompts": []
    },
    "instructions": "Drug-discovery data over ChEMBL (EBI) — the curated link between compounds, protein targets, and measured bioactivity (IC50/Ki/EC50), plus drug mechanisms and indications. Canonical chains: (1) a UniProt accession from the uniprot/protein server → chembl_search_targets → chembl_get_bioactivities for the most potent leads on a target, or with molecule_chembl_id supplied alongside target_chembl_id to narrow to how potently one compound hits that one target; (2) chembl_search_molecules → chembl_get_drug_info for a drug's mechanism and indications; (3) a molecule's standard_inchi_key → the pubchem server for richer chemistry, a drug that reached approval (max_phase 4, kept after a withdrawal — read chembl_get_drug_info's withdrawn and warnings) → the openfda server for the FDA label and adverse events; (4) a bioactivity row's document_chembl_id → chembl_get_documents for the source paper's title, PMID, and DOI → the pubmed server for its abstract. Ranking trap: pchembl_value is comparable only within one standard_type — set the standard_type filter (mixing IC50 and Ki is a scientific error). Coverage trap: many measurements have no derivable pchembl_value and are absent from the default potency-ranked view — chembl_get_bioactivities returns them only under potency_view: \"null_potency\", which stages its own canvas table alongside the ranked one. Salt trap: a drug's measurements are split across its salts and other alternate forms, and a salt often ranks first in chembl_search_molecules — every molecule row names its family parent_chembl_id and every activity row its parent_molecule_chembl_id (merge a drug with its salts on it), chembl_get_bioactivities reads the whole family under include_alternate_forms: true, and chembl_get_drug_info always reports the family's mechanisms, indications, withdrawal and boxed-warning flags, and warnings, beside the queried form's own phase and first approval (a deuterated analog filed under an approved parent keeps its own). A popular target carries tens of thousands of measurements; chembl_get_bioactivities spills the selected view to a DataCanvas table (call chembl_dataframe_describe for its columns, then chembl_dataframe_query to SQL them; unavailable only where the server sets CANVAS_PROVIDER_TYPE=none), bounded by a row cap (CHEMBL_MAX_SPILL_ROWS) and a time budget (CHEMBL_SPILL_DEADLINE_MS) — read truncated: true as a bounded slice, not the complete view, with truncated_by naming the bound. Pass that canvas_id back and each later non-cursor call re-stages the view's table with its own rows, inline fits included. Data from ChEMBL, licensed CC BY-SA 3.0 — attribute ChEMBL (https://www.ebi.ac.uk/chembl/) in downstream use."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}