Skip to main content
Glama

begin_file_upload

Start a real file upload over the existing MCP endpoint; maximum 50MiB. / 创建分块上传。

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": {
      "module_id": "<module_id>",
      "filename": "<filename>"
    },
    "name": "begin_file_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filenameYes
module_idYes
input_nameNofile

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only the 50MiB maximum. It does not say what happens after the call (e.g., an upload handle coming back), whether the upload is chunked or single-shot, whether a finish step is mandatory, or whether abandoned uploads expire.

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 description is short and front-loads the action, but the bilingual duplication with a bare '/' separator is redundant rather than clarifying, and the English and Chinese halves imply slightly different behaviors (real upload vs. chunked upload).

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?

An output schema exists, so return values need not be explained, but for a lifecycle-initiating tool the description should cover the follow-up calls and the meaning of its three required-ish inputs. Both are absent, leaving an agent unable to sequence this correctly with finish_file_upload or append_file_chunk.

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?

Schema description coverage is 0% across three parameters (module_id, filename, input_name), and the description mentions none of them. An agent gets no idea what module_id refers to or what input_name (default 'file') controls, so the description neither compensates for nor supplements the bare schema.

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 ('Start a real file upload') and names the transport ('over the existing MCP endpoint'), so an agent can tell this initiates an upload. It does not distinguish itself from siblings such as upload_file, append_file_chunk, or finish_file_upload, and the Chinese fragment ('创建分块上传') reframes it as a chunked-upload creation rather than a plain file upload.

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 whether this must be called before append_file_chunk/finish_file_upload, or when upload_file would be the better choice. The only guidance-like content is the 50MiB cap, which is a constraint rather than a selection rule.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources