Skip to main content
Glama

sw_export_eval_template

Generate an evaluation script skeleton so custom wireless algorithms can register standardized per-sample results and be compared via the built-in benchmark.

Instructions

自研算法导出一份评测脚本骨架,让它能进门 2 / 门 3。

内置的 sw_compare_arms 只认六种预编码,自研的 CSI 压缩、信道估计、 波束管理、调度算法进不来。这个工具补那一层:

  1. 拿到 code,写进 .py 文件;

  2. my_algorithm 的函数体换成你的算法(不改也能跑, 预填的示例是估计 CSI 下的 SVD vs Type I,先确认管道通再换);

  3. 运行它,会注册两个臂并打印 result_id

  4. 把两个 id 交给 sw_compare_results 判决。

MCP 不执行用户代码,脚本在用户自己的进程里跑,只把标准化的逐样本 结果注册回来。逐样本数值落 .npz,不进 MCP JSON。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metricNospectral_efficiency
dataset_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses behavior: writes code to a .py file, replaces the my_algorithm function, runs the script, registers two arms, prints result_id, and clarifies that MCP does not execute user code and that per-sample values go to .npz rather than MCP JSON. This is highly transparent.

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?

The description is well-structured with numbered steps and bolded key notes. Despite length, every sentence adds value, providing necessary operational details without 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?

The description covers the workflow, return value (result_id), and file output (.npz), which is good given the output schema exists. However, it omits the roles of dataset_id and metric, leaving a gap in understanding the tool's inputs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has two parameters (dataset_id, metric) with 0% description coverage, and the description fails to explain either. Worse, it references a 'code' parameter that is not present in the schema, creating confusion about the actual input contract.

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 clearly states the tool exports an evaluation script skeleton for custom algorithms, explicitly contrasting with sw_compare_arms which only supports six precoding types. It specifies the verb (export), resource (eval script skeleton), and scope (custom algorithms), distinguishing it from siblings.

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?

Provides explicit when-to-use guidance: for custom algorithms not supported by sw_compare_arms. It gives a numbered step-by-step workflow, including how to replace the algorithm, run the script, and hand off result_ids to sw_compare_results, plus a note about MCP not executing user code.

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