Skip to main content
Glama

三域医研 · 科研算法引擎 (SanYu Research Engine)

稳健离群点识别

act_outlier_robust
Read-only

稳健离群点识别 数据清洗阶段要找出异常值,但不想用「均值±3SD」这种被异常值本身污染的办法 离群值索引与判定依据

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": {
      "data": "<data>"
    },
    "name": "act_outlier_robust"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYes一维数值样本(至少 4 个观测)。method 默认 mad(稳健),可选 iqr/zscore;返回异常点索引与判断依据,不自动删除数据。
methodNo方法:iqr(默认)/ mad / zscore

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / data / description
      Previous value: -"样本数值序列"New value: +"一维数值样本(至少 4 个观测)。method 默认 mad(稳健),可选 iqr/zscore;返回异常点索引与判断依据,不自动删除数据。"
  2. Added

TDQS

A3.6/5.0
Behavior3/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 the safety profile is covered. The description adds that the method is robust against contamination and returns indices and decision basis, but it does not disclose output format, assumptions, or minimum sample size; a 3 is appropriate.

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?

The description is short and front-loads the tool name and use case. The fragments are somewhat choppy and the title is repeated, but there is no filler.

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?

For a simple two-parameter read-only analysis tool with full schema coverage and annotations, the description covers purpose, usage context, and return type. It leaves method selection and output format to the schema, which is acceptable given the schema coverage, though the definition is not fully self-contained.

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%, so the schema already documents the data and method parameters. The top-level description adds no parameter-level detail such as method choices or defaults, so the baseline of 3 applies.

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?

The description states the operation (robust outlier detection) and the data-cleaning context, and it identifies the output as outlier indices plus decision basis. It also distinguishes the approach from mean±3SD, but it does not explicitly differentiate from sibling tools.

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 when-to-use condition: data cleaning where outliers must be found. It also gives a when-not-to-use condition: mean±3SD is rejected because outliers contaminate it. However, it does not name alternative tools or explain how to choose among the method options.

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.