Skip to main content
Glama

EasyQuant Research

因子体检

factor_report

评估一个因子在 A 股全市场有没有预测力:Rank IC 与 ICIR、持有期衰减、分年度、剔除市值与行业后的 IC、与 Barra 风格的相关性、分组收益,以及一句话结论与等级。因子可以是表达式(写法同 backtest_portfolio),也可以是全局风格因子代码(SIZE / VALUE / QUALITY / MOMENTUM / VOLATILITY / LIQUIDITY)。首次计算约 1~3 分钟,返回 RUNNING 时用 get_job 取结果。只能引用返回的数字。

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": "factor_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
factorNo全局风格因子代码;与 expression 二选一
expressionNo因子表达式,例如 incttm_n_income_attr_p / (total_mv * 1e4)(盈利收益率);与 factor 二选一
window_yearsNo评估窗口(年),默认 3

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

No annotations exist, and the description carries the load well: it discloses the 1~3 分钟 first-run latency, that the call may return a RUNNING job requiring get_job polling, and an output constraint (只能引用返回的数字) that guards against fabrication. It does not mention caching on repeat runs, cost, or what a failure looks like.

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?

Front-loaded with purpose, then input modes, then async behavior — the ordering matches how an agent decides to call. It is dense with an enumerated metric list but nearly every clause adds actionable information; only the metric enumeration is slightly list-heavy.

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 compensates by listing the returned metrics and the conclusion/grade, and it explains the async contract. Anything an agent needs to call correctly and interpret the result is present.

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 already 100%, so the schema itself documents factor/expression/window_years. The description adds real meaning beyond it by framing factor codes as global style factors and by tying expression syntax to backtest_portfolio, which the schema does not say.

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?

States a specific verb and resource (评估一个因子在 A 股全市场的预测力) and then enumerates exactly what the report contains (Rank IC/ICIR, 持有期衰减, 分年度, 剔除市值行业后 IC, Barra 相关性, 分组收益, 结论与等级). An agent can distinguish it from backtest_portfolio or screen purely from this text.

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 concrete input alternatives (expression vs. global style code) and points to backtest_portfolio for expression syntax, plus an explicit follow-up path (RUNNING 时用 get_job 取结果). It does not say when NOT to use this tool versus backtest_timing/screen, so it stops short of full exclusion guidance.

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.