Skip to main content
Glama

chembl_data

Search ChEMBL molecules, targets, and assays; retrieve bioactivity rows by molecule or target ID and mechanism-of-action records for a compound.

Instructions

One entry point for ChEMBL text search, activities and mechanisms.

Pick kind:

  • search (default): free-text search. Requires query; resource is "molecule", "target" or "assay".

  • activities: bioactivity rows. Pass exactly one of chembl_id (molecule) or target_chembl_id.

  • mechanisms: mechanism-of-action rows for one molecule. Requires chembl_id; mechanisms are attached to the salt form, so a free base can legitimately return an empty list.

All kinds return a list envelope: count, items, plus total and next_offset for search/activities. Values are upstream standard type/value/units and pChEMBL; nothing is converted or normalized. Empty lists are true upstream answers, not errors.

Args: kind: "search", "activities" or "mechanisms". query: Search text (kind=search). resource: "molecule", "target" or "assay" (kind=search). chembl_id: ChEMBL molecule id (activities/mechanisms). target_chembl_id: ChEMBL target id (kind=activities). limit: Rows per page, 1-100. offset: Rows to skip.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
kindNosearch
limitNo
queryNo
offsetNo
resourceNomolecule
chembl_idNo
target_chembl_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the list envelope (count, items, total, next_offset), states pagination fields exist only for search/activities, warns that values are raw upstream type/value/units and pChEMBL with no normalization, and clarifies empty lists are valid answers rather than errors. It adds a non-obvious caveat about mechanisms being attached to salt forms. Missing are permission/auth or rate-limit notes, so it falls short of a 5.

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-loads the entry point, then mode bullets, then envelope notes, which is a usable structure. The trailing 'Args:' block largely restates the bullets and the schema titles, so some duplication could be trimmed, but nothing is padded with filler.

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?

For a seven-parameter, three-mode tool with no output schema and no annotations, the description supplies mode routing, parameter constraints, return envelope shape, pagination fields, and edge-case semantics (raw unnormalized values, empty results). Little an agent needs to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it fully does: every one of the seven parameters is explained, including the allowed kind values, allowed resource values, the mutual-exclusion rule for chembl_id vs target_chembl_id, and the 1-100 bounds on limit. This adds substantial meaning the bare schema does not provide.

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

Purpose4/5

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

Opens with a specific framing ('One entry point for ChEMBL text search, activities and mechanisms') and enumerates the three operating modes, so an agent knows exactly what resource and verbs are covered. It does not name any sibling tool to differentiate itself, which keeps it short of a 5 for a tool that overlaps with bindingdb_ligands and compound_lookup.

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?

Explicit routing logic is given per mode: search requires query and resource, activities requires exactly one of chembl_id or target_chembl_id, mechanisms requires chembl_id. That is clear when-to-use guidance within the tool. It offers no exclusions or cross-references telling the agent when to prefer a different sibling tool instead.

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