Skip to main content
Glama

Load Trajectory Mda

load_trajectory_mda

Load MDAnalysis-readable trajectories such as LAMMPS dumps or AMBER NetCDF into PyMOL states, enabling visualization of formats PyMOL cannot open natively.

Instructions

Load any MDAnalysis-readable trajectory (LAMMPS dump, AMBER NetCDF, ...) by injecting coordinates into PyMOL states. Requires the optional md extra (MDAnalysis).

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": {
      "trajectory_path": "<trajectory_path>"
    },
    "name": "load_trajectory_mda"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_framesNoMax frames to inject (subsample across the trajectory).
length_unitNoMDAnalysis length unit ('Angstrom' or 'nm'); LAMMPS non-real units matter.Angstrom
object_nameNoObject name to create.mda
topology_pathNoTopology (LAMMPS data, PSF, PDB, GRO). If omitted, the trajectory is used as its own topology (e.g. LAMMPS dump).
topology_formatNoMDAnalysis topology_format, e.g. 'LAMMPSDATA', 'DATA'.
trajectory_pathYesTrajectory PyMOL can't read natively (LAMMPS dump, NetCDF, ...).
trajectory_formatNoMDAnalysis format, e.g. 'LAMMPSDUMP', 'NCDF'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral weight; it does disclose the optional-dependency requirement and that coordinates are injected into PyMOL states (a session mutation creating an object). It is silent on what happens to an existing object with the same name, memory/size limits for large trajectories, and failure modes when the format guess is wrong.

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?

Two sentences, zero waste: the capability and its scope come first, the format examples follow, and the dependency warning is last. Nothing is redundant with the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists and the input schema is fully described, so return values and parameter details need not be repeated. The one meaningful omission is routing relative to the sibling load_trajectory, which the agent would benefit from knowing given a 7-parameter tool with a fallback path.

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 description coverage is 100%, so every parameter (including the subsampling behavior of max_frames, unit handling, and topology inference) is already documented in the schema. The description adds no parameter-level meaning beyond that baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Load any MDAnalysis-readable trajectory ... by injecting coordinates into PyMOL states') and names concrete formats (LAMMPS dump, AMBER NetCDF), so the agent knows exactly what the tool does. It does not, however, explicitly contrast itself with the sibling load_trajectory for natively-readable formats; that distinction only appears in the trajectory_path schema text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by 'any MDAnalysis-readable trajectory' and the parenthetical formats, and the description supplies a genuine prerequisite (the optional `md` extra must be installed). There is no explicit 'use X instead when Y' guidance, so an agent must infer that native formats belong to load_trajectory.

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