Skip to main content
Glama

create_upload_url

Get a short-lived URL to upload ONE file (an image, a PDF, audio or plain text) that you then pass to a tool of ASI.EXPRESS as file_ref. Give content_type and size_bytes; PUT the bytes to upload_url within 10 minutes with the same content-type. The upload URL can only upload or delete that file, never read it. Files you upload are used only to run the tool you pass them to: each file is deleted automatically at the latest 1 hour after upload (never more than 24 hours), is not shared with anyone outside ASI.EXPRESS and its hosting provider Cloudflare, and its content is never written to our logs. Maximum 10 MB per file. Limits: 20 uploads a day per address.

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": {
      "content_type": "<content_type>",
      "size_bytes": "<size_bytes>"
    },
    "name": "create_upload_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
size_bytesYesthe exact file size in bytes (at most 10 MB)
content_typeYesthe file's type

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (which only say it is a non-read-only, non-destructive, non-idempotent, closed-world call), the description discloses the URL's lifetime (10 minutes), the fact that the URL can only upload or delete – never read – the file, automatic deletion within 1 hour and never past 24 hours, the disclosure scope (ASI.EXPRESS plus Cloudflare), the no-logging guarantee, and the per-address daily quota. That is exactly the kind of behavioral context annotations cannot carry.

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?

The purpose is front-loaded in the first clause and every following sentence carries operational or policy information. The privacy sentences are the densest part and could be tightened, but they are relevant to an agent deciding whether to route user content through this URL.

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?

An output schema exists, so the description does not need to describe the return payload, and it does not waste words doing so. For a two-parameter tool that initiates a time-bounded upload, everything an agent needs – what to send, where to send it, how long it lives, size and frequency caps, retention and disclosure – is present.

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 100% and both parameters are documented with an enum and a maximum, so the baseline is 3. The description adds meaning the schema does not: content_type must match the Content-Type used in the subsequent PUT, and the 10 MB ceiling is restated as a hard limit rather than just a schema maximum.

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 opens with a specific verb and resource ('Get a short-lived URL to upload ONE file'), names the accepted media types, and explains the downstream contract ('pass to a tool of ASI.EXPRESS as file_ref'). That is enough to distinguish it from every listed sibling, none of which deal with file ingestion.

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 clearly states the workflow: supply content_type and size_bytes, then PUT the bytes to upload_url within 10 minutes using the same content-type. It also gives hard limits (10 MB per file, 20 uploads/day). It does not name a when-not-to-use case or an alternative tool, but this capability has no evident sibling substitute, so the gap is minor.

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