Skip to main content
Glama

uniprot_compute_properties

Read-only

Compute molecular weight, theoretical pI, GRAVY hydrophobicity, aromaticity, net charge at pH 7, extinction coefficient at 280 nm, and amino-acid composition for a UniProt accession.

Instructions

Derived sequence chemistry for a UniProt entry: molecular weight, theoretical pI, GRAVY hydrophobicity, aromaticity, net charge at pH 7, extinction coefficient at 280 nm, amino-acid composition. Pure-Python — no additional external API call beyond the FASTA fetch.

Computed on the full canonical sequence, unprocessed: a signal peptide, propeptide, transit peptide or initiator methionine is included, so for a secreted or otherwise processed protein the values describe the precursor, not the mature chain (uniprot_get_processing_features lists the boundaries).

Methods: average residue masses; pI and net charge from the Bjellqvist pK set with residue-specific N-terminal values, the pK set ExPASy ProtParam documents for its pI; Kyte-Doolittle hydropathy; Pace 1995 ε₂₈₀ formula with all cysteines reduced. The output names the pK values applied. pI and charge are estimates from sequence alone.

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_compute_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
accessionYesUniProt accession, e.g. 'P04637' (human TP53) or 'P38398' (human BRCA1). Both reviewed (Swiss-Prot) and unreviewed (TrEMBL) accessions are accepted; case-sensitive.
response_formatNo'markdown' (default) for a human-readable report with a provenance footer, or 'json' for a machine-parseable structured payload with the same data. Any other value is rejected.markdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.3.0
    • addedInput schema / properties / accession / description
      Added value: +"UniProt accession, e.g. 'P04637' (human TP53) or 'P38398' (human BRCA1). Both reviewed (Swiss-Prot) and unreviewed (TrEMBL) accessions are accepted; case-sensitive."
    • addedInput schema / properties / response_format / description
      Added value: +"'markdown' (default) for a human-readable report with a provenance footer, or 'json' for a machine-parseable structured payload with the same data. Any other value is rejected."
  2. First observedv1.1.9

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond them by disclosing that the computation is pure-Python with no extra external API call beyond the FASTA fetch, that the sequence is unprocessed, which pK set and formulas are used, and that pI/charge are sequence-only estimates.

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-loaded with the property list, then structured into the processing caveat and the methods paragraph. Dense and mostly waste-free, though the closing 'pI and charge are estimates from sequence alone' partially restates the preceding methodological caveat.

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 an output schema present, return values need no explanation, and the description covers the remaining risk: what sequence is used, what assumptions underpin the numbers, and where to find processing boundaries. Nothing an agent needs to call and correctly interpret this tool 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 coverage is 100%, so both accession and response_format are already fully documented in the schema. The description adds no additional meaning about the parameters themselves beyond noting the computation target, so the 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?

Names a specific verb (compute) and a precise resource (derived sequence chemistry for a UniProt entry), then enumerates exactly which properties are produced: molecular weight, pI, GRAVY, aromaticity, net charge, extinction coefficient, composition. An agent can distinguish this from sequence/feature/entry retrieval siblings 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 Guidelines4/5

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

Gives strong context for when the numbers apply and when they mislead — full canonical precursor sequence, so processed proteins yield precursor values — and routes the agent to uniprot_get_processing_features for boundaries. It does not explicitly state when to prefer this over, say, uniprot_get_entry or uniprot_get_sequence, so it stops short of full alternatives guidance.

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