Skip to main content
Glama
sablier-ai

Sablier MCP Server

Official
by sablier-ai

train_flow_model

Destructive

Train a generative Flow model on a portfolio and conditioning set to generate synthetic market paths. Returns immediately; training runs on GPU and takes 5-15 minutes.

Instructions

Train a generative Flow model on a portfolio and conditioning set. Returns immediately — training runs on a GPU and takes 5-15 minutes. After calling this, STOP and tell the user training has started. Let them keep chatting. The user will ask you to check progress — use check_flow_job(job_id=...) when they do. Do NOT automatically poll or call check_flow_job yourself. Requires conditioning_set_id (from list_feature_set_templates or create_feature_set) and tickers or portfolio_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
horizonNoForecast horizon in trading days. ~1 month = 20, ~1 quarter = 60, ~6 months = 120. Defaults to 60 if omitted.
tickersNoTickers to analyze (e.g. ['AAPL', 'MSFT']). Auto-creates a portfolio if portfolio_id is not given.
weightsNoOptional weights (must sum to 1.0). Defaults to equal weights.
portfolio_idNoUUID of an existing portfolio. If omitted, provide tickers instead.
conditioning_set_idYesUUID of the conditioning set (from list_feature_set_templates or create_feature_set).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description discloses key behavioral traits beyond annotations: it returns immediately, training runs on a GPU and takes 5-15 minutes, and the agent should not auto-poll. These are important operational details not captured by openWorldHint or destructiveHint. No contradiction with 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?

The description is three sentences, front-loaded with the core purpose. The second sentence is dense with operational instructions, but every part is useful for safe usage. It could be slightly more concise, but avoids fluff and stays on topic.

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 description covers the async lifecycle, follow-up mechanism, and prerequisites, which is rich for a tool with an output schema. It doesn't explain return values, but that is covered by the output schema. The main missing piece is guidance on handling training failure, but this is a minor gap.

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?

The input schema already provides detailed descriptions for all 5 parameters (100% coverage), including the 'tickers or portfolio_id' alternative and the source of conditioning_set_id. The description's mention of 'tickers or portfolio_id' is redundant and adds no new meaning beyond the schema, so the baseline of 3 is 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?

The description states the tool trains a generative Flow model on a portfolio and conditioning set, using a specific verb and resource. It distinguishes itself from siblings by clarifying that it returns immediately and that progress must be checked via check_flow_job, which is not part of this tool.

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?

The description provides explicit when-to-use guidance: after calling, stop and tell the user training started; let them keep chatting; when they ask about progress, use check_flow_job. It also explicitly states do NOT automatically poll or call check_flow_job yourself, which is a clear exclusion. Prerequisites for required parameters are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sablier-ai/sablier-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server