Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as 三域医研 · 科研算法引擎 (SanYu Research Engine). If you published it, claim ownership there.

移动平均

act_moving_average
Read-only

移动平均 要给序列做平滑、看长期趋势,去掉逐点波动 移动平均后的序列

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": {
      "series": "<series>"
    },
    "name": "act_moving_average"
  }
}

Input Schema

NameRequiredDescriptionDefault
seriesYes原始观测序列(一维数值数组,按时间升序)。window 默认 3,必须 ≤ 序列长度,否则无法计算。
windowNo窗口长度,默认 3;必须小于序列长度

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / series / description
      Previous value: -"原始观测序列"New value: +"原始观测序列(一维数值数组,按时间升序)。window 默认 3,必须 ≤ 序列长度,否则无法计算。"
  2. Added

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered without the description. Beyond that, the description only hints that the output is the smoothed series; it says nothing about edge handling, resulting series length (n - window + 1), or how the window default affects the result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short with no filler, but the structure is poor: clauses are run together without punctuation, and the trailing phrase '移动平均后的序列' reads as a dangling return-value note rather than a coherent sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter, fully documented, read-only computation, the description covers the purpose adequately. It omits the one thing the schema does not state, namely the length and alignment of the returned series, which is the main practical ambiguity for this tool.

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 documents both `series` and `window`, including the default of 3 and the constraint window < length. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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

Purpose3/5

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

The description conveys the operation (moving average) and its intent: smooth a series, view long-term trend, remove pointwise fluctuation. However, it is phrased as a purpose fragment rather than a verb+resource statement, and it does not distinguish itself from the smoothing sibling act_exp_smoothing.

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

Usage Guidelines3/5

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

It gives an implied when-to-use (smoothing, long-term trend analysis, noise removal), which is enough to pick it for that scenario. It offers no when-not guidance and no reference to alternative smoothing tools, so an agent choosing between moving average and exponential smoothing gets no help.

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