Skip to main content
Glama

Cage Occupancy

cage_occupancy

Assign guest molecules to detected clathrate cages to compute cage occupancy, with one guest per cage, using a water selection and optional periodic box.

Instructions

Compute clathrate cage occupancy: assign guest molecules to detected cages (one per cage).

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": "cage_occupancy"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxNoPeriodic box in nm (3/6/9 values); else from get_symmetry.
selectionNoSelection of the water system.all
object_nameNoObject whose box to use.
guest_selectionNoSelection containing guests (CO2/CH4). Defaults to `selection`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it does contribute one behavioral fact (guests are assigned one per cage). It says nothing about whether the computed occupancy is written back to the session, stored as a new object, or only returned, and no permission or performance context is given.

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?

A single front-loaded sentence with the verb and object first and the one-per-cage rule appended; nothing is wasted. It is arguably too terse for a computational tool but not padded or disorganized.

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 described, and the input schema is fully annotated. What remains missing is the workflow context: that cages must be identified first and whether this writes anything into the session, which matters for a four-parameter computation tool with no annotations.

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%, so box, selection, object_name and guest_selection are already documented in the schema. The description adds no further meaning about how guests are matched to cages or how the periodicity fallback interacts with the other parameters, so the baseline of 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 names a specific verb and resource (compute clathrate cage occupancy) and adds the algorithm's core constraint (one guest assigned per cage). It is clear what the tool does, but it never distinguishes itself from siblings such as identify_cages or mark_cages, which operate on the same cage concept.

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 explicit statement of when to use this tool versus the cage-related siblings, and no prerequisite is spelled out. The phrase 'detected cages' only faintly implies that cages must already exist; an agent has to infer that identify_cages must run first.

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