Skip to main content
Glama

uniprot-mcp-server: get proteome

uniprot_get_proteome
Read-onlyIdempotent

Fetch a proteome by UPID (e.g. "UP000005640"), which can name a reference, non-reference, or excluded proteome, or the reference proteome for an organism by NCBI taxon ID (e.g. 9606) — provide exactly one. Returns metadata inline: proteome type (with UniProt's reasons when excluded), total protein count, gene count, reviewed, unreviewed, and additional isoform protein counts, Complete Proteome Detector (CPD) status, BUSCO completeness (score, complete/fragmented/missing counts, lineage dataset), and the genome assembly accession. UniProt computes the gene count and the reviewed, unreviewed, and isoform counts for reference proteomes only, so they are omitted elsewhere. The protein set is opt-in via include_proteins (it is large) and returns a capped page with a forward cursor; narrow it with the query filter (UniProtKB Lucene syntax) for a subset. Resolve an organism name to a taxon ID first with uniprot_get_taxonomy.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "uniprot_get_proteome"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoProteins per page when include_proteins is true. Default 25; a value above 500, UniProt's page maximum, returns 500 and says so.
upidNoProteome UPID. Provide this OR taxon_id, not both.
queryNoOptional UniProtKB Lucene filter to narrow the protein list, e.g. "reviewed:true AND keyword:KW-0067". Only applies when include_proteins is true.
cursorNoOpaque cursor from this tool for the same resolved UPID and exact query. Identifier aliases resolving to that UPID and size changes are allowed. Older raw cursors are rejected; restart without cursor. Only meaningful with include_proteins.
taxon_idNoNCBI taxon ID, e.g. 9606 for human. Prefers an exact reference proteome; otherwise resolves a unique descendant reference, or returns candidate UPIDs and taxon IDs for explicit selection. Provide this OR upid, not both.
include_proteinsNoWhen true, also return a capped, cursor-paginated page of the proteome's proteins. Defaults to false — metadata alone is the common case.

Output Schema

NameRequiredDescriptionDefault
capNoThe page-size cap that was applied.
errorNoPresent when the call failed. Absent on success.
queryNoThe protein filter as supplied by the caller.
shownNoNumber of proteins returned in this page.
cursorNoForward cursor for the next protein page. Absent on the last page.
noticeNoGuidance: the requested and applied size when size was above the 500-row page maximum; how to reach the rest when the protein page was capped (walk the cursor or narrow with the query filter); or that no protein matched.
proteinsNoA capped page of the proteome's proteins. Present only when include_proteins is true.
proteomeNoProteome metadata.
truncatedNoTrue when the protein page hit the size cap — more remain via cursor.
totalProteinsMatchedNoTotal proteins matching the (optionally filtered) proteome query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `ambiguous_proteome`: Multiple descendant reference proteomes exist or candidate pages remain. `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: The UPID or taxon has no reference proteome. `invalid_query`: The query filter has unbalanced parentheses (rejected before any request), or UniProtKB rejected it — the message names the rejected field or syntax. `invalid_cursor`: The protein cursor is malformed, from an older version, belongs to another tool, resolved UPID or query, or UniProt could not continue from it (HTTP 500). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `ambiguous_proteome`: Multiple descendant reference proteomes exist or candidate pages remain. `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: No proteome has the UPID, or the taxon has no reference proteome. `invalid_query`: The query filter has unbalanced parentheses (rejected before any request), or UniProtKB rejected it — the message names the rejected field or syntax. `invalid_cursor`: The protein cursor is malformed, from an older version, belongs to another tool, resolved UPID or query, or UniProt could not continue from it (HTTP 500). Other values are possible when a failure originates below the handler."
    • addedOutput schema / properties / proteins / items / properties / functionSnippetMolecule
      Added value: +{
      +  "description": "The isoform, chain, or peptide the functionSnippet annotation is about, as UniProt names it, e.g. \"Glucagon\" or \"Isoform 2\". Omitted when UniProt names none, so the snippet is about the protein the row describes, and whenever functionSnippet is.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / proteins / items / properties / sequenceFlags
      Added value: +{
      +  "description": "UniProt's sequence flags: \"Fragment\" or \"Fragments\" (several non-adjacent pieces) when the sequence is incomplete, so length counts only the residues UniProt holds, not the whole protein; \"Precursor\" when the sequence is processed into a shorter mature form (signal, propeptide, transit peptide, or initiator methionine cleaved). Omitted when UniProt flags none.",
      +  "items": {
      +    "description": "One flag, as UniProt words it.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / proteome / properties / cpdStatus
      Added value: +{
      +  "description": "Complete Proteome Detector (CPD) status — where proteinCount falls among at least 30 closely related proteomes, as UniProt words it: \"Standard\", \"Close to standard (high value)\", \"Close to standard (low value)\", \"Outlier (high value)\", \"Outlier (low value)\", or \"Unknown\" (too few related proteomes to score). Omitted when UniProt sends none.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / proteome / properties / exclusionReasons
      Added value: +{
      +  "description": "Why UniProt excluded the proteome, e.g. [\"genome length too small\"] or [\"contaminated\"]. Present on excluded proteomes only.",
      +  "items": {
      +    "description": "One reason, as UniProt words it.",
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / proteome / properties / geneCount
      Added value: +{
      +  "description": "Number of genes the proteins come from — at most proteinCount, below it where genes have several protein entries. Omitted where UniProt has not computed it (it reports 0 on non-reference and excluded proteomes).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / proteome / properties / isoformProteinCount
      Added value: +{
      +  "description": "Additional isoform sequences, counted outside proteinCount. Omitted together with reviewedProteinCount.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / proteome / properties / proteomeType / description
      Previous value: -"Proteome type, e.g. \"Reference proteome\"."New value: +"Proteome type as UniProt words it, e.g. \"Reference proteome\", \"Non Reference proteome\", or \"Excluded\"."
    • addedOutput schema / properties / proteome / properties / reviewedProteinCount
      Added value: +{
      +  "description": "Reviewed (Swiss-Prot) proteins; with unreviewedProteinCount it sums to proteinCount. Omitted, with the unreviewed and isoform counts, where UniProt has not computed them (it reports 0 for all three on non-reference and excluded proteomes).",
      +  "type": "number"
      +}
    • addedOutput schema / properties / proteome / properties / unreviewedProteinCount
      Added value: +{
      +  "description": "Unreviewed (TrEMBL) proteins; 0 when every protein is reviewed. Omitted together with reviewedProteinCount.",
      +  "type": "number"
      +}
  2. Changed8 schema fields changed
    • changedInput schema / properties / size / description
      Previous value: -"Proteins per page when include_proteins is true (max 500). Omit for the server default."New value: +"Proteins per page when include_proteins is true. Default 25; a value above 500, UniProt's page maximum, returns 500 and says so."
    • removedInput schema / properties / size / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / size / maximum
      Removed value: -500
    • addedInput schema / properties / size / minimum
      Added value: +1
    • changedOutput schema / properties / notice / description
      Previous value: -"Truncation guidance when the protein page was capped — how to reach the rest (walk the cursor or narrow with the query filter)."New value: +"Guidance: the requested and applied size when size was above the 500-row page maximum; how to reach the rest when the protein page was capped (walk the cursor or narrow with the query filter); or that no protein matched."
    • changedOutput schema / properties / proteins / items / properties / functionSnippet / description
      Previous value: -"First function sentence(s), evidence stripped. Omitted when none."New value: +"Opening of the first FUNCTION annotation, evidence references stripped: whole sentences within 250 characters (at least the first; one over 400 is cut at a word and ends with …). The complete annotation with evidence is uniprot_get_entry function. Omitted when none."
    • changedOutput schema / properties / proteins / items / properties / geneNames / description
      Previous value: -"Gene names and synonyms."New value: +"Every name of each gene in UniProt order: gene name, synonyms, ordered-locus names (e.g. \"b3296\", \"JW3258\"), and ORF names (e.g. \"J0580\")."
    • changedOutput schema / properties / proteins / items / properties / geneNames / items / description
      Previous value: -"A gene name or synonym."New value: +"A gene name, synonym, ordered-locus name, or ORF name."
  3. Changed4 schema fields changed
    • changedInput schema / properties / taxon_id / description
      Previous value: -"NCBI taxon ID, e.g. 9606 for human. Resolves to the reference proteome. Provide this OR upid, not both."New value: +"NCBI taxon ID, e.g. 9606 for human. Prefers an exact reference proteome; otherwise resolves a unique descendant reference, or returns candidate UPIDs and taxon IDs for explicit selection. Provide this OR upid, not both."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: The UPID or taxon has no reference proteome. `invalid_query`: The query filter has unbalanced parentheses (rejected before any request), or UniProtKB rejected it — the message names the rejected field or syntax. `invalid_cursor`: The protein cursor is malformed, from an older version, belongs to another tool, resolved UPID or query, or UniProt could not continue from it (HTTP 500). Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `ambiguous_proteome`: Multiple descendant reference proteomes exist or candidate pages remain. `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: The UPID or taxon has no reference proteome. `invalid_query`: The query filter has unbalanced parentheses (rejected before any request), or UniProtKB rejected it — the message names the rejected field or syntax. `invalid_cursor`: The protein cursor is malformed, from an older version, belongs to another tool, resolved UPID or query, or UniProt could not continue from it (HTTP 500). Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "missing_identifier",
      -  "conflicting_identifier",
      -  "not_found",
      -  "invalid_query",
      -  "invalid_cursor"
      -]New value: +[
      +  "ambiguous_proteome",
      +  "missing_identifier",
      +  "conflicting_identifier",
      +  "not_found",
      +  "invalid_query",
      +  "invalid_cursor"
      +]
    • addedOutput schema / properties / query
      Added value: +{
      +  "description": "The protein filter as supplied by the caller.",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / cursor / description
      Previous value: -"Forward-pagination cursor from a prior protein page. Only meaningful with include_proteins."New value: +"Opaque cursor from this tool for the same resolved UPID and exact query. Identifier aliases resolving to that UPID and size changes are allowed. Older raw cursors are rejected; restart without cursor. Only meaningful with include_proteins."
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: The UPID or taxon has no reference proteome. `invalid_query`: The query filter has unbalanced parentheses (rejected before any request), or UniProtKB rejected it — the message names the rejected field or syntax. `invalid_cursor`: UniProt could not continue from the protein cursor (it answered HTTP 500) — the cursor is malformed or truncated. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: The UPID or taxon has no reference proteome. `invalid_query`: The query filter has unbalanced parentheses (rejected before any request), or UniProtKB rejected it — the message names the rejected field or syntax. `invalid_cursor`: The protein cursor is malformed, from an older version, belongs to another tool, resolved UPID or query, or UniProt could not continue from it (HTTP 500). Other values are possible when a failure originates below the handler."
  5. Changed2 schema fields changed
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: The UPID or taxon has no reference proteome. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `missing_identifier`: Neither upid nor taxon_id was provided. `conflicting_identifier`: Both upid and taxon_id were provided. `not_found`: The UPID or taxon has no reference proteome. `invalid_query`: The query filter has unbalanced parentheses (rejected before any request), or UniProtKB rejected it — the message names the rejected field or syntax. `invalid_cursor`: UniProt could not continue from the protein cursor (it answered HTTP 500) — the cursor is malformed or truncated. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "missing_identifier",
      -  "conflicting_identifier",
      -  "not_found"
      -]New value: +[
      +  "missing_identifier",
      +  "conflicting_identifier",
      +  "not_found",
      +  "invalid_query",
      +  "invalid_cursor"
      +]
  6. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare readOnly/idempotent/openWorld; the description goes well beyond by disclosing that gene and reviewed/unreviewed/isoform counts exist only for reference proteomes, that excluded proteomes come with UniProt's reasons, that the protein set is capped and cursor-paginated, and that stale raw cursors are rejected so the call must restart without one. These are non-obvious behaviors that affect how an agent should call and re-call the tool.

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-loads the core action and identifier forms, then moves to return shape, then to the opt-in protein path and the taxonomy prerequisite. It is dense and mostly earns its length, though the long enumeration of returned counts partially duplicates the output schema.

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?

Covers the mutation-free fetch, identifier resolution, pagination, and analysis-computation caveats — enough for a six-parameter read tool. The detailed return enumeration is somewhat redundant given a full output schema, but nothing an agent needs to call it correctly is missing.

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 each parameter's meaning and constraints are already documented in the schema; the description largely restates include_proteins, query, and the upid/taxon_id exclusivity. The only added value is context about why proteins are opt-in ('it is large'), which is marginal. Baseline 3 applies.

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 and resource (fetch a proteome) plus the exact two identifier forms accepted (UPID like "UP000005640" or NCBI taxon ID like 9606). It also clarifies the scope of what a UPID may name — reference, non-reference, excluded — which an agent could not infer from the name alone.

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

Usage Guidelines5/5

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

Gives explicit selection rules between the two identifier parameters ('provide exactly one'), a prerequisite workflow ('Resolve an organism name to a taxon ID first with uniprot_get_taxonomy'), and a conditional path for the heavy protein payload ('opt-in via include_proteins ... narrow it with the query filter'). The agent knows both how to start and which sibling to call first.

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.