Skip to main content
Glama

Mark Cages

mark_cages

Draw detected clathrate-hydrate cages as colored wireframe polyhedra with cylinder edges and sphere vertices, building one CGO object for rendering.

Instructions

Draw each detected cage as a wireframe polyhedron — cylinders along the O-O ring edges plus spheres at the water-oxygen vertices, colored by cage type (5^12=cyan, 5^12 6^2=violet, 5^12 6^4=red, ...). Builds a single CGO object named cages for render_image.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mark_cages"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNoPeriodic box in nm (3/6/9 values); else from get_symmetry.
selectionNoSelection of the water system.all
cage_typesNoOnly draw these cage types (e.g. ['5^12','5^12 6^4']); default all.
edge_radiusNoCage edge (cylinder) radius in Angstrom.
object_nameNoObject whose box to use.
vertex_radiusNoCage vertex (sphere) radius in Angstrom.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a real behavioral trait: it creates one aggregated CGO object named `cages` rather than per-cage objects, and maps cage types to fixed colors. It does not say whether an existing object named `cages` is replaced, what happens when no cages are found, or what the tool returns — the annotation slot leaves those gaps open.

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?

Two sentences, front-loaded with the drawing action and followed by the object it builds for rendering. The parenthetical color mapping is dense but informative; nothing is padded, though the bold markup and trailing ellipsis in the type list add slight noise.

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?

An output schema exists, so return values need not be explained, and the description covers what is drawn and which object it lands in. For a six-parameter visualization tool with no annotations, it still omits whether the call is idempotent, whether it overwrites the previous `cages` object, and whether it depends on prior detection — gaps that matter to an agent sequencing calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: it enumerates cage-type labels and their colors (5^12=cyan, etc.) for `cage_types`, and explains that edges sit on O-O ring bonds and vertices on water oxygens, clarifying what `edge_radius` and `vertex_radius` actually size. It adds nothing about `box` or `object_name`.

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?

Uses a specific verb plus resource — 'Draw each detected cage as a wireframe polyhedron' — and names the concrete output (a CGO object called `cages`). It is clear what the tool produces, but it never distinguishes itself from the sibling `identify_cages` or says whether it detects cages itself or only renders already-detected ones.

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?

Usage is implied rather than stated: 'each detected cage' hints that detection precedes this call, and 'for `render_image`' signals the downstream workflow. There is no explicit when-to-use/when-not, no mention of `identify_cages` as the alternative, and no prerequisites listed.

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