Skip to main content
Glama

ray

Idempotent

Renders a ray-traced image of the current PyMOL scene, with optional width and height settings; omit dimensions to use the viewport size.

Instructions

Performs ray-tracing

Input Schema

NameRequiredDescriptionDefault
widthNoImage width in pixels. Omit to use the viewport size.
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. Omit to use the viewport size."
  2. First observedv1.2.1

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare destructiveHint=false, idempotentHint=true, openWorldHint=false, so the safety profile is covered. The description adds nothing beyond them: no mention that it renders the current viewport state, that ray-tracing is comparatively slow at large resolutions, or that it may be unavailable mid-sculpting, all of which matter for invocation cost.

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?

A single short sentence with no wasted words, but it is front-loaded with a near-tautology rather than the useful information (renders the current view to an image). Brevity here reflects under-specification rather than efficiency.

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

Completeness2/5

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

An output schema exists so return values need not be explained, and annotations cover safety. However, for a compute-heavy rendering command sitting among many rendering siblings, the definition gives no scope, no cost signal, and no routing hint, leaving real gaps.

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% and both optional parameters (width, height) are documented in the schema with defaults and the 'omit to use viewport size' behavior, so the baseline of 3 applies. The description contributes nothing beyond the schema.

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

Purpose2/5

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

The description 'Performs ray-tracing' essentially restates the tool name 'ray' and adds only that it is ray-tracing. It never says what is produced (a rendered image of the current viewport) or how the width/height arguments affect output, so an agent cannot distinguish it from png, mpng, draw, or render beyond guessing.

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 when-to-use guidance and no alternatives named, despite several sibling rendering/export tools (png, mpng, draw, render, ray). The agent is left to infer that this is the high-quality still-image renderer.

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