Skip to main content
Glama

Load Trajectory

load_trajectory

Load GROMACS/DCD trajectories into PyMOL by pairing a matching structure with trajectory frames and appending them as states; use frame ranges or intervals to bound memory.

Instructions

Load a GROMACS/DCD trajectory: load the structure, then append frames as states.

Requires matching atom count/order (trjconv strip/reorder is the common pitfall).

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

Input Schema

NameRequiredDescriptionDefault
stopNoLast frame to load (-1 = all).
startNoFirst frame (1-based) to load.
intervalNoLoad every Nth frame (subsample to bound RAM).
object_nameNoObject name to create.traj
structure_pathYesTopology/first-frame file (.gro/.pdb) matching the trajectory atoms.
trajectory_pathYesTrajectory file (.xtc/.trr/.dcd) with the SAME atom set/order.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It does well on the mechanism (a structure is loaded and trajectory frames become states, so the agent knows side effects create states) and names a real failure mode, atom-set mismatch. It says nothing about whether an existing object of the same name is replaced, what memory cost large trajectories incur beyond the schema's interval hint, or what the return contains, despite an output schema existing.

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?

Two short sentences, the action and its mechanism front-loaded, the caveat second. Nothing is redundant or padded. The parenthetical about trjconv is dense but earns its place as the single most useful operational warning.

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?

For a six-parameter load tool with full schema coverage and an output schema, the description supplies the essential behavior (frames become states) and the key correctness constraint. The remaining gap is the unaddressed relationship to load_trajectory_mda and load_structure, which matters for selection in a crowded sibling set, plus no note on object replacement semantics. Given the structured fields already cover parameters and returns, this is close to complete.

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 all six parameters including start/stop/interval and object_name are already documented in the schema, and the baseline is 3. The description's added value is the cross-parameter constraint that structure_path and trajectory_path must share the same atom set and order, which the schema only states in passing. No framing, units, or format detail beyond that.

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?

The description opens with a specific verb and resource ("Load a GROMACS/DCD trajectory") and goes further by describing the internal sequence: structure loaded first, then frames appended as states. That is concrete and distinguishable. It stops short of differentiating itself from the sibling load_trajectory_mda or from load_structure, so an agent gets no help choosing among the loader family.

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?

There is no explicit when-to-use or when-not-to-use guidance, and the obvious alternative (load_trajectory_mda) is never mentioned. What it does provide is a prerequisite condition — atom count and order must match, with trjconv strip/reorder named as the usual cause of failure — which implies the situation where this tool is appropriate. Usage is therefore inferable but not stated.

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