Skip to main content
Glama

search_functional_annotations

Find gcMeta functional annotation records across ARGs, KEGG pathways, virulence factors, CAZy, BGCs, MGEs, and defense systems by function type, with filters for MAG, catalogue, and function ID.

Instructions

Search for functional annotations in gcMeta. gcMeta provides functional annotation across several categories: Antibiotics Resistance Genes (ARGs), KEGG Pathway, Virulence Factors (VFs), Carbohydrate-Active enZYmes (CAZy), Biosynthetic Gene Clusters (BGCs), Mobile Genetic Elements (MGEs), and Defense Systems.

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": {
      "functionType": "<functionType>"
    },
    "name": "search_functional_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
magIdNoFilter by MAG ID
pageSizeNoResults per page (default 20, max 100)
functionIdNoSpecific function identifier (e.g. K00001)
catalogueIdNoFilter by biome catalogue ID
functionTypeYesType of functional annotation

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/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 behavioral burden. It usefully discloses the scope of the underlying dataset (seven functional annotation categories in gcMeta), which is real context beyond the schema, but it says nothing about result shape, result volume, or what an empty search returns.

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 sentences, front-loaded with the action and followed by useful domain context; nothing is padded. The category enumeration slightly overlaps the schema enum, which keeps it from a 5.

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?

The tool is a read-only paginated search with a fully documented, flat schema, so most calling mechanics are covered. However, with no output schema and no annotations, the description leaves the agent guessing about the return payload and whether results are paginated summaries or full records.

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 all six parameters are already documented, giving a baseline of 3. The description adds a little value by expanding the enum values into human-readable category names ("KEGG Pathway" for KEGG_PATHWAY, "Defense Systems" for DEFENSE_SYSTEMS), but it does not explain how magId, catalogueId, or functionId interact with functionType.

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 plus resource ("Search for functional annotations in gcMeta") and enumerates the seven annotation categories, so an agent knows exactly what domain of data is covered. It does not name or distinguish itself from any sibling tool (e.g. search_mags, search_biosamples), which are clearly different resources but the routing is left to the agent.

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, no mention of alternatives, and no statement of prerequisites such as needing a MAG ID or catalogue ID to narrow results. The only implied guidance is that a functionType is required, which the schema already enforces.

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