Skip to main content
Glama

drs__CreateCompareResultFile

Export a DRS comparison task result file by specifying project ID, job ID, and comparison type, with optional comparison job ID and time zone for file naming.

Instructions

[DRS] 导出对比任务结果文件。

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": {
      "compare_type": "<compare_type>",
      "job_id": "<job_id>",
      "project_id": "<project_id>"
    },
    "name": "drs__CreateCompareResultFile"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes任务ID。
time_zoneNo时区,如GMT+08:00,用于生成当前时间标识,拼接到文件名称中。
project_idYes租户在某一Region下的Project ID。
compare_typeYes对比任务类型:
compare_job_idNo对比任务的ID,内容对比、抽样对比、行数对比场景必填。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only says it exports a file. It does not state whether the operation is synchronous or asynchronous, what permissions or project scope are needed, whether it produces a persistent file identifier, or what the response contains.

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?

The single sentence is short and front-loaded, but the '[DRS]' tag is noise and the brevity here reflects under-specification rather than efficient communication. There is no structure to convey scope or behavior.

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

Completeness2/5

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

For a five-parameter file-generation tool with no annotations and no output schema, the description is far too thin. The schema covers parameter naming, but nothing describes the operation's side effects, return value, or place in the compare-result workflow, so an agent cannot confidently call it.

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 coverage is 100%, so every parameter (job_id, project_id, compare_type, compare_job_id, time_zone) is already documented in the schema. The description adds no meaning beyond that — for example, it never mentions that compare_job_id is required for content/sample/row-count comparison scenarios, which is stated in the schema rather than the description.

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 names a verb and a resource (exporting a comparison task result file), so the basic action is identifiable. However, it does not distinguish this tool from close siblings like drs__DownloadCompareResultFile or drs__ListCompareResult, leaving unclear whether this creates a file, downloads one, or just materializes a result artifact.

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

Usage Guidelines2/5

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

No when-to-use guidance is given: nothing says which compare_type scenarios call for this tool, whether it is a prerequisite to downloading, or what happens if the file already exists. The agent must infer the workflow entirely from sibling names.

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

Deploy Server

Other Tools