Skip to main content
Glama

Get UniProt protein

get_protein
Read-onlyIdempotent

Retrieve a UniProtKB protein entry by accession to get names, gene, organism, function, and sequence for biomedical research.

Instructions

Get one UniProtKB protein entry by accession: names, gene, organism, function, sequence.

Returns the recommended and alternative protein names, gene name and synonyms, organism, length, mass, the curated function summary (with PubMed citations) and the sequence (truncated to max_sequence_length; check sequence_truncated). Find accessions with search_proteins.

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": {
      "accession": "<accession>"
    },
    "name": "get_protein"
  }
}

Input Schema

NameRequiredDescriptionDefault
accessionYesUniProtKB accession, e.g. 'P01308' (insulin) or 'P00533' (EGFR).
include_sequenceNoInclude the amino-acid sequence.
max_sequence_lengthNoTruncate longer sequences to this many residues.

Output Schema

NameRequiredDescriptionDefault
urlYesUniProt entry page to cite.
geneYes
lengthYesSequence length in amino acids.
sourceNoUniProt
mass_daYesMolecular mass in daltons.
functionYesCurated function summary, with PubMed citations.
organismYes
reviewedYesTrue for manually curated Swiss-Prot entries.
sequenceYesAmino-acid sequence (one-letter codes).
taxon_idYes
accessionYes
fasta_urlYes
entry_nameYesMnemonic UniProtKB ID, e.g. INS_HUMAN.
protein_nameYes
gene_synonymsYes
alternative_namesYes
sequence_truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior, so the description correctly spends its words on other traits: sequence truncation and the sequence_truncated flag that signals it. It adds no permission or rate-limit context, but for a read-only lookup the disclosed truncation behavior is the meaningful gap it closes.

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?

Two sentences, front-loaded with the core action and payload, then the follow-up routing hint. Dense field enumeration is appropriate here and nothing is wasted.

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?

For a single-entity lookup with a full output schema and rich annotations, the description covers what an agent needs to call it correctly and interpret truncation. It is complete, though it devotes space to listing return fields the output schema already supplies.

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 all three parameters are documented in the schema, so the baseline is 3. The description adds only a small amount of meaning beyond the schema by explaining the truncation/sequence_truncated interplay.

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?

The description opens with a specific verb and resource ('Get one UniProtKB protein entry by accession') and enumerates the returned fields, making it clearly distinguishable from search_proteins and the other retrieval siblings.

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?

It explicitly routes the agent to search_proteins for accession discovery, which is the main alternative an agent would need. It does not state exclusions such as bulk retrieval or when not to fetch the sequence, so it falls short of full when/when-not guidance.

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