Skip to main content
Glama

get_upload_info

Get authenticated binary upload endpoint and supported file types for a module. Use for TXT/TSV text or declared binary inputs (up to 50MiB); do not paste a server path into draw_plot. / 查询文件上传地址和格式要求。

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

Input Schema

NameRequiredDescriptionDefault
module_idYes
input_nameNofile

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the authenticated nature of the endpoint and a concrete 50MiB size ceiling, but says nothing about whether calling it creates server-side state, what credentials or permissions are needed, or what the endpoint's lifetime is once returned.

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?

Two compact sentences front-load the purpose, then usage and the anti-pattern, with a duplicated Chinese line. Nothing is wasted, though the parenthetical size limit and the draw_plot warning are slightly compressed into one clause.

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?

An output schema exists, so return values need no explanation, and the size/format guidance is helpful. However, for a tool whose parameters are entirely undocumented in the schema and whose role in a multi-step upload flow is ambiguous, key context is still missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must explain both parameters. 'For a module' loosely implies module_id, but input_name (default 'file') is never explained, and the agent gets no guidance on what value to supply or how it affects the returned endpoint.

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?

States a specific verb and two concrete resources (upload endpoint and supported file types) scoped to a module. It partially differentiates from siblings by warning against the draw_plot path, but does not clarify its relationship to begin_file_upload, finish_file_upload, or upload_file, which are the closest alternatives.

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

Usage Guidelines4/5

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

Gives a clear use condition (TXT/TSV text or declared binary inputs up to 50MiB) and an explicit exclusion ('do not paste a server path into draw_plot'). It stops short of naming the upload siblings as the next step, so the agent must infer how this connects to begin_file_upload/upload_file.

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