Skip to main content
Glama

inspect_chai_outputs

Read-onlyIdempotent

Audits a Chai-1 output directory to rank diffusion samples correctly, flag single-chain ipTM caveats and inter-chain clashes, and scan logs for dropped restraints or template-load failures.

Instructions

Audit a Chai-1 output directory (scores.model_idx_*.npz + optional chai.log).

Ranks all diffusion samples properly, flags single-chain ipTM caveats (#431), detects inter-chain steric clashes, and scans run logs for silently dropped restraints or failed template loads.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "output_dir": "<output_dir>"
    },
    "name": "inspect_chai_outputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
log_pathNo
output_dirYes

Output Schema

NameRequiredDescriptionDefault
dataNo
noteNo
foundYes
sourcesNo
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds useful context beyond that: the specific artifacts examined (scores.model_idx_*.npz, chai.log), and that the tool flags known caveats (#431) and detects silently dropped restraints or failed template loads. However, it doesn't say how log_path is resolved if omitted, what a clean vs. problematic result looks like, or how the ranking is derived.

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 target directory, then a tight list of checks. Dense but every clause maps to an actual behavior; minor loss of scannability from packing four checks into one sentence.

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?

Read-only annotations plus an existing output schema mean return values and safety needn't be restated. The main remaining ambiguity is log_path behavior (auto-detect vs. explicit-only) and how the tool reacts to a directory missing expected files, but overall it is complete enough for this simple two-parameter tool.

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 0%, so the description must carry the load, and it does reasonably well: output_dir is characterized by its expected contents (scores.model_idx_*.npz), and log_path is identified as the optional chai.log. It's still ambiguous whether log_path is auto-discovered when null, which leaves a gap an agent would need to resolve from the schema.

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?

States a specific verb (audit/inspect) plus a specific resource (a Chai-1 output directory) and enumerates the concrete checks performed: sample ranking, ipTM caveats, steric clashes, log scanning. The sibling set is all input-building/validation tools, so this reads clearly as the post-run output inspection tool, though it never explicitly contrasts itself with validate_chai_inputs.

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 only implied: an agent can infer this runs after a Chai-1 prediction produces an output directory. There is no explicit when-to-use/when-not-to-use guidance, no prerequisites, and no named alternative for overlapping checks.

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