Skip to main content
Glama

StudyScout for Business

Start uploading a video from your own files

createUpload

Start uploading a video from your own files. For an ad that isn’t on the web yet: a public https link to the file works as well and needs no upload. This answers with a signed link for one PUT of the file, at most 200 MB, within 15 minutes (upload.curl is the whole command, for an agent with a shell); no key goes with it. Then completeUpload gives the link a study takes. We keep the file. Once the account has added funds its link is public to anyone who holds it; until then it holds 3 at most, playing only in its signed-in browser.

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": {
      "contentType": "<contentType>"
    },
    "name": "createUpload"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentTypeYesThe file’s type. The PUT must send the same one.
idempotencyKeyNoAny unique text, sent again unchanged when you retry this call: a retry gets the first answer back and spends nothing twice. Left out, one is made for this call and the answer says which, so a retry can use it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Well beyond the annotations, it discloses the signed-link contract (one PUT, max 200 MB, 15-minute window, no key needed), the shell-ready upload.curl command, file retention ("We keep the file"), and link visibility that depends on funded account state (limited to 3 viewers in a signed-in browser until funds are added). The only gap is that idempotency, which the schema exposes via idempotencyKey, is not discussed and the annotation declares idempotentHint=false while the schema promises retry safety — a tension the description could have resolved.

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-loaded with the action, alternative, and next step, and nearly every clause carries operational detail. The trailing sentences ("Then completeUpload gives the link a study takes. We keep the file.") are terse to the point of being cryptic, costing some readability but not wasting much space.

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 two-parameter upload-initiation tool with no output schema, it covers size, expiry, auth, retention, privacy gating, and the follow-up call. The main omission is what the signed link response looks like structurally and how a retry interacts with the declared non-idempotent annotation.

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%, so both parameters are already documented in structured form, establishing the baseline of 3. The description does add adjacent meaning — "no key goes with it" clarifies the PUT authorization and the one-PUT/200 MB/15-minute limits scope when a contentType must be reused — but it says nothing extra about idempotencyKey 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?

Opens with a specific verb and resource ("Start uploading a video from your own files") and immediately distinguishes it from the sibling that finishes the job ("Then completeUpload gives the link a study takes"). It also names the alternative path (a public https link needs no upload), so an agent can route correctly 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 when-to-use and when-not-to-use: use this for a file not already on the web, while "a public https link to the file works as well and needs no upload." The sequence constraint (this must precede completeUpload) is spelled out, leaving nothing to inference.

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.