Skip to main content
Glama

Stage files for a publish

super_upload

Stage images, video or big files for a publish without sending their bytes in a call. Declare each file’s path and exact bytes; the result carries an uploadId and one url per file. PUT each file to its URL (curl -T, no credentials), then super_publish with uploads. Not index.html: that is html; small assets can ride inline as the publish’s files. Same limits as files; a staged set expires after 30 minutes, and at most 5 wait unpublished at once.

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": {
      "files": "<files>"
    },
    "name": "super_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that the PUT requires no credentials, that a staged set expires after 30 minutes, that at most 5 staged sets can be unpublished at once, and that sha256 is validated. Annotations (readOnly=false, destructive=false) already signal a safe write, so the added operational limits are the real value here; only the response shape on validation failure is left unstated.

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?

Front-loads the purpose, then the call contract, then the alternatives, then the limits — a sensible ordering with no filler. The telegraphic parenthetical style ('`curl -T`, no credentials') is dense but each clause carries distinct information.

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

Completeness5/5

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

Despite no output schema, the description specifies the return values (`uploadId`, one `url` per file) and the full two-step flow through super_publish, plus expiry and concurrency limits. For a staging tool with a single complex parameter, nothing an agent needs in order to call and use it correctly is missing.

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

Parameters4/5

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

Schema coverage is reported as 0% (the nested property descriptions are sparse and the top-level `files` array is undocumented), so the description must carry weight: it explains that `path` must be declared and `bytes` must be the exact size, and that the result maps one `url` per file. It does not explain `sha256` or `contentType`, which are documented in the schema itself.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Stage images, video or big files for a publish') plus the key constraint (no bytes in the call), and explicitly separates itself from the inline `files` path, the `html` path, and the downstream super_publish step. An agent can distinguish it from every relevant sibling without opening a schema.

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

Usage Guidelines5/5

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

Gives explicit routing rules: use this for large/binary payloads, use inline `files` for small assets, use `html` for index.html, and call super_publish with `uploads` after PUTting the bytes. It also names the exclusion and the follow-up tool, which is exactly the when/when-not/alternatives guidance required.

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.