Skip to main content
Glama

uniprot_search

Search UniProtKB by gene, protein name, or query and filter by organism or reviewed status to retrieve accessions with protein names, genes, organism, and length.

Instructions

Search UniProtKB and return accessions with protein name, genes, organism and length.

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

Input Schema

NameRequiredDescriptionDefault
queryYesGene, protein name or UniProt query, e.g. 'gene:TP53'.
organismNoNCBI taxon id ('9606') or scientific name.
max_resultsNo
reviewed_onlyNoOnly Swiss-Prot (manually reviewed) entries.

Output Schema

NameRequiredDescriptionDefault
hitsYes
queryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it omits important behavior: that reviewed_only defaults to true (silently excluding unreviewed TrEMBL entries), that results are capped at 50, and whether results are ranked or truncated. It does at least disclose the fields returned, which is the one behavioral signal present.

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?

A single front-loaded sentence stating what is searched and what comes back, with no filler, hedging or repetition.

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?

An output schema exists, so return values need not be re-explained, but for a zero-annotation tool the description should have flagged the default reviewed-only filtering and result cap, which materially change what an agent gets back. Adequate but with a real gap.

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 75% and the description adds no parameter meaning beyond it — organism, max_results and reviewed_only filtering are unmentioned in the description, and only 'query' has a meaningful schema description. Baseline 3 for a well-covered schema is appropriate.

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?

States a specific verb and resource ('Search UniProtKB') plus the exact return shape ('accessions with protein name, genes, organism and length'). It is clear what the tool does, but it never contrasts itself with the sibling uniprot_entry fetch tool, so the differentiation is left implicit.

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

Usage Guidelines3/5

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

Usage is only implied: the word 'Search' and the free-text query argument make it obvious this is the discovery entry point, but the description never says when to use it instead of uniprot_entry or pubmed_search, nor any when-not conditions.

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