Skip to main content
Glama

query_function_annotation

Retrieve functional annotation data from gcType by category, including antibiotic resistance, virulence factors, and biosynthetic gene clusters, with optional species filtering.

Instructions

Query functional annotation data in the gcType database. Available function categories include: core_genome, prophage, defense_system, mobile_genetic_elements, antibiotics_resistance, virulence_factors, biosynthetic_gene_clusters. Optionally filter by species name.

在 gcType 数据库中查询功能注释数据。可用功能类别包括:核心基因组、原噬菌体、防御系统、可移动遗传元件、抗生素抗性、毒力因子、生物合成基因簇。可按物种名称筛选。

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": {
      "category": "<category>"
    },
    "name": "query_function_annotation"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryYesFunction annotation category. / 功能注释类别。
speciesNameNoOptional species name to filter results. / 可选的物种名称用于筛选结果。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. The word 'Query' plus the read-oriented framing implies a non-destructive lookup, and the category enumeration adds useful domain context, but nothing is said about result volume, pagination, or whether species filtering is exact-match or partial.

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 English text is a single well-structured passage with the resource stated first and the filter caveat last. The full bilingual duplication doubles the length without adding information for a single-language reader, but each version individually is tight and front-loaded.

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?

This is a simple two-parameter read tool with a fully documented schema, and the description covers purpose, categories, and the optional filter. However, with no output schema, the description gives no hint about what annotation records look like or how results are shaped, leaving the agent unable to anticipate the response.

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 100% and the enum already documents all seven accepted category values, so the description's category list largely restates the schema. The one added nuance is that speciesName is an optional filter, which the schema also states. Baseline 3 applies when the schema does the heavy lifting.

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 gives a specific verb and resource ('Query functional annotation data in the gcType database') and enumerates the seven supported function categories, so an agent knows exactly what data domain this tool serves. It does not explicitly contrast itself with the sibling list_function_categories, so the differentiation is left implicit.

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 implied rather than stated: 'Optionally filter by species name' conveys that speciesName is not required and is a narrowing filter. There is no guidance on when to prefer this over list_function_categories or browse_data_category, nor any prerequisites or exclusions.

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