Skip to main content
Glama

Color

color

Applies a specified PyMOL palette entry or hex value to a molecular selection, defaulting to all atoms for clear visual distinction.

Instructions

Color a selection.

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

Input Schema

NameRequiredDescriptionDefault
colorYesPyMOL color name or hex like 0xRRGGBB.
selectionNoSelection to color.all

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about what state changes, whether the previous color is recoverable, how invalid color names or empty selections are handled, or whether the change affects the current session only. The verb does correctly imply a scene mutation, which keeps this above a 1.

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 front-loaded sentence with zero waste, but the brevity crosses into under-specification rather than efficient packaging. There is no structure to speak of because there is only one short clause.

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?

The output schema and a fully documented two-parameter schema cover the mechanical side, so return values need not be explained. However, with zero annotation coverage, the description should at minimum say that this mutates visualization state of the named selection; it leaves that entirely unstated.

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 coverage is 100%: the schema already documents the color parameter (PyMOL name or 0xRRGGBB hex) and the selection parameter with its default of "all". The description adds no format, casing, or selection-syntax 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.

Purpose2/5

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

"Color a selection" essentially restates the tool name and title, adding only the object being acted on. It does not distinguish this from near-siblings such as spectrum, show, or hide, so an agent must guess whether this sets a flat color versus a color gradient.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as spectrum for gradient coloring. The only usage hint is the implicit 'selection' default, which the schema already provides.

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