Skip to main content
Glama

chembl-get-assay

chembl_get_assay
Read-onlyIdempotent

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.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "assay_chembl_ids": "<assay_chembl_ids>"
    },
    "name": "chembl_get_assay"
  }
}

Input Schema

NameRequiredDescriptionDefault
assay_chembl_idsYesChEMBL 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.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent when the call failed. Absent on success.
assaysNoThe assays found, in the order their IDs were given.
noticeNoPresent 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_idsNoDistinct 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_idsNoIDs 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • removedInput schema / properties / assay_chembl_id
      Removed value: -{
      -  "description": "ChEMBL assay ID from a bioactivity row's assay_chembl_id, e.g. \"CHEMBL674637\".",
      -  "pattern": "^\\s*[Cc][Hh][Ee][Mm][Bb][Ll]\\d+\\s*$",
      -  "type": "string"
      -}
    • addedInput schema / properties / assay_chembl_ids
      Added value: +{
      +  "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.",
      +  "items": {
      +    "pattern": "^\\s*[Cc][Hh][Ee][Mm][Bb][Ll]\\d+\\s*$",
      +    "type": "string"
      +  },
      +  "maxItems": 1000,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "assay_chembl_id"
      -]New value: +[
      +  "assay_chembl_ids"
      +]
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "not": {
      -      "required": [
      -        "error"
      -      ]
      -    },
      -    "required": [
      -      "assay_chembl_id",
      -      "description",
      -      "assay_type",
      -      "assay_type_description",
      -      "target_chembl_id",
      -      "organism",
      -      "confidence_score",
      -      "confidence_description"
      -    ]
      -  },
      -  {
      -    "required": [
      -      "error"
      -    ]
      -  }
      -]New value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "assays",
      +      "not_found_ids",
      +      "deferred_ids"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • removedOutput schema / properties / assay_chembl_id
      Removed value: -{
      -  "description": "The ChEMBL assay ID queried.",
      -  "type": "string"
      -}
    • removedOutput schema / properties / assay_type
      Removed value: -{
      -  "description": "Assay type code: B=binding, F=functional, A=ADMET, T=toxicity, P=physicochemical, U=unclassified. Null when absent.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / assay_type_description
      Removed value: -{
      -  "description": "Human-readable assay type, e.g. \"Binding\". Null when absent.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / assays
      Added value: +{
      +  "description": "The assays found, in the order their IDs were given.",
      +  "items": {
      +    "additionalProperties": false,
      +    "description": "One assay: its provenance and confidence score.",
      +    "properties": {
      +      "assay_cell_type": {
      +        "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.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "assay_chembl_id": {
      +        "description": "ChEMBL assay ID.",
      +        "type": "string"
      +      },
      +      "assay_strain": {
      +        "description": "Strain of the organism the assay used, e.g. \"Sprague-Dawley\". Null when ChEMBL records none.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "assay_tissue": {
      +        "description": "Tissue the assay ran in, e.g. \"Liver\", \"Plasma\". Null when ChEMBL records none.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "assay_type": {
      +        "description": "Assay type code: B=binding, F=functional, A=ADMET, T=toxicity, P=physicochemical, U=unclassified. Null when absent.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "assay_type_description": {
      +        "description": "Human-readable assay type, e.g. \"Binding\". Null when absent.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "bao_label": {
      +        "description": "BioAssay Ontology format of the assay, e.g. \"single protein format\", \"cell-based format\", \"organism-based format\", \"tissue-based format\". Null when absent.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "confidence_description": {
      +        "description": "Human-readable confidence description, e.g. \"Direct single protein target assigned\". Null when absent.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "confidence_score": {
      +        "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.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "description": {
      +        "description": "Assay description text. Null when absent.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "document_chembl_id": {
      +        "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.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "organism": {
      +        "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.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "target_chembl_id": {
      +        "description": "ChEMBL target ID the assay measures — chain to chembl_search_targets/chembl_get_bioactivities. Null when unassigned.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "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"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / confidence_description
      Removed value: -{
      -  "description": "Human-readable confidence description, e.g. \"Direct single protein target assigned\". Null when absent.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / confidence_score
      Removed value: -{
      -  "description": "ChEMBL confidence score, 1–9 (9 = direct single-protein assay; lower = homologous/indirect). Null when unscored.",
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
    • addedOutput schema / properties / deferred_ids
      Added value: +{
      +  "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.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • removedOutput schema / properties / description
      Removed value: -{
      -  "description": "Assay description text. Null when absent.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"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."New value: +"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."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "not_found",
      -  "rate_limited"
      -]New value: +[
      +  "rate_limited"
      +]
    • addedOutput schema / properties / not_found_ids
      Added value: +{
      +  "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.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / notice
      Added value: +{
      +  "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.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / organism
      Removed value: -{
      -  "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.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / target_chembl_id
      Removed value: -{
      -  "description": "ChEMBL target ID the assay measures — chain to chembl_search_targets/chembl_get_bioactivities. Null when unassigned.",
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  2. Changed1 schema field changed
    • changedOutput schema / properties / organism / description
      Previous value: -"Assay organism. Null when unspecified."New value: +"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."
  3. Changed2 schema fields changed
    • removedInput schema / properties / assay_chembl_id / minLength
      Removed value: -1
    • addedInput schema / properties / assay_chembl_id / pattern
      Added value: +"^\\s*[Cc][Hh][Ee][Mm][Bb][Ll]\\d+\\s*$"
  4. Changed2 schema fields changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode."New value: +"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."
    • addedOutput schema / properties / error / properties / data / properties / reason / examples
      Added value: +[
      +  "not_found",
      +  "rate_limited"
      +]
  5. Changed14 schema fields changed
    • removedOutput schema / properties / assay_type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / assay_type / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / assay_type_description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / assay_type_description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / confidence_description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / confidence_description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / confidence_score / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / confidence_score / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / organism / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / organism / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / target_chembl_id / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / target_chembl_id / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  6. Changed6 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedInput schema / additionalProperties
      Added value: +false
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "error"
      +      ]
      +    },
      +    "required": [
      +      "assay_chembl_id",
      +      "description",
      +      "assay_type",
      +      "assay_type_description",
      +      "target_chembl_id",
      +      "organism",
      +      "confidence_score",
      +      "confidence_description"
      +    ]
      +  },
      +  {
      +    "required": [
      +      "error"
      +    ]
      +  }
      +]
    • addedOutput schema / properties / error
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "Present when the call failed. Absent on success.",
      +  "properties": {
      +    "code": {
      +      "description": "JSON-RPC error code for this failure.",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "data": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "reason": {
      +          "description": "Machine-readable failure mode.",
      +          "type": "string"
      +        },
      +        "recovery": {
      +          "additionalProperties": {},
      +          "description": "Actionable next step for the caller.",
      +          "properties": {
      +            "hint": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "hint"
      +          ],
      +          "type": "object"
      +        },
      +        "retryable": {
      +          "description": "Whether retrying may succeed.",
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "message": {
      +      "description": "Human-readable description of what went wrong.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "code",
      +    "message"
      +  ],
      +  "type": "object"
      +}
    • removedOutput schema / required
      Removed value: -[
      -  "assay_chembl_id",
      -  "description",
      -  "assay_type",
      -  "assay_type_description",
      -  "target_chembl_id",
      -  "organism",
      -  "confidence_score",
      -  "confidence_description"
      -]
  7. First observed

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover read-only, idempotent and open-world behavior, so the baseline is lower. The description adds real operational detail beyond them: a 100-distinct-ID cap, order preservation, deferred_ids for the remainder, and that unresolvable IDs land in not_found_ids instead of failing the call. Rich, but the confidence-score explanation is domain context rather than tool behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and the returned-field inventory before the mechanics. The parenthetical field list and score rubric are dense but each element earns its place; only the field enumeration runs long.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers inputs, batching limits, partial-failure semantics and the decision the output supports, and an output schema exists so return shape needn't be explained. Nothing an agent needs to call and interpret this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and already documents the pattern, case-insensitivity, 1–1000 range and the first-100-distinct rule. The description still adds meaning the schema lacks: the IDs must come from bioactivity rows' assay_chembl_id, and passing a compound or target ID yields a not_found_ids entry rather than an error.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb+resource ('Assay provenance behind bioactivity rows') and enumerates the exact fields returned (description, type, BAO format, target, organism, cell type, tissue, strain, document, confidence score). It also distinguishes itself from chembl_get_bioactivities by positioning itself as the downstream lookup for those rows.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear triggering condition ('Call this to judge whether measurements are comparable before ranking them together') and tells the agent where the required IDs come from (chembl_get_bioactivities rows). No explicit when-not or naming of a competing sibling, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.