Skip to main content
Glama

opentargets

Search by gene/protein symbol or disease name to retrieve target-disease associations, with association scores, resolved hits, and counts.

Instructions

Look up Open Targets target-disease associations.

entity="target" searches a gene/protein symbol (e.g. "TP53") and returns the top associated diseases; entity="disease" searches a disease name (e.g. "breast carcinoma") and returns the top associated targets. Scores are Open Targets association scores (0-1), not p-values.

The response includes the resolved hit (id/name), details for the target or disease, the total association count, and up to limit items. If the search has no hit, hit is null and count is 0. Only upstream fields are returned; nothing is inferred.

Args: query: Gene/protein symbol or disease name. entity: "target" or "disease". limit: Associations to return, 1-25 (default 5).

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": {
      "query": "<query>"
    },
    "name": "opentargets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
entityNotarget

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/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 disclose the response shape: resolved hit (id/name), details, count, up to limit items, and that hit is null with count 0 when nothing matches. It also preempts a likely misinterpretation by stating scores are 0-1 association scores, not p-values. Auth, rate-limit, and error behavior are not covered.

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 purpose is front-loaded and the Args block is compact and scannable. A couple of sentences, such as the note that only upstream fields are returned and nothing is inferred, are slightly padding, but overall there is little waste.

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 lookup tool with no annotations and no output schema, the description covers parameters, response shape, scoring semantics, and the no-hit case. It stops short of error handling, pagination beyond limit, or returned identifier formats, but an agent has enough to call it correctly.

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%, and the description compensates fully, documenting all three parameters: query as gene symbol or disease name, entity as the target/disease discriminator, and limit with a 1-25 range and default 5 that the schema does not express. The Args block adds genuine meaning beyond the bare schema.

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 names a specific verb and resource ('Look up Open Targets target-disease associations') and makes the two lookup modes concrete with examples (TP53, breast carcinoma). It does not compare itself to any sibling tool, but the purpose is unambiguous on its own.

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?

It clearly explains that entity="target" takes a gene symbol and returns diseases while entity="disease" takes a disease name and returns targets, which is exactly the context needed to pick the right mode. It gives no explicit exclusions or alternatives (e.g., when to use a dedicated protein or disease tool instead).

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