Skip to main content
Glama

as

Idempotent

Show one PyMOL representation for a selection while hiding all others, so you can isolate a specific structural view.

Instructions

Shows one representation while hiding all others for the specified selection

Input Schema

NameRequiredDescriptionDefault
selectionNoPyMOL selection string, e.g. "1abc and chain A". See the module note for syntax.all
representationYesThe one representation to leave visible: ``cartoon``, ``sticks``, ``spheres``, ``surface``, ``lines``, ``ribbon``, ``dots``, ``mesh``.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.5.1
    • addedInput schema / properties / representation / description
      Added value: +"The one representation to leave visible: ``cartoon``, ``sticks``, ``spheres``, ``surface``, ``lines``, ``ribbon``, ``dots``, ``mesh``."
    • addedInput schema / properties / selection / description
      Added value: +"PyMOL selection string, e.g. \"1abc and chain A\". See the module note for syntax."
  2. First observedv1.2.1

TDQS

A3.8/5.0
Behavior4/5

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

The key behavioral fact an agent needs — that all other representations are hidden as a side effect — is disclosed, which goes beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false). It stops short of saying the change is display-state only, whether it applies scene-wide or per-object, or how it interacts with saved scenes.

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

Conciseness5/5

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

A single, front-loaded sentence with zero filler. The defining side effect ('hiding all others') is placed in the most prominent clause, so the agent reads the distinguishing behavior first.

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?

With an output schema present, a fully documented 2-parameter schema, and annotations covering the safety profile, the description carries only the purpose and side-effect burden — which it does. Minor residual gap: it doesn't clarify whether hiding is limited to the target object or affects the whole viewport.

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 the selection syntax example and a full list of valid representation names already documented in the schema. The description only restates 'the specified selection' and adds no format, default, or edge-case detail beyond that, so baseline 3 applies.

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 uses a concrete verb ('Shows') and states the resource (a molecular representation) plus the scoping object ('the specified selection'). It implicitly distinguishes itself from plain `show` by adding 'while hiding all others', but never names `show`/`hide`/`cartoon` explicitly, so sibling differentiation is left to inference.

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?

It implies the use case (isolate exactly one representation) but gives no explicit when-to-use guidance, no statement of when to prefer `show` + `hide` instead, and no prerequisites such as having objects loaded or a valid selection. Usage is inferable rather than stated.

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