Skip to main content
Glama

Gene To Disease

gene_to_disease
Read-onlyIdempotent

Diseases associated with a gene (NCBIGene:... or HGNC:... id).

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": {
      "gene_id": "NCBIGene:672"
    },
    "name": "gene_to_disease"
  }
}

Input Schema

NameRequiredDescriptionDefault
gene_idYes

Output Schema

NameRequiredDescriptionDefault
totalNoTotal matching diseases
associationsNoGene-to-disease associations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "gene_id": "NCBIGene:672"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Diseases associated with a gene",
      +  "properties": {
      +    "associations": {
      +      "description": "Gene-to-disease associations",
      +      "items": {
      +        "properties": {
      +          "id": {
      +            "description": "Association identifier",
      +            "type": "string"
      +          },
      +          "object": {
      +            "description": "Disease curie identifier",
      +            "type": "string"
      +          },
      +          "predicate": {
      +            "description": "Association predicate",
      +            "type": "string"
      +          },
      +          "subject": {
      +            "description": "Gene curie identifier",
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "total": {
      +      "description": "Total matching diseases",
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds no behavioral context beyond that: it doesn't say how 'associated' is determined (curated vs. predicted evidence), whether results are ranked or truncated, or whether the call can fail for unknown ids.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler; the identifier-format caveat sits in parentheses attached directly to the parameter it qualifies. Nothing could be removed without losing information.

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

Completeness3/5

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

An output schema exists, so return-value explanation is legitimately omitted, and the identifier namespaces are covered. However, for an open-world external look-up tool with no usage guidance and no note on evidence quality or result limits, the definition is only minimally sufficient.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden for the single parameter, and it does the essential part by naming the accepted namespaces (NCBIGene:... or HGNC:...). It doesn't say whether raw symbols are tolerated, whether mixed casing matters, or what happens on an unrecognized identifier.

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 definition names the resource (diseases), the input (a gene), and the association direction, so an agent can tell this is a gene→disease lookup rather than the reverse. It stops short of naming or contrasting the sibling phenotype_to_gene, leaving direction disambiguation implicit rather than explicit.

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?

There is no statement of when to use this tool, when not to, or what to use instead for related lookups. The only guidance is inside the parenthetical about id formats, which is parameter-level information rather than usage context.

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.