Skip to main content
Glama

conservation_view

Color your structure by evolutionary conservation using Shannon entropy. Automatically runs MSA via MMseqs2, computes per-residue scores, and maps them onto the structure.

Instructions

Colors the structure by evolutionary conservation using Shannon entropy.

Runs a full pipeline: extracts the protein sequence from the loaded structure, submits it to an MMseqs2 server (ColabFold public API by default) for multiple sequence alignment, computes per-residue Shannon entropy, and maps the conservation scores onto the structure via the B-factor column and spectrum coloring.

Entropy scores are cached in memory by sequence, so changing the scale or re-running on the same protein does not require a repeat API call.

Magenta/blue = highly conserved (low entropy), white = moderate, cyan/green = highly variable (high entropy).

NOTE: The first call makes an external API call and may take 30 seconds to several minutes depending on the server and sequence length. Subsequent calls for the same sequence are instant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoSpecific chain ID to analyze. If None, uses the first protein chain found.
scaleNoColor scaling mode. "relative" (default) maps the color gradient to the actual min/max entropy range of this protein, maximizing visual contrast. "absolute" uses the full theoretical entropy range (0 to log2(20)), useful when comparing conservation across different proteins.relative
use_envNoSearch environmental databases in addition to UniRef (default True, gives deeper MSAs)
obj_nameYesPyMOL object name (e.g. "1ubq")
selectionNoPyMOL selection to analyze (default "all")all
server_urlNoOverride the MMseqs2 server URL (defaults to ColabFold public API, or MCPYMOL_MMSEQS_URL env var)
force_refreshNoIf True, bypass the cache and re-fetch the MSA from the MMseqs2 server even if scores are cached.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description carries the full burden and does an excellent job. It discloses the external MMseqs2 API call, potential 30-second-to-minutes latency, in-memory caching by sequence, the effect on B-factor and spectrum coloring, and the color-mapping semantics. This is far beyond minimal and gives the agent a realistic expectation of side effects and performance.

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 paragraph-structured but each sentence earns its place: purpose, pipeline, caching, color mapping, and a latency note. It is front-loaded with the primary function, remains readable, and avoids redundancy.

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 tool's complexity (external API, caching, B-factor modification) and the existence of an output schema, the description covers all critical aspects: the full pipeline, the color interpretation, performance expectations, and caching behavior. It leaves no major operational gaps.

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 100% with detailed parameter descriptions, providing a baseline of 3. The description adds value by explaining that changing the scale does not trigger a new API call and that re-runs are cached, which directly informs understanding of 'scale', 'force_refresh', and 'server_url'. This extra context justifies a score above baseline.

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 opens with a clear, specific verb+resource statement: 'Colors the structure by evolutionary conservation using Shannon entropy.' This explicitly distinguishes it from sibling view tools like bfactor_view or plddt_view, and the detailed pipeline further clarifies its unique function.

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 clear context on when to use the tool (for evolutionary conservation coloring) and includes practical usage guidance about the first-call latency and caching. However, it does not explicitly name alternatives or state when not to use it, so it stops short of full exclusion guidance.

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/chemrich/MCPymol'

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