Skip to main content
Glama

Get an upload link

get_upload_link

Makes a one-time link where the person adds one photo or video from their phone or computer: for a file that isn't in Postwith and has no public link, since files attached in a chat don't reach Postwith. Photos (JPEG, PNG or WebP) up to 20 MB, videos (MP4 or MOV) up to 50 MB. The link lasts 24 hours. In a terminal, npx postwith upload <file> <link> sends the file without opening the page. check_upload says when it's in and gives its mediaId.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameNoThe file's name, if the person said, to show on the page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-idempotent, non-destructive operation, and the description is consistent with that while adding real detail: one-time use, 24-hour expiry, accepted formats (JPEG/PNG/WebP, MP4/MOV) and size caps (20 MB / 50 MB). It does not say what the call itself returns (presumably the URL), whether the caller must relay it to the person, or whether repeated calls create multiple live links.

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 core purpose and packed with constraints that each earn their place. The embedded clause 'since files attached in a chat don't reach Postwith' interrupts the main sentence slightly, and the terminal command could be its own line, but there is no filler.

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 one-parameter tool with no output schema, the description covers constraints, lifetime, delivery mode (CLI option) and the verification loop, which is close to everything an agent needs. It omits the return payload and any note about who can open the link, which are the remaining gaps.

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 single optional fileName parameter is already documented as display-only text. The description adds nothing about it; baseline 3 applies when the schema carries the parameter meaning.

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 concrete verb and artifact ('Makes a one-time link') plus the exact scope: one photo or video uploaded by the person from their phone or computer. It also carves out the boundary case ('a file that isn't in Postwith and has no public link'), which separates it from link-based media ingestion siblings without naming them.

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 states the condition that selects this tool (file not already in Postwith, no public link available, chat attachments don't reach Postwith) and names the follow-up tool, check_upload, for confirming arrival. It stops short of explicitly naming the alternative for files that already have a public link, leaving that inference to the agent.

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