Skip to main content
Glama

MorseByte x402 Edge Data Refinery & Quant Gateway

Quantitative Market Regime Classifier

morsebyte_quant_regime
Read-onlyIdempotent

Compute RSI-14, EMA-20/50 trend structure, log-return volatility, lag-1 autocorrelation, and momentum vs. mean-reversion market regime from chronological closing prices ($0.050 USDC via HTTP 402).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
closesYesArray of chronological closing prices (minimum 30 candles required for accurate EMA/RSI calculation)
symbolNoOptional asset ticker identifier (e.g. BTCUSD, XAUUSD, V75)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesEvaluated ticker symbol
providerYesService provider name
indicatorsYesComputed technical indicators
last_priceYesMost recent closing price
sample_sizeYesNumber of closing prices analyzed
classificationYesRegime and risk classification output

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-open-world, and non-destructive behavior. The description adds important behavioral context by disclosing the cost model: $0.050 USDC via HTTP 402, which is essential for invocation.

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?

A single front-loaded sentence that lists the computed metrics and payment mechanism without any waste. Every clause contributes to identifying the tool's output or invocation requirement.

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?

The tool is complex, but the output schema handles return values and the input schema fully covers parameter constraints. The description names all computed metrics and the HTTP 402 payment model, leaving only minor implicit details like warm-up length that the schema already captures.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already fully documented in the schema. The description mentions chronological closing prices but adds no syntax or semantic detail beyond what the schema provides, making the baseline 3 appropriate.

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 computational verb and enumerates exactly which analytics are produced (RSI-14, EMA-20/50, volatility, autocorrelation, regime), so an agent can tell precisely what the tool does. The resource is clearly the chronological closing-price series.

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 usage by saying it operates on chronological closing prices, but provides no explicit when-to-use guidance, no prerequisites, and no comparison to alternatives. Since its sibling tools are unrelated, there is little need for sibling differentiation, leaving usage only implied.

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.

Resources