Skip to main content
Glama

protein_annotations

Fetch InterPro entries or QuickGO GO annotations for a UniProt protein to inspect domain, function, evidence, and assigned GO details by accession.

Instructions

Fetch InterPro entries or QuickGO GO annotations for a UniProt protein.

source="interpro" returns integrated and member-database entries (accession, name, type, source database, GO terms); source="quickgo" returns GO annotations (GO id, qualifier, evidence, aspect, reference, assigned by). identifier is a UniProt accession such as "P04637" (a UniProtKB: prefix is accepted and stripped).

Only upstream fields are returned; missing names/evidence stay missing. Empty lists are true upstream answers.

Args: identifier: UniProt accession. source: "interpro" or "quickgo". limit: Entries/annotations to return, 1-50 (default 20).

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": "protein_annotations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
sourceNointerpro
identifierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does a lot: it lists the returned fields per source, discloses that missing names/evidence stay missing, that empty lists are true upstream answers, and that a UniProtKB: prefix is stripped. It does not cover error behavior for invalid accessions or what happens beyond the 50-entry cap.

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?

Front-loaded purpose sentence followed by mode-specific return details and a compact Args list; almost every sentence earns its place. Minor redundancy between the prose mention of source values and the Args block repeating them.

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

Completeness4/5

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

With no output schema and no annotations, the description compensates well by describing the return shape per source and the null/empty semantics. Remaining gaps are error handling and any behavior beyond the limit cap, which are minor for a read-only fetch tool.

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

Parameters5/5

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

Schema coverage is 0%, yet the Args block fully documents all three parameters: identifier format and prefix normalization, the two valid source values with their distinct outputs, and the limit range 1-50 with default 20. This adds real meaning the bare schema lacks.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (fetch) and resource (InterPro entries / QuickGO GO annotations for a UniProt protein), and immediately disambiguates the two operating modes. This is clearly distinct from the record/interaction/pathway siblings, and an agent can tell what it will receive without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives concrete selection guidance between the two modes by enumerating the fields each returns, which is effectively a routing rule for source. It does not state when to prefer another tool (e.g., protein_record for the sequence) or any exclusions, so it stops short of a full when/when-not statement.

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