Skip to main content
Glama

Load Structure

load_structure

Load a molecular structure or single-frame coordinate file into PyMOL, then return the created object name and atom/state counts.

Instructions

Load a molecular structure or single-frame coordinate file into PyMOL.

Returns the created object name and its atom/state counts.

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": {
      "path": "<path>"
    },
    "name": "load_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to a structure/coordinate file (.pdb, .cif, .gro, .mol2, .sdf, .xyz).
object_nameNoOptional name for the loaded object.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does state the return payload (object name and atom/state counts), which is helpful, but it omits whether an existing object with the same name is overwritten, whether the file is read locally versus fetched remotely, and whether state counts imply multi-state objects.

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 with the action front-loaded and the return value second; nothing is padded. Slightly terse for a loader, but every sentence earns its place.

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?

The tool is simple (one required path, one optional name) and an output schema exists, so return values need not be re-explained. The remaining gaps are edge-case behavior around name collisions and file access, which are minor for a two-parameter loader.

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 both the path formats and the optional object name are already documented in the schema. The description adds no format, defaulting, or naming-constraint detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Load a molecular structure or single-frame coordinate file into PyMOL') and the 'single-frame' qualifier implicitly separates it from the trajectory-loading siblings. An agent can identify the operation without opening the schema.

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?

The 'single-frame' wording hints that multi-frame trajectory tools exist for the other case, which is useful implied routing. However, no sibling is named explicitly and there is no statement of prerequisites or when-not-to-use guidance.

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