Skip to main content
Glama

AlgoVesta MCP Trading

get_job_status

Read-onlyIdempotent

Returns the state and, once finished, the result of a background job started by backtest_my_signals, simulate_policy or import_tradingview_backtest.

With no argument it lists the user's recent jobs.

`status` is one of: PENDING (queued), RUNNING (in progress - `progress` is a
percentage), DONE (`result` is present), FAILED (a retry is scheduled), DEAD (it will
not be retried - `error` says why) or CANCELLED.

Jobs run one at a time, so `queue_position` tells the user how many are ahead of
theirs.

Storage: only the 20 most recent finished jobs keep their full result. Older ones
are reduced to their summary and come back with `result_pruned: true` — the detailed
rows are gone and the job has to be run again to regenerate them. Everything is
deleted after 30 days. Backtest and policy runs are also written to your account's
backtest history, and the result carries the `run_id` they were stored under.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_refNoThe job_ref returned by backtest_my_signals, simulate_policy or import_tradingview_backtest. Leave empty to list your recent jobs instead.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations (readOnly/idempotent/non-destructive) by enumerating all six status values with their meanings, explaining that progress is a percentage and queue_position reflects serial execution. It also discloses retention and data-loss behavior: only 20 finished jobs keep full results, older ones return result_pruned: true and must be re-run, everything is deleted after 30 days, and results carry a run_id from backtest history.

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?

Front-loads the core behavior, then a compact status legend, then a storage section. Every sentence adds operational information (queue_position, result_pruned, 30-day deletion, run_id) with no filler.

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?

There is no output schema, yet the description effectively documents the response surface: status, progress, result, error, queue_position, result_pruned, and run_id. Combined with the retention and deletion rules, an agent has everything needed to call it and interpret what comes back.

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%, and the schema already says the job_ref comes from the three producer tools and that leaving it empty lists recent jobs. The description repeats rather than extends that, so it sits at the baseline for a fully documented single parameter.

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?

Names a specific verb and resource ('returns the state and ... result of a background job') and anchors it to the three sibling tools that produce jobs (backtest_my_signals, simulate_policy, import_tradingview_backtest). The second sentence clarifies the zero-argument mode (listing recent jobs), so an agent can tell exactly what this tool does versus its siblings.

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?

Gives clear context for use: poll a job started by one of three named tools, or omit the reference to list recent jobs. It does not state explicit exclusions or tell the agent when polling is pointless (e.g., after DEAD/CANCELLED), but the producer linkage is strong enough that the right call is obvious.

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.