Skip to main content
Glama
mcp-file-downloader

mcp-file-downloader

by QianJue-CN

analyze_performance

Analyze a download task's performance to identify bottlenecks and receive optimization suggestions. Use the task ID to generate summary, detailed, or JSON reports.

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>"
    },
    "name": "analyze_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNo报告格式summary
taskIdYes要分析的任务ID
includeMetricsNo是否包含详细指标数据
includeBottlenecksNo是否包含瓶颈分析
includeSuggestionsNo是否包含优化建议

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/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. It usefully discloses the shape of the output — bottleneck analysis and optimization suggestions — which matters because there is no output schema. However, it does not state that the operation is read-only, whether it consumes resources or takes significant time, or what the report contains beyond its two named sections.

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?

A single front-loaded sentence with no filler; the resource is named first and the deliverable second. It is efficient, though its brevity is partly the cause of the missing usage guidance rather than a sign of completeness.

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

Completeness3/5

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

For a five-parameter analysis tool with no annotations and no output schema, the description covers the general output shape but omits the format variants, the metrics-inclusion behavior, and any cost/latency expectations. It is minimally adequate rather than complete.

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 all five parameters (taskId, format, includeMetrics, includeBottlenecks, includeSuggestions) are already documented in the schema. The description's mention of bottleneck analysis and optimization suggestions loosely corresponds to two of the boolean toggles but adds no semantics beyond that. Baseline 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 a specific verb and resource: analyzing the performance of a download task, with bottleneck analysis and optimization suggestions as output. This clearly differs from siblings like get_download_status or optimize_connections. It stops short of explicitly naming any sibling it should be preferred over.

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 guidance on when to reach for this over get_download_status (status check) or optimize_connections (which presumably acts on connection settings). The description also does not say whether this tool only diagnoses or can apply fixes, leaving a consequential distinction to inference.

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