Skip to main content
Glama

Order Parameter

order_parameter

Compute F3 or F4 water order parameters to classify clathrate-hydrate systems as hydrate, liquid, or ice Ih, with periodic box read automatically when omitted.

Instructions

Compute the F3 or F4 water order parameter for a clathrate-hydrate system.

F4 ~ 0.7-0.95 = hydrate, ~0 = liquid, ~ -0.4 = ice Ih. F3 <= 0.04 = hydrate-like.

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

Input Schema

NameRequiredDescriptionDefault
boxNoPeriodic box in nm: 3 (orthorhombic), 6 (lx,ly,lz,xy,xz,yz), or 9 (GROMACS). If omitted, read from get_symmetry.
kindNo'f4' (torsional) or 'f3' (three-body angular).f4
selectionNoSelection of the water system.all
object_nameNoObject whose box to use (defaults to the selection's object).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/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. It discloses a meaningful interpretive rubric for the returned values, which is real added context, but says nothing about cost, required topology/box prerequisites beyond the schema, or failure modes for non-water selections.

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?

Two short sentences, front-loaded with the action, followed by a compact threshold table. Every clause adds decision-relevant information; nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is a numeric analysis with 4 optional, fully documented parameters and an output schema, so return-format explanation is unnecessary. The threshold interpretation is exactly the extra knowledge an agent needs to act on the result.

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

Parameters5/5

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

Schema coverage is 100% and each parameter already carries a description, so the baseline is met. The description still adds interpretation semantics for the output values tied to the 'kind' parameter (F3 vs F4), which the schema does not explain.

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?

States a specific verb and resource ('Compute the F3 or F4 water order parameter') plus the domain ('clathrate-hydrate system'), which no sibling tool covers. An agent can distinguish this from neighbors like cage_occupancy or hbond_network without opening the schema.

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 the tool is useful by giving interpretation thresholds (F4 ~0.7-0.95 = hydrate, ~0 = liquid, ~ -0.4 = ice Ih; F3 <= 0.04 = hydrate-like), which tells the agent how to read results, though not explicitly when to call it. It offers no explicit when-not guidance or named alternative for related analyses.

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