Skip to main content
Glama

cd

Change the working directory in PyMOL to a specified path, ensuring relative paths for structures and files resolve correctly.

Instructions

Changes the current directory

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesDirectory to change into. PyMOL resolves relative paths from here.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the action without mentioning side effects, session-scoped state changes, or error conditions, which is a significant gap for a state-mutating command.

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 description is a single, front-loaded sentence with no filler words. It is as concise as possible, though it sacrifices useful context, which is acceptable given the simplicity of the tool.

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

Completeness3/5

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

For a very simple tool, the description covers the core purpose, and the parameter schema adds necessary detail. However, it lacks usage context and behavioral caveats (e.g., that this changes the working directory for the PyMOL session), making it merely adequate rather than complete. The presence of an output schema reduces the need to explain return values, but the overall context is thin.

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?

The schema has 100% coverage for the single 'path' parameter, which includes a clear description of how PyMOL resolves relative paths from the new directory. The tool description adds no parameter-specific information, but the schema already does the heavy lifting, so the baseline of 3 is appropriate.

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 clearly states the tool changes the current directory, which is a specific verb+resource operation. It does not explicitly distinguish from sibling tools like 'pwd', but the purpose is unambiguous and goes beyond a tautology.

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

Usage Guidelines2/5

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

No guidance is provided on when to use this tool, prerequisites, or alternatives. The description does not mention that this affects relative path resolution for subsequent PyMOL commands or any exclusions, leaving the agent to infer usage.

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