Skip to main content
Glama

uniprot_entry

Retrieve a UniProtKB entry by accession to get protein names, genes, organism, function, subcellular location and GO terms; sequence is included only when requested.

Instructions

Get one UniProtKB entry: names, genes, organism, length, mass, function, subcellular location and GO terms. The sequence is only included on request.

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

Input Schema

NameRequiredDescriptionDefault
accessionYesUniProt accession, e.g. 'P04637'.
include_sequenceNo

Output Schema

NameRequiredDescriptionDefault
urlYes
genesNo
lengthNo
mass_daNo
functionNo
go_termsNo
organismNo
reviewedNo
sequenceNoOnly returned when include_sequence=true.
taxon_idNo
accessionYes
entry_nameNo
protein_nameNo
subcellular_locationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the returned content set and the non-obvious behavior that sequence is opt-in (defaulting to excluded), which materially affects payload size. It says nothing about rate limits, authentication, or what happens on an invalid accession.

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?

Two sentences, front-loaded with the action and a dense but useful field list, followed by the one behavioral caveat that matters. No filler; the field enumeration is long but each item carries information about what the agent will receive.

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 simple single-record read tool with one required parameter and a declared output schema, the definition covers what is returned and the key opt-in flag, so return-value detail can be left to the schema. Only error behavior for bad accessions is unaddressed.

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 only 50% — accession is documented but include_sequence is not. The description compensates by explaining that the sequence is returned only when requested, which maps directly onto the otherwise undocumented boolean and explains its consequence. It does not name the parameter explicitly, keeping it below a 5.

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?

Opens with a specific verb+resource ("Get one UniProtKB entry") and enumerates the content returned (names, genes, organism, length, mass, function, location, GO terms). The singular "one ... entry" implicitly distinguishes it from uniprot_search, but no sibling is named, so differentiation is left to inference.

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: fetch the full record for an accession you already have. There is no explicit statement of when to use this versus uniprot_search, nor any prerequisite or failure guidance for unknown accessions.

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