Skip to main content
Glama

label

Add labels to atoms in a selection using PyMOL's labeling command. Specify the selection and an expression to display atom properties.

Instructions

Adds labels to atoms in the selection

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectionYesAtoms to label. Use ``name CA`` to get one label per residue rather than one per atom.
expressionNoPython expression over atom properties, e.g. ``"%s%s" % (resn, resi)`` or ``resi``.name

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It only states the basic action without mentioning side effects such as whether labels persist, how they interact with other states, or any potential toggling requirements. This lacks transparency for a tool that modifies the display.

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 unnecessary words. It states the core purpose efficiently, though it omits optional contextual details. It is concise without being under-specified to the point of confusion.

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?

Given the simplicity of the tool and the presence of a full input schema and output schema, the description is adequate but thin. It could mention how labels are removed or whether the operation affects the rendered scene globally. The schema covers parameters and output, so the description's minimalism is partially compensated, but additional context would improve completeness.

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?

Both parameters have descriptions in the schema (100% coverage), so the baseline is 3. The description itself adds no parameter-specific meaning beyond what the schema already provides.

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

Purpose5/5

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

The description clearly states the action (adds labels) and the resource (atoms in the selection). It is distinct from sibling tools like 'show' or 'color', which pertain to representations or coloring rather than text labels.

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 description implies when to use the tool (when you want to label atoms), but does not explicitly mention alternatives or when not to use it. There is no guidance on how this relates to other display or annotation tools, so the usage context is clear but exclusions are absent.

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