Skip to main content
Glama
mcp-file-downloader

mcp-file-downloader

by QianJue-CN

configure_advanced_session

Configure advanced download sessions to set proxy, authentication, custom headers, timeouts, retries, and connection limits for protected or restricted HTTP file transfers.

Instructions

配置高级会话管理,支持代理、认证和自定义请求头

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "configure_advanced_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
authNo认证配置
proxyNo代理配置
timeoutNo请求超时时间(毫秒)
sessionIdNo会话ID(可选,不提供将自动生成)
userAgentNo自定义User-Agent
maxSocketsNo最大Socket连接数
retryCountNo重试次数
maxRedirectsNo最大重定向次数
defaultHeadersNo默认请求头
retryOnFailureNo失败时重试
enableKeepAliveNo启用Keep-Alive
enableCompressionNo启用压缩

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/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 does little with it. It never states whether this creates a new session or mutates an existing one, what happens when sessionId collides with an existing session, whether settings persist across calls, or whether configuration is scoped globally or per-session.

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?

One short, front-loaded sentence with no filler or repetition. It is efficient, though its brevity reflects under-specification rather than disciplined editing.

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 12-parameter tool with nested objects, zero annotations, and no output schema, a single sentence is far from sufficient. The agent gets no information on session lifecycle, interaction between retryCount/retryOnFailure, or what the call returns (e.g., a sessionId).

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 per-parameter descriptions (timeout, sessionId, maxSockets, retryCount, etc.), so the schema does the heavy lifting and baseline 3 applies. The description only echoes three of the twelve parameters (proxy, auth, defaultHeaders) and adds no format, units, or default-value meaning beyond them.

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+resource (configure advanced session management) and enumerates three capability areas — proxy, authentication, custom headers. However, "高级会话管理" is vague about what a session actually is in this product, and nothing distinguishes it from siblings like pre_request or optimize_connections that also touch connection behavior.

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 call this versus other connection-related tools, no prerequisites, and no note about whether it must be called before download_file. The agent must infer usage entirely from the tool name.

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