Skip to main content
Glama

sw_compare_results

Compare two registered algorithm results using the same statistical gating as the arms comparison, validating dataset alignment and returning a statement of significance and pre-registration status.

Instructions

判决两个外部算法结果,连过门 2、门 3。

sw_compare_arms 用的是同一套统计与门控实现,判决标准完全一致 ——自研算法不走宽松通道。区别只在数值从哪来:那个现场跑内置预编码, 这个读已注册的结果。

注册时锁死三件事,任一不成立就拦:数据集内容摘要一致、样本 ID 逐个按序 一致、指标与单位一致。因为配对检验的全部有效性建立在"第 i 个数对应同一个 信道实例"上,错配时它照样会算出一个看起来很显著的 p 值

返回的 statement 会写清用的哪个检验、指标是什么,以及这是预注册主结论 还是探索性分析。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
result_id_aYes
result_id_bYes
claimed_gainNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool uses the same paired-test/gating implementation as sw_compare_arms, warns that mismatched data can still produce a seemingly significant p-value, and details the blocking conditions. It also describes what the returned statement contains. This is thorough and goes beyond a simple read-only or mutation hint.

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 organized into three short paragraphs, front-loading the core purpose. Every sentence adds value: differentiation, validation, warning, and output. It is somewhat verbose but still efficient, and the bolded warnings improve scannability. It earns a 4 rather than 5 because it could be slightly tightened without losing information.

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 tool with moderate complexity, the description covers the main aspects: purpose, usage differentiation, validation conditions, behavioral edge-case, and output statement. However, it leaves claimed_gain completely unexplained and assumes domain knowledge about gates 2 and 3. The existence of an output schema reduces the need for return-value detail, but the param gap keeps this from a 5.

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 0%, so the description must compensate. It clarifies that result_id_a and result_id_b are two external algorithm results, which adds meaning beyond the raw parameter names. However, the third parameter claimed_gain is never mentioned, leaving its purpose ambiguous. Thus the description only partially explains the parameters.

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 opens by stating the tool's function: '判决两个外部算法结果' (judge two external algorithm results) and explicitly mentions passing gates 2 and 3. It clearly differentiates itself from the sibling tool sw_compare_arms by noting that while it uses the same statistical implementation, it reads registered results rather than running built-in precoding.

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

Usage Guidelines5/5

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

The description explicitly contrasts this tool with sw_compare_arms: '那个现场跑内置预编码,这个读已注册的结果' (that one runs built-in precoding on the spot, this one reads registered results). This tells the agent when to choose this tool over the alternative. It also lists three registration consistency checks that will block execution if not satisfied, providing clear prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TianLin0509/superwireless'

If you have feedback or need assistance with the MCP directory API, please join our Discord server