Skip to main content
Glama

gene_function

Read-only

IWGSC RefSeq v2.1 functional annotation (InterPro, Pfam, Gene Ontology) for a gene symbol or any-version IWGSC ID. annotation_types filters e.g. ['Gene Ontology'] or ['Pfam','InterPro'].

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": {
      "identifier": "<identifier>"
    },
    "name": "gene_function"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYes
annotation_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • removedInput schema / properties / annotation_types / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / annotation_types / default
      Removed value: -null
    • addedInput schema / properties / annotation_types / items
      Added value: +{
      +  "type": "string"
      +}
    • removedInput schema / properties / annotation_types / title
      Removed value: -"Annotation Types"
    • addedInput schema / properties / annotation_types / type
      Added value: +"array"
    • removedInput schema / properties / identifier / title
      Removed value: -"Identifier"
    • removedInput schema / title
      Removed value: -"gene_functionArguments"
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

readOnlyHint=true already covers the safety profile, so the description's added value is the RefSeq v2.1 pinned data source and the accepted identifier forms ('gene symbol or any-version IWGSC ID'). It says nothing about what a missing symbol yields, whether results are paginated, or coverage of the annotation set.

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?

Two dense sentences, front-loaded with the data source and followed by the filter parameter. No filler, though the parameter sentence is slightly cryptic to a reader who has not seen the schema.

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 two-parameter read tool this is close to sufficient, but with no output schema the description should say what comes back (annotation terms, evidence, counts) and how multiple returned types are shaped. It is adequate rather than complete.

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 0%, so the description must carry parameter meaning, and it partly does: identifier accepts a gene symbol or any-version IWGSC ID, and annotation_types filters by ontology with literal examples. It omits whether annotation_types is optional and what the default set is when omitted, which is the key remaining ambiguity.

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+resource: functional annotation (InterPro, Pfam, Gene Ontology) from IWGSC RefSeq v2.1 for a gene. The reference-genome/version detail distinguishes it from species-specific siblings like rice_function or aetauschii_gene, though it never explicitly contrasts with genes_with_annotation.

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 when-to-use or when-not-to-use guidance, and no alternative is named. The agent must infer that this is the IWGSC annotation lookup and not genes_with_annotation or gene_pathways from the reference-genome mention alone.

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.

Resources