Skip to main content
Glama

save_workflow_result

Save a finished run's result to the person's library on QuanterLab.

    The run is kept where the person finds it later, in the sidebar's
    Research Library on quanterlab.com, under Reports (one row with the
    report the run answered with):

      - a backtest, walk-forward, stochastic, basic or regime run, with
        its figures, trades, equity line and settings, opening as a full
        report;

      - a scan, with the names it passed and their settings.

    The run has to be finished: a save of a running task is refused
    with a message saying to wait for it.

    Args:
        task_id: The task_id returned by a prior `start_*` call.
        label: Optional name for the saved run, at most 100 characters.
            Without one it is named by its kind and stock ("Backtest on
            SPY, from an assistant").

    The answer carries `report_url`, the saved report's page, and
    `where`, the same place described in words (the sidebar's Research
    Library on quanterlab.com), for apps that rewrite links.
    

Input Schema

NameRequiredDescriptionDefault
labelNo
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, non-idempotent write; the description adds real context beyond that — the refusal behavior for unfinished runs, the 100-character label cap and the fallback naming scheme, and the two return fields (report_url, where). It does not say what happens if the same task is saved twice, which matters given idempotentHint=false, so it is not a 5.

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?

Purpose is front-loaded in the first sentence, and the bulleted run-type list earns its space by telling the agent what shapes of result are valid. The closing sentence about `where` restates the location a second time and is mildly redundant.

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?

With no output schema, the description compensates by naming report_url and where and explaining why both exist. Combined with the completion precondition and default-naming rule, an agent has everything needed to invoke this correctly against a 2-parameter mutation.

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 0%, so the description carries the full burden and does so well: task_id is tied to a prior start_* call, and label is described as optional, capped at 100 characters (a constraint absent from the schema), with the default naming convention spelled out. Minor gap: no format expectation for task_id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

A concrete verb plus resource: it saves a finished run's result into the user's Research Library, and it enumerates exactly what a saved run contains (figures, trades, equity line for a backtest; passing names for a scan). It distinguishes itself from the start_*/get_*_progress siblings by being the terminal persistence step, but it never names a sibling alternative, so it stops short of a 5.

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

Usage Guidelines4/5

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

It gives a clear precondition and a negative case: the run must be finished, and saving a running task is refused with a message telling the user to wait. That is genuine when-to-use/when-not guidance, but there is no explicit routing to or away from any named sibling tool.

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