Skip to main content
Glama

Lint an assay payload before spending credit

assay_preflight
Read-onlyIdempotent

Use this when you want to lint the SHAPE of a submission (DSL spec, candles or trades) for free before spending a check, so a typo never costs you one. A format check only -- it gives no buy/sell advice. Free payload lint -- fix your submission BEFORE spending a check.

Validates the SHAPE of what you are about to submit, with the same machine-readable failure vocabulary the paid tools use: DSL schema validity, OHLCV sanity (finite positive prices, aligned series, strictly increasing timestamps), per-symbol data presence, trade-row types, and an honest size warning when the sample is below the paid gates' evidential floor. Send the same spec/ohlcv_by_symbol/trades you would send to assay_gauntlet or assay_signal; get back ok plus named findings (dsl_invalid, timestamps_not_monotonic, ohlcv_non_finite_or_non_positive, ohlcv_series_misaligned, symbol_data_missing, trades_rows_invalid, sample_below_engine_floor) with plain-language details. Shape lint only -- a clean preflight is NOT evidence of an edge and never blesses a signal; it just means your paid check will not bounce on format. Code-computed, no ledger write, no account needed. NOT financial advice. Price: free.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
specNoDSL strategy to lint for shape/DSL errors before you spend a check.
tradesNoTrade list to lint instead of a spec.
ohlcv_by_symbolNoCandles per symbol to sanity-check (aligned, finite, positive).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.8/5.0
Behavior5/5

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

Annotations indicate read-only, idempotent, not destructive. Description adds: free, no ledger write, no account needed, code-computed, and explicit list of validations. No contradictions; full disclosure of behavior beyond annotations.

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?

Well-structured with front-loaded purpose, but verbose with multiple paragraphs. Could be more concise without losing clarity. Still effective.

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?

Given complexity (3 parameters, output schema exists, many siblings), the description covers all essential aspects: validations, findings vocabulary, what it does not bless, and constraints. No gaps identified.

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 100%, so baseline 3. Description adds extra context: specifies that the same payload format is used as paid tools (assay_gauntlet, assay_signal) and explains the validation types, which adds meaningful guidance beyond schema descriptions.

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 starts with a clear verb+resource: 'Lint an assay payload before spending credit'. It specifies the tool validates the shape of a submission (DSL spec, candles, or trades) for free, distinguishing it from paid tools like assay_gauntlet and assay_signal.

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

Usage Guidelines5/5

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

Explicitly tells when to use (before spending a check) and what it does not do (no buy/sell advice, not evidence of an edge). Contrasts with paid alternatives: 'Send the same spec/ohlcv_by_symbol/trades you would send to assay_gauntlet or assay_signal'.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool has a distinct, well-defined purpose (e.g., single backtest vs. batch sweep, PBO overfitting detection vs. Romano-Wolf survivor identification). Despite many tools in the same domain, descriptions clearly differentiate them, and no two tools appear to do the same thing.

Naming Consistency5/5

All tools follow a consistent 'assay_<descriptive_noun>' pattern, using snake_case for multi-word descriptors. No mixing of conventions (e.g., camelCase), making tool names predictable and easy to understand.

Tool Count4/5

21 tools cover a broad range of quantitative finance validation tasks, which is appropriate for the server's depth. While slightly above the typical 3-15 range, each tool provides unique value and the count is not excessive given the domain's complexity.

Completeness5/5

The toolset covers the full lifecycle of strategy validation: backtesting, overfitting detection, falsification, pre-registration, verification, and risk model auditing. Free tools (assay_demo, assay_preflight, assay_graveyard) lower barriers. Missing operations are minimal for the stated purpose.

Resources