Skip to main content
Glama

load_map

DestructiveIdempotent

Load MRC/CCP4 volumes into PyMOL with header validation before loading and geometry reporting; specify provenance explicitly to avoid mislabeling generated maps as measured data.

Instructions

Load a volume into PyMOL, recording where it came from and reporting its geometry.

The header is parsed before PyMOL is touched, so a malformed file fails without leaving a half-loaded object in the session, and the load is confirmed rather than assumed.

Provenance defaults to unknown and is never guessed. A measured reconstruction, a sharpened map, a network-enhanced map and a decoder output all render identically once they are an isosurface, so defaulting to "measured" would quietly assert that somebody observed a generated volume. The report shows what the file says about itself — MRC labels, filename tokens — so the caller can declare it.

Input Schema

NameRequiredDescriptionDefault
nameNoPyMOL object name (defaults to a sanitised filename stem)
pathYesPath to an MRC/CCP4 volume (.mrc/.map/.ccp4, optionally gzipped)
provenanceNoHow this volume came to exist: "measured", "sharpened", "nn_enhanced", "generated", or "unknown". Defaults to "unknown" and is NEVER inferred.unknown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.5.1

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds genuinely new behavior: the header is validated before PyMOL is touched, so malformed files fail without leaving a half-loaded object, and the load is confirmed rather than assumed. It also explains the deliberate provenance default and the reasoning (isosurfaces render identically regardless of origin), which prevents an agent from making a false claim about data provenance.

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 core action is front-loaded in the first sentence, followed by the atomicity guarantee and then the provenance rationale. The third paragraph is longer than strictly needed — the 'somebody observed a generated volume' illustration is persuasive prose rather than operational detail — but every paragraph carries distinct information, so nothing is filler.

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?

The tool is simple (three parameters, one required), an output schema exists to describe the geometry report, and annotations cover the safety profile. The description fills the remaining gaps — failure atomicity, confirmation of load, and provenance policy — leaving nothing an agent needs in order to call it correctly or interpret the result.

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%, so the baseline is 3, but the description adds real meaning: it explains why provenance defaults to 'unknown' rather than being inferred, and that the returned report surfaces MRC labels and filename tokens the caller can use to set it. That is rationale and workflow beyond the schema's flat description, though it does not cover the 'name' parameter's sanitisation behavior in more depth than the schema already does.

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 first sentence states a specific verb and resource ('Load a volume into PyMOL') plus two side effects (records provenance, reports geometry). Combined with the schema's 'MRC/CCP4 volume' path description, an agent can distinguish this from load_structure, load_session, and load_ensemble without opening any 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?

The description establishes a clear workflow context: the header is parsed and the report shows what the file says about itself so the caller can declare provenance. It gives actionable guidance on the non-obvious parameter ('never guessed', default unknown). It stops short of naming alternatives or exclusion conditions, so it lands at clear-context-without-routing rather than a 5.

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