Skip to main content
Glama

gene_drugs

Read-only

Find and rank drugs targeting a given HGNC gene symbol by highest clinical phase and trial-report count, with salt forms collapsed.

Instructions

Find drugs targeting a gene. Results are ranked by max clinical phase, then trial-report count, with salt forms collapsed. Response is an envelope: { results, warnings?, errors? } — OpenTargets failures and unresolved genes ride in errors[] as { source, message, retryable? } instead of inline items (issues #130, #179)

Input Schema

NameRequiredDescriptionDefault
symbolYesHGNC gene symbol (e.g., "BRAF", "TP53")

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.6.0-alpha.10
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed1 schema field changedv1.6.0-alpha.7
    • addedInput schema / properties / symbol / minLength
      Added value: +1
  3. First observedv0.1.8

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses meaningful behavioral traits: ranking by max clinical phase then trial-report count, salt-form collapsing, and an envelope response with warnings and structured errors. It also explains how OpenTargets failures and unresolved genes appear in errors[] rather than inline results.

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 description is compact. However, the issue references "(#130, #179)" add internal noise that does not help an agent invoke the tool correctly.

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 one-parameter read-only tool with no output schema, the description covers the important behavioral context: ranking, salt-form collapsing, and the response envelope with error semantics. It does not describe the fields of individual drug result items, leaving a minor gap in return-value detail.

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 description coverage is 100%, and the single symbol parameter is fully documented in the schema as an HGNC gene symbol. The description does not add meaning beyond that, so the baseline of 3 is appropriate.

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 states a specific verb and resource: "Find drugs targeting a gene." It is clear what the tool returns conceptually, but it does not explicitly differentiate this from sibling tools such as drug_search, gene_get, or gene_trials.

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

Usage Guidelines2/5

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

The description implies the use case of finding drugs for a gene, but it gives no explicit when-to-use guidance, exclusions, or alternatives. An agent must infer from the name and sibling list whether to call this versus gene_trials or drug_search.

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