Skip to main content
Glama

Search UniProt proteins

search_proteins
Read-onlyIdempotent

Search UniProtKB for proteins by name, gene, keyword or function and get accessions, organism and sequence length with citable URLs. Filter by organism or reviewed entries for cleaner results.

Instructions

Search UniProtKB for proteins by name, gene, keyword or function.

Returns accession, entry name, protein and gene names, organism and sequence length for each hit, with a UniProt URL to cite. Restricting to an organism (e.g. 'Homo sapiens') and to reviewed Swiss-Prot entries gives far cleaner results. Use get_protein with an accession for the function summary and sequence.

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": {
      "query": "<query>"
    },
    "name": "search_proteins"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesProtein name, gene or keyword, e.g. 'insulin receptor'. UniProt syntax works too: use 'gene:EGFR' to match a gene symbol exactly.
organismNoScientific/common name or NCBI taxonomy ID, e.g. 'Homo sapiens', '9606'.
max_resultsNoEntries to return (1-50).
reviewed_onlyNoOnly manually reviewed Swiss-Prot entries (recommended).

Output Schema

NameRequiredDescriptionDefault
queryYesThe exact UniProt query that was run.
sourceNoUniProt
resultsYes
returnedYes
search_urlYesThe same search on the UniProt website.
total_countYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive semantics, so the description's job is supplementary — and it delivers value by disclosing the result set shape (accession, entry name, names, organism, length, UniProt URL) and by flagging that reviewed Swiss-Prot filtering materially improves result quality. It stops short of noting any rate limits, truncation behavior beyond the 50 cap, or empty-result behavior.

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?

Four short sentences, front-loaded with purpose, then output, then a search tuning tip, then the handoff to get_protein. Tight, though the enumerated return-field list is slightly list-like prose that could be trimmed since an output schema exists.

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

Completeness5/5

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

With 100% schema coverage, rich annotations and an output schema, the description supplies everything remaining an agent needs: what to query, how to tune results, what comes back, and where to go for detail records. No meaningful gap for a search tool of this complexity.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description goes beyond the schema by explaining the practical effect of the organism and reviewed_only parameters on result quality, and it extends the query parameter's mental model with UniProt field syntax — meaning the schema's own descriptions do not fully spell out.

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 first sentence names a specific verb and resource ('Search UniProtKB for proteins') plus the matchable fields (name, gene, keyword, function). It also delineates scope against the sibling get_protein by assigning record-level detail to that tool, so an agent can choose between them without opening a schema.

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?

It gives explicit routing advice ('Use `get_protein` with an accession for the function summary and sequence') and prescribes a query strategy: restrict by organism and to reviewed Swiss-Prot entries for cleaner results. Both the when-to-use-this and when-to-use-the-alternative conditions are stated.

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