Skip to main content
Glama

Opentargets Search

opentargets_search
Read-onlyIdempotent

"Find [disease / drug / gene target]" / "Open Targets lookup for [name]" / "what's the Open Targets ID for [X]", text search across diseases, drug targets, and drugs in the Open Targets Platform (the leading drug-discovery knowledge graph). Returns ranked matches with their canonical IDs (ENSG... for targets, EFO_... for diseases, CHEMBL... for drugs). Use first to find IDs, then call target/disease/drug for details.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
sizeNo1-50 (default 10)
queryYes
entityNotarget | disease | drug (omit for all)

Output Schema

NameRequiredDescriptionDefault
searchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered; the description adds the ranking behavior and canonical ID namespaces, which is genuine extra context. It does not discuss pagination limits or what a zero-result response looks like, but the output schema carries the return shape.

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 the user-intent phrasings, then scope, then return format, then sequencing, so every sentence has a job. The parenthetical '(the leading drug-discovery knowledge graph)' is promotional filler that adds no decision-relevant information.

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 3-parameter search tool with rich annotations and an output schema, the description covers search scope, ID namespaces and the follow-up workflow an agent needs. Nothing required to call it correctly is missing.

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

Parameters3/5

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

Schema coverage is 67% and the description's mention of searching 'across diseases, drug targets, and drugs' loosely maps to the entity filter without stating its accepted values or that omitting it searches all. Nothing is said about the size parameter beyond the schema's own '1-50 (default 10)' note, so the baseline 3 applies.

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?

States a specific verb and resource: text search across diseases, drug targets and drugs in the Open Targets Platform, with ranked matches returned. The canonical ID formats (ENSG..., EFO_..., CHEMBL...) make the output contract concrete and distinguish it from sibling detail tools.

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

Usage Guidelines5/5

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

Explicitly sequences usage: 'Use first to find IDs, then call target/disease/drug for details,' which names the alternatives and the condition that selects them. The quoted example phrasings also show the kind of request this tool answers.

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.