Skip to main content
Glama

bindingdb_ligands

Fetch BindingDB ligands and affinities for a UniProt target, filtering by nM cutoff to return SMILES and measured affinity data.

Instructions

Fetch BindingDB ligands/affinities for a UniProt target.

uniprot is a UniProt accession ("P35355"); cutoff_nm filters affinities (nM, default 10000). Returns monomer id, SMILES, affinity type and value. BindingDB is free/keyless; keep calls to ~1/s. Only upstream fields are returned; missing fields are omitted, nothing is inferred or completed. Failures return an error dict (error, source).

Args: uniprot: UniProt accession. cutoff_nm: Affinity cutoff in nM (default 10000). limit: Ligand rows to return, 1-100 (default 20).

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": {
      "uniprot": "<uniprot>"
    },
    "name": "bindingdb_ligands"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
uniprotYes
cutoff_nmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/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 that BindingDB is free and keyless, gives a rate-limit ceiling (~1/s), states that only upstream fields are returned with missing fields omitted and nothing inferred, and defines the error response shape (`error`, `source`). It stops short of describing pagination behavior or how large result sets are truncated.

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?

The prose paragraph is front-loaded with purpose, then behavior, then failure mode, followed by a compact Args block — good structure with no wasted sentences. The only redundancy is that `cutoff_nm`'s default and units are stated twice, once inline and once in Args.

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

Completeness4/5

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

For a three-parameter read tool with no annotations and no output schema, the description supplies the return fields (monomer id, SMILES, affinity type and value), the error contract, and the rate limit. The remaining gap is result-set size/pagination beyond `limit`, which matters for a tool that could return many ligand rows.

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 description coverage is 0%, so the description must compensate, and it does — every parameter is documented: `uniprot` as an accession with a concrete example ("P35355"), `cutoff_nm` with units and default (nM, 10000), and `limit` with its valid range 1–100 and default 20. The range constraint on `limit` is information the bare schema does not contain.

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?

The description opens with a specific verb and resource ('Fetch BindingDB ligands/affinities for a UniProt target'), naming both the data source and the keying parameter. An agent can tell this is a source-specific ligand/affinity lookup rather than a generic compound search, though it never names a sibling (e.g. chembl_data, compound_lookup) to sharpen the boundary.

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

Usage Guidelines3/5

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

Usage is implied by the required `uniprot` argument and the affinity-cutoff semantics, and the docstring warns 'keep calls to ~1/s'. However, there is no explicit when-to-use/when-not-to-use statement and no routing to an alternative source for the same chemistry data, so the agent must infer selection.

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