Skip to main content
Glama

MyGene Human Genomics MCP

Query genes by genomic chromosome interval

query_genes_by_region
Read-onlyIdempotent

Find genes overlapping a chromosomal genomic interval such as "chr17:43044295-43170245" (hg38).

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": {
      "region": "<region>"
    },
    "name": "query_genes_by_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum genes to return (default 15, max 50).
regionYesGenomic interval (e.g. "chr17:43044295-43170245").
speciesNoSpecies name or taxid (default "human").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is fully covered elsewhere. The description's real contribution is naming the hg38 assembly, which matters because coordinates are build-specific, but it omits what happens for non-human species or non-hg38 coordinates and says nothing about the returned payload.

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 sentence with the action front-loaded and an inline example doing the explanatory work. No filler, no repetition of the title or annotations.

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?

For a simple three-parameter read tool with rich annotations and fully documented schema, the definition is nearly sufficient. However, with no output schema present, the description carries the burden of indicating what comes back (gene records, capped at the limit) and whether results can be empty for a region, and it does not.

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%, so region, species and limit are already documented with defaults and bounds, making 3 the baseline. The description's only surplus meaning is the hg38 assembly context for the region string, which the schema does not state and is genuinely useful; it adds nothing about species or limit beyond the 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?

"Find genes overlapping a chromosomal genomic interval" gives a specific verb plus a specific resource, and the worked example makes the expected input form unambiguous. It implicitly separates itself from symbol-based siblings like lookup_gene_by_symbol, though it never names an alternative explicitly.

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 only implied: an agent holding a coordinate range and wanting genes in it would correctly pick this tool. There is no stated when-not case, no guidance for the overlapping-sibling situation (e.g., a search_genes fallback), and no note about what to do outside the supported assembly.

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.