Skip to main content
Glama

Storiez

Get file upload link

presign-upload

Returns a time-limited upload URL and the final object key for one file (for a post image or persona asset). The file is uploaded with an HTTP PUT to that URL.

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": "presign-upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoUpload kind/bucket (e.g. "post", "persona", "onboarding")
postIdNoPost ID (for post assets)
filenameYesThe filename, e.g. "logo.png"
personaIdNoPersona ID (for persona assets)
contentTypeYesMIME type, e.g. "image/png"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false), the description discloses that the URL is time-limited and that the caller must perform an out-of-band HTTP PUT. Those are essential behavioral traits an agent cannot infer from the schema. It leaves the expiry window and any permission requirements unstated, so it is not fully transparent.

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?

Two tight sentences with zero filler; the return value is stated first and the follow-up action (PUT) second, which is the correct reading order for an agent.

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?

With no output schema, the description correctly compensates by naming both return values (URL and object key) and the required HTTP method. Given five optional/required parameters with full schema coverage, the only real gap is guidance on how the returned object key is later consumed.

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 the schema already documents all five parameters, and the baseline of 3 applies. The description adds only loose context by tying the tool to post images and persona assets, without explaining how kind interacts with postId or personaId or which combinations are valid.

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

Purpose4/5

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

The description uses a specific verb+resource ('Returns a time-limited upload URL and the final object key for one file') and scopes it to post images or persona assets, so an agent knows exactly what it produces. It stops short of naming the sibling it complements (e.g. signed-get for downloads), so the differentiation is only implicit.

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

Usage Guidelines3/5

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

It clarifies the usage sequence ('The file is uploaded with an HTTP PUT to that URL') and hints at the two asset scenarios, which implies when to call it. However, there is no explicit when-not guidance, no statement of prerequisites (e.g. post or persona must exist first), and no routing advice relative to the download/read siblings.

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