Skip to main content
Glama
mcp-file-downloader

mcp-file-downloader

by QianJue-CN

optimize_connections

Adjust download connection count, load balancing, and bandwidth targets for a task to improve transfer throughput and resource use.

Instructions

优化下载连接数和配置,提供智能连接管理

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": {
      "taskId": "<taskId>",
      "fileSize": "<fileSize>"
    },
    "name": "optimize_connections"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskIdYes任务ID
fileSizeYes文件大小(字节)
maxConnectionsNo最大连接数
currentConnectionsNo当前连接数
enableLoadBalancingNo启用负载均衡
enableBandwidthControlNo启用带宽控制
targetBandwidthUtilizationNo目标带宽利用率(0.1-1.0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.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 and it delivers almost nothing: it does not say that this mutates task configuration, whether the change takes effect immediately, whether it can degrade an in-flight download, whether existing values are overridden, or what a successful result looks like. '智能连接管理' asserts capability without disclosing any behavior, which is a serious gap for a 7-parameter mutation tool.

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 a single short sentence with no filler words, so nothing is wasted in a literal sense, but brevity here comes from under-specification rather than discipline. There is no structure beyond one clause, and the vague second half ('提供智能连接管理') occupies space without conveying information.

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 tool with 7 parameters, two required inputs, no annotations, and no output schema, the description is far too thin — an agent cannot determine side effects, preconditions, or expected outcome. Nothing about return values is strictly required since no output schema exists, but the mutation semantics and interaction with the sibling download-control tools should have been covered.

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%, with every one of the seven properties carrying a description (taskId, fileSize, maxConnections, currentConnections, enableLoadBalancing, enableBandwidthControl, targetBandwidthUtilization), so the baseline is 3. The prose adds nothing beyond that — it never explains how maxConnections and currentConnections interact, nor how targetBandwidthUtilization relates to the boolean toggles.

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 broad area ('下载连接数和配置'), so an agent can tell this is a tuning tool rather than a download action. However, it never specifies what is actually changed, what the optimization targets (throughput, stability, cost), or how it differs from the sibling configure_advanced_session — the purpose stays at the level of 'intelligent connection management', which is essentially marketing.

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?

There is no when-to-use guidance at all: nothing says whether this should be called before, during, or after a download, whether it applies to an active task, or when an agent should prefer it over configure_advanced_session or resume_download. The only hint is the required taskId, which implicitly scopes it to one task, but that is inference rather than stated guidance.

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