Skip to main content
Glama

EasyQuant Research

查询计算任务

get_job

查询 backtest_portfolio 等异步任务的进度与结果。status 为 QUEUED / RUNNING 时按 retry_after_seconds 再查;SUCCEEDED 时 result 即完整结果;FAILED 时 error 写明原因。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes工具返回的 job_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden, and it delivers the status state machine plus the retry_after_seconds backoff contract, which an agent could not infer elsewhere. It omits retention/expiry of job records and error/not-found behavior for an unknown job_id, so the disclosure is strong but not complete.

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?

Three short sentences, each covering a distinct state (in-progress, success, failure), with the polling instruction front-loaded. There is no filler and no redundancy.

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?

No output schema exists, and the description compensates by naming the result field on SUCCEEDED and the error field on FAILED, so an agent knows what a successful response looks like. Only edge cases such as job expiry or unknown job_id remain uncovered.

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?

There is a single parameter, job_id, with 100% schema description coverage, so the schema already explains it and the description adds no format, sourcing, or validity detail beyond it. Baseline 3 applies.

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 a specific verb (查询) and resource (异步任务的进度与结果), and it anchors the tool to the asynchronous producers, naming backtest_portfolio as an example. An agent can distinguish this polling tool from the sibling backtest tools without opening any schema.

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 concrete when-to-call guidance for the polling loop: while status is QUEUED or RUNNING, re-query after retry_after_seconds. There is no explicit when-not-to-use clause or mention of alternatives, but the operational context is clear enough to act on.

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.