Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_latest_signalsA

Retrieve the latest quantitative stock selection signals produced by the Qlib ML pipeline.

Use this tool before making any trading or allocation decisions. Signals are ranked
cross-sectionally with higher scores indicating higher predicted relative returns.

Parameters:
    top_n: Number of top-ranked instruments to return. Default is 0, which returns
           all ranked instruments in the universe. Must be >= 0.

Returns:
    A dictionary containing:
    - as_of: Effective date of the signals (YYYY-MM-DD).
    - generated_at: UTC timestamp when the signals were generated.
    - source_model: Name of the model architecture (e.g. LightGBM, Alpha158).
    - data_source: Underlying market data feed.
    - horizon_days: Prediction horizon in trading days.
    - checksum: SHA-256 integrity checksum of the signals payload.
    - signals: List of ranked instruments with rank (1..N), symbol, and score.
list_universeA

List all stock tickers tracked by the quantitative research and signal generation pipeline.

Use this tool to inspect the active universe of assets covered by QuantVibe before querying
specific signals or checking market coverage.

Returns:
    A dictionary containing:
    - universe: Sorted list of ticker symbols (e.g. ['AAPL', 'MSFT', 'NVDA']).
    - count: Total number of instruments in the universe.
    - as_of: Effective date of the asset universe configuration (YYYY-MM-DD).
signal_healthA

Check the health, integrity, and staleness of the quantitative signals artifact.

Use this tool for system monitoring and sanity checks before consuming signals in automated workflows.
Verifies that the signals file exists, the SHA-256 checksum is valid, and the data is within acceptable age.

Parameters:
    max_age_hours: Maximum allowable signal age in hours before considering data stale.
                   Default is 24.0 hours.

Returns:
    A dictionary containing:
    - ok: Boolean indicating if the signals file is healthy and fresh.
    - age_hours: Current age of the signals in hours since generation.
    - max_age_hours: The freshness threshold applied.
    - path: Path to the signals file on disk.
    - source_model: Model that generated the signals.
    - n_signals: Number of valid signals in the payload.
    - as_of: Market date of the signals.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.5/5.0

Scored across 3 tools

Disambiguation5/5

Each tool serves a clearly distinct purpose: retrieving signals, listing the universe, and checking signal health. No overlap or ambiguity between them.

Naming Consistency4/5

Two tools follow the verb_noun pattern (get_latest_signals, list_universe) while signal_health is a noun-based name. Minor inconsistency but still readable and predictable.

Tool Count5/5

With 3 tools, the server is right at the lower bound of the well-scoped range. Each tool earns its place and covers the core read-only quant signal workflow.

Completeness4/5

The surface covers latest signals, universe, and health checks. Missing historical signal retrieval or per-symbol queries are minor gaps that can be worked around by filtering the full list.

Maintenance

ActivityMaintained
ResponsivenessNo issues