Skip to main content
Glama

draw

Idempotent

Render a PyMOL scene to an image using the OpenGL renderer for rapid previews when lower visual quality is acceptable.

Instructions

Uses OpenGL renderer (faster but lower quality)

Input Schema

NameRequiredDescriptionDefault
widthNoImage width in pixels.
heightNoImage height in pixels.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.1
    • addedInput schema / properties / height / description
      Added value: +"Image height in pixels."
    • addedInput schema / properties / width / description
      Added value: +"Image width in pixels."
  2. First observedv1.2.1

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context about renderer choice and output quality, but says nothing about how the image is produced or where it goes; the presence of an output schema offloads return-value explanation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short fragment with zero wasted words, but that brevity comes at the cost of under-specification: there is no leading statement of what the tool does, only a qualifier about the renderer.

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 simple two-optional-parameter render tool with full schema coverage, annotations, and an output schema, the missing piece is a statement of what it produces and how it relates to ray/png/mpng. The definition is not wrong, just thin for a rendering tool that sits among several rendering siblings.

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%, with width and height clearly documented as image dimensions in pixels. The description adds no meaning beyond the schema for either parameter, so the baseline of 3 applies.

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

Purpose3/5

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

The description identifies the rendering backend (OpenGL) and a quality/speed tradeoff, but never states the actual action: that it draws/renders the current scene to an image. An agent must infer the verb+resource from the name 'draw' and from siblings like ray and png.

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 parenthetical '(faster but lower quality)' implies when this tool is preferable over a higher-quality ray-traced render, but it never names the alternative (ray) or states an explicit condition. Usage is implied rather than instructed.

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