Skip to main content
Glama

create_editor_upload

Create an owned upload of up to 50 MiB. PUT the file to uploadUrl using the specified Content-Type, then call finalize_editor_upload. Upload URLs expire after ten minutes.

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": {
      "fileName": "<fileName>",
      "contentType": "<contentType>",
      "size": "<size>"
    },
    "name": "create_editor_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeYes
fileNameYes
contentTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is a non-destructive, non-idempotent, non-open-world write; the description goes well beyond that with the 50 MiB ceiling, the ten-minute expiry of the upload URL, and the mandatory finalize step. Those are exactly the operational facts an agent needs to avoid creating orphaned or expired uploads.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences with the constraint and the workflow front-loaded; no filler, and every sentence carries a fact the agent needs (size cap, PUT requirement, expiry, next tool).

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

Completeness4/5

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

For a three-parameter creation tool with no output schema, the description covers the workflow and the constraints well. The remaining gap is that it never states what the response returns (presumably uploadUrl and an upload identifier), which the agent only infers from the phrase 'PUT the file to uploadUrl'.

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 coverage is 0%, so the description must carry all parameter meaning, and it only partially does: it ties contentType to the subsequent PUT and implies size is bounded by 50 MiB. The fileName parameter's semantics (extension rules, display name vs. storage key, path characters) are left entirely unexplained.

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?

The description names a specific verb and resource ('Create an owned upload') and adds concrete scope (up to 50 MiB), so it is immediately distinguishable from finalize_editor_upload, which it explicitly names as the follow-up step. An agent knows exactly what this call produces versus what finalization does.

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?

It lays out the required sequence clearly: create here, PUT the bytes to the returned uploadUrl with the matching Content-Type, then call finalize_editor_upload. What is missing is any exclusion — with a sibling create_attendee_upload in the catalog, the description never states that this path is for owner/editor uploads rather than attendee uploads.

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.