Skip to main content
Glama
sablier-ai

Sablier MCP Server

Official
by sablier-ai

get_flow_results

Read-only

Fetch results from completed Flow generation, scenario, or validation jobs: terminal statistics, percentile bands, sample paths, validation quality, pass rate, and constraints.

Instructions

Get results of a completed Flow job (generation or validation). For generation jobs (default): returns per-asset terminal statistics, percentile bands (P5–P95 timeseries), sample paths, and price_history for indicator warmup. Set summary_only=true to keep stats + bands but drop sample paths (~60%% smaller). Use download_flow_paths to get full raw path data as CSV. For scenario jobs: also returns satisfaction_rate and constraint details. For validation jobs (job_type='validate'): returns quality badge, pass_rate, and per-feature metrics (Wasserstein distance, KS tests, coverage, marginal checks). Use check_flow_job first to verify the job is completed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYesJob ID from generate_flow_paths, simulate_flow_scenario, or flow_validate
job_typeNoType of job: 'generate' (default) for path generation, or 'validate' for validation results.generate
summary_onlyNoIf true, return terminal stats + percentile bands but skip individual sample paths. ~60%% smaller output. Use download_flow_paths to get full raw path data separately.
max_sample_pathsNoMax sample paths to return per asset (default 10, max 50). Ignored if summary_only=true.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses the specific return content per job type (terminal stats, percentile bands, sample paths, price_history) and behavioral traits such as the ~60% size reduction from summary_only. It also reveals preconditions (job completion) and scenario-specific fields, adding substantial context not present in annotations.

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?

The description is information-dense but well-organized by job type and usage scenarios. Every sentence conveys a distinct fact—alternatives, output composition, size optimization, and prerequisites. No fluff or redundancy; the length is justified by the tool's complexity.

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 the output schema and readOnly annotation, the description covers all necessary aspects: return contents for all job types, usage of summary_only, alternative tools, and the prerequisite of checking job completion. It is complete without unnecessary enumeration of fields.

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 is 3. The description adds contextual meaning by explaining how job_type affects output (generate vs validate), the effect of summary_only, and the source of job_id. It also clarifies that sample paths are dropped with summary_only, enriching the parameter definitions.

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 clearly states the tool retrieves results of a completed Flow job, with explicit breakdown for generation, scenario, and validation outputs. It distinguishes itself from siblings by naming check_flow_job (verify completion) and download_flow_paths (full raw CSV), so the agent knows exactly what this tool does.

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?

Provides explicit usage guidance: 'Use check_flow_job first to verify the job is completed', 'Use download_flow_paths to get full raw path data as CSV', and explains when to set summary_only=true. It also clarifies which job types are supported and the default behavior.

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