Skip to main content
Glama
smaniches
by smaniches

Phenotype to Protein Structures

phenotype_to_structures
Read-onlyIdempotent

Map a clinical phenotype (HPO term) to protein structures by resolving associated diseases and their top protein targets, returning UniProt IDs for AlphaFold retrieval.

Instructions

Map a clinical phenotype to the protein structures of its disease targets.

Pipeline:

  1. Resolve HPO term → associated diseases

  2. For each disease → top protein targets (Open Targets)

  3. For each target → UniProt ID (for AlphaFold retrieval)

Use the returned UniProt IDs with get_structure or get_enriched_protein to retrieve structural data.

Example: phenotype_to_structures(hpo_id='HP:0002621') maps Atherosclerosis → disease targets → UniProt IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnlyHint, idempotentHint, and openWorldHint. The description adds value by detailing the multi-step pipeline (HPO term to diseases to targets to UniProt IDs), which is not captured in annotations. No contradictions.

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?

The description is concise, uses a numbered pipeline, and includes a worked example. It front-loads the main purpose. Could be slightly shorter but is efficient.

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?

The tool has an output schema (not shown) and moderate complexity. The description explains the output format (UniProt IDs) and links to downstream tools. However, it omits parameter details and potential edge cases, leaving gaps for parameter semantics.

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

Parameters2/5

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

The input schema has three parameters (hpo_id, disease_limit, targets_per_disease) with only hpo_id having a description in the schema. The tool description does not explain disease_limit or targets_per_disease, leaving the agent to infer from defaults and bounds. Schema description coverage is low, and the description fails to compensate.

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 maps a clinical phenotype to protein structures of disease targets using a specific verb and resource. It distinguishes itself from sibling tools like get_disease_targets by detailing the pipeline and linking to structural retrieval tools.

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 provides an example and explicitly tells the agent to use returned UniProt IDs with get_structure or get_enriched_protein. However, it lacks explicit when-to-use vs. when-not-to-use guidance relative to sibling tools.

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/smaniches/alphafold-sovereign-mcp'

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