Skip to main content
Glama
berntpopp
by berntpopp

Get Protein Features

get_protein_features
Read-onlyIdempotent

Retrieve sequence features with coordinates from UniProt: domains, regions, binding sites, PTMs, signal peptides, and more. Filter by type or include secondary structure.

Instructions

Return sequence features with begin/end coordinates (FALDO) for an entry: domains, regions, transmembrane segments, binding/active sites, PTMs, signal peptides, secondary structure, mutagenesis sites, and more. feature_types=['domain'] returns positional domain extents; each returned type round-trips to the filter vocabulary. Filter keys come from capabilities (feature_types); a zero-match filter echoes the accepted keys as a filter_hint. Secondary-structure features (helix/strand/turn) are hidden by default and disclosed under excluded_secondary_structure; set include_secondary_structure=true (or name them in feature_types) to return them. Signature: get_protein_features(accession, feature_types=, limit=, include_secondary_structure=).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accessionYesUniProtKB accession, e.g. P05067 (isoforms like P05067-2 accepted).
feature_typesNoFeature-type keys to keep (omit for all).
limitNoMax features to return (default 200).
include_secondary_structureNoInclude helix/strand/turn features (hidden by default).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successNo
_metaNo
error_codeNo
messageNo
retryableNo
recovery_actionNo
fieldNo
allowed_valuesNo
hintNo
accessionNo
countNo
featuresNo
filter_hintNo
truncatedNo
excluded_secondary_structureNo
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds behavioral details: features use FALDO coordinates, secondary-structure features are hidden by default and disclosed under excluded_secondary_structure, and filter behavior for zero matches. No contradiction.

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?

The description is front-loaded with the core purpose, then efficiently explains filtering and default behaviors. Every sentence adds value; no redundancy or fluff. It is concise yet comprehensive.

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?

Given the presence of an output schema (not shown but noted in context), the description covers all necessary aspects: coordinate system, feature types, filtering, secondary structure handling, and the signature. It is complete for a tool of this complexity.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds meaning: for feature_types, it explains that each returned type round-trips to the filter vocabulary and describes the zero-match filter behavior. For include_secondary_structure, it clarifies that secondary structure is hidden by default. The signature line also provides a quick overview.

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 description clearly states the tool returns sequence features with coordinates, listing many specific feature types (domains, regions, PTMs, etc.). It uses strong verbs ('Return') and names the resource ('features for an entry'), distinguishing it from sibling tools like get_protein_sequence or get_protein.

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?

The description tells how to use the tool: filter by feature_types, set include_secondary_structure, and notes that secondary structure is hidden by default. It provides context for filtering behavior ('zero-match filter echoes accepted keys'). However, it does not explicitly contrast with alternative tools for retrieving protein data, though siblings are listed separately.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/berntpopp/uniprot-link'

If you have feedback or need assistance with the MCP directory API, please join our Discord server