Skip to main content
Glama

validate_chai_inputs

Read-onlyIdempotent

Validate Chai-1 FASTA and restraint CSV files before GPU inference to catch chain-ID, residue, SMILES, and numbering errors early.

Instructions

Validate a Chai-1 FASTA and optional restraints CSV before GPU inference.

Catches sequential chain-ID bugs (#413/#434), residue-letter mismatches and author-vs-FASTA numbering drift (#435), mismatched modified-residue brackets (#439), invalid SMILES, and malformed pocket/contact/covalent rules.

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": {
      "fasta_text": "<fasta_text>"
    },
    "name": "validate_chai_inputs"
  }
}

Input Schema

NameRequiredDescriptionDefault
fasta_textYes
restraints_csvNo

Output Schema

NameRequiredDescriptionDefault
dataNo
noteNo
foundYes
sourcesNo
warningsNo

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?

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds genuine behavioral value by enumerating the failure classes it detects (chain-ID bugs, numbering drift, bracket mismatches, invalid SMILES, malformed rules), but it does not say whether failures are raised as errors or returned as diagnostics, nor how strict/advisory the checks are.

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?

One front-loaded purpose sentence followed by a compact bullet-style list of detected defects; every line conveys a distinct, actionable check with no filler.

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?

An output schema exists, so return values need not be explained, and the enumerated check categories are enough for an agent to know when to call it and what input quality is required. The remaining gap is whether the tool errors out or reports findings — useful but arguably covered by the output schema.

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 description coverage is 0%, so the description must carry the burden. It identifies both inputs, marks restraints_csv as optional, and names concrete content concepts the inputs must satisfy (chain IDs, residue letters, modified-residue brackets, SMILES, pocket/contact/covalent rules), which meaningfully constrains what to put in each parameter despite the absent schema documentation.

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 opens with a specific verb+resource+scope: 'Validate a Chai-1 FASTA and optional restraints CSV before GPU inference.' It is clearly a pre-flight check, which distinguishes it from siblings that build inputs (build_chai_fasta, build_chai_restraints) or read results (inspect_chai_outputs).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'before GPU inference' gives a clear temporal trigger for using this tool rather than running prediction directly. It does not name exclusions or explicitly point at alternative tools, so it stops short of full when/when-not guidance.

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