Skip to main content
Glama

Ask the user for files

request_upload

Open an upload page for the user's own photos, videos or audio (from their computer or phone). Give the user the link; they open it and drop files in, no sign-in needed on that device. Then call get_upload with the upload_id to get popnow:// links for the other tools. The link works for 30 minutes. Free.

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": "request_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional one line shown on the upload page, for example: Your product photos (front and side).
kindsNoWhat the user will upload: image, video, audio. Default all three.
max_filesNoHow many files, 1 to 10. Default 5.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive, non-open-world, non-idempotent call; the description adds genuinely useful behavior beyond that: the link expires in 30 minutes, no sign-in is needed on the target device, the call is free, and the returned upload_id must be fed to get_upload. It does not say whether repeated calls mint separate upload pages or what happens to an abandoned page, which is the remaining gap for a non-idempotent tool.

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?

Four short sentences, front-loaded with what the tool does, then the workflow, then the TTL and cost constraint. Nothing is repeated from the schema and every clause (expiry, no sign-in, free) carries decision-relevant information.

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?

For a three-optional-parameter tool with no output schema, the description covers the action, the handoff to the user, the follow-up call needed to consume the result, and the expiry/cost constraints. An agent can execute the full flow from this text alone.

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 note, kinds and max_files are already self-documenting with examples and defaults. The description only loosely maps to kinds by saying "photos, videos or audio" and adds no format, constraint or default information beyond the schema, so the baseline of 3 applies.

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?

States a specific verb and resource — "Open an upload page for the user's own photos, videos or audio" — and scopes it to the user's own device media. This is clearly distinguishable from get_upload, which is named as the follow-up step that converts an upload_id into usable asset links.

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?

Gives an explicit end-to-end usage path: call this, hand the link to the user, they drop files in without signing in, then call get_upload with the upload_id. What is missing is any exclusion or fallback guidance — e.g., what to do if the user cannot or does not use the link, or whether other sibling add_* tools accept direct assets instead.

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.