Skip to main content
Glama

get_upload_url

Get a presigned URL to upload a media asset. Returns the asset id plus storageKey. After uploading, call confirm_media to attach alt text and tags

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

Input Schema

NameRequiredDescriptionDefault
envIdNoEnvironment the content lives in — defaults to the org's production environment
fileNameYes
contentTypeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 behavioral burden. It usefully discloses that the call creates state (an asset id and storageKey exist before any bytes are uploaded), but says nothing about URL expiry, required auth scope, HTTP method for the upload, or size/content-type limits.

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?

Three short sentences, front-loaded with the core action and followed by return values and the follow-up step. Every sentence earns its place; the only mild redundancy is restating the upload purpose in the follow-up 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?

For a presigned-upload tool with no annotations and no output schema, the description correctly covers the return shape and the two-step handoff to confirm_media, which are the highest-value facts. It is still missing operational facts an agent needs to call it correctly — URL lifetime, upload method, and what contentType accepts.

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 only 33%, and the description adds no parameter meaning at all — fileName and contentType are bare in the schema and remain unexplained. It compensates only indirectly by stating that a media asset is the object being uploaded, which tells the agent what fileName/contentType refer to without any format or constraint detail.

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 presigned URL to upload a media asset") and immediately names the follow-up sibling confirm_media, so the agent can place it in the media workflow without opening another schema. Return fields (id, storageKey) are also named, which further pins down what the call produces.

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 gives explicit sequencing guidance: call this first, then call confirm_media to attach alt text and tags. That is concrete next-step context rather than vague implication. It stops short of stating when NOT to use it, for example how it differs from replace_media for replacing an existing asset.

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