Skip to main content
Glama

build_chai_fasta

Read-onlyIdempotent

Constructs and validates a Chai-1 FASTA from structured protein, ligand, DNA, RNA, or glycan entity definitions, returning chain letters or exact validation errors.

Instructions

Build and validate a Chai-1 FASTA from structured entity dicts.

Each entity dict requires: entity_type ('protein'|'ligand'|'dna'|'rna'|'glycan'), name (str), sequence (str). Returns sequential chai-lab chain letters (A, B, C...) or found=false with the exact validation failure.

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": {
      "entities": "<entities>"
    },
    "name": "build_chai_fasta"
  }
}

Input Schema

NameRequiredDescriptionDefault
entitiesYes

Output Schema

NameRequiredDescriptionDefault
dataNo
noteNo
foundYes
sourcesNo
warningsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuinely new behavior: it validates as part of building, assigns sequential chain letters A, B, C, and returns found=false with the exact validation failure on error — details not present in any structured field.

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?

Three short lines, front-loaded with the action, then the input contract, then the return contract. No filler sentences and nothing repeated from the schema or annotations.

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?

For a single-parameter, read-only construction tool with an output schema, this is nearly complete: required fields, enum, output form, and failure mode are all stated. Minor gaps remain around the found=false envelope shape and whether validation is all-or-nothing across multiple entities.

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% and the schema is only an untyped array of objects, so the description carries the full burden and does well: it specifies the required keys (entity_type, name, sequence) and the full entity_type enum. It stops short of saying whether extra keys are permitted or ignored, which matters given additionalProperties=true.

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 pair (build and validate) and resource (Chai-1 FASTA) plus the exact input shape it consumes, so an agent knows precisely what it produces. It does not name or contrast with the sibling validate_chai_inputs, which overlaps on the 'validate' aspect, leaving differentiation implicit.

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 by the required input ('from structured entity dicts') and by the enumerated entity fields, which tell an agent when it has the right data. However, there is no explicit when-not guidance and no routing to validate_chai_inputs or build_chai_restraints, so the agent must infer which of the family to call.

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