Skip to main content
Glama

Ask the user to upload a file

request_upload

Show the user an upload card so they can add their OWN image or video (use this only for a genuine human upload — e.g. their client couldn't hand a file to ingest_url). When that's because the user attached a file in this chat and your client gave you no download_url, say once in this chat, in these words or close: "Files attached in this chat can't be passed to emero directly, so here's an upload link instead; it takes a few seconds. (In ChatGPT, attachments go straight through.)" Never more than once, and never as a reason to switch apps. Returns an upload:<id> (all the files they add); upload:<id>#n is one file, 0-based in the order they added them, and works anywhere an asset id does (generate, view, inspect, publish_workflow). inspect(upload:, include_details:true) lists each file's id, filename, type and size. Ask them to upload and click Done, then WAIT for their reply — don't poll. When they're done, pass upload: STRAIGHT into generate (reference_image_ids / start_frame_id / end_frame_id) or into view to see it — emero resolves it to the full-resolution file(s). Do NOT call request_upload again for the same file (a second call re-shows the card).

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
project_idNoOpaque per-chat project id: "p-" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list.
project_nameNoShort human title for the project (2-5 words from the user request, e.g. "Perfume ad campaign"). Pass it on your first generate/ingest_url so the project is not left "Untitled". You may also rename at will later — pass an updated project_name (on a generate/ingest_url, or on set_settings with no other change) whenever the user asks, e.g. "call this project cats".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Opaque per-chat project id. Mint one on your first emero action, pass that SAME id every call. One project per chat: NEVER mint a second for a new topic/campaign/subject/vibe — all stay in the one project; a new id is only for a new chat (server folds a stray id back in). A new chat the user says continues an earlier project reuses that project's id (from get_emero_brain's project list)."New value: +"Opaque per-chat project id: \"p-\" plus 6 random letters and digits. Every chat is a new project. Mint one on your first emero call and pass that SAME id on every call in this chat. Never mint a second one in the same chat, even for a new topic, campaign or subject. Only when the user asks to continue an earlier project, reuse its id from get_emero_brain's project list."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

The annotations only declare readOnly=false, openWorld=false, idempotent=false and destructive=false. Beyond that, the description adds what the agent actually needs to know: the tool waits for the human and must not be polled, a second call re-shows the card (which explains the non-idempotent hint concretely), and the return value is an upload:<id> handle that emero resolves to full-resolution files. It therefore goes well past the annotations in explaining the behavior.

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 ordering is front-loaded: what the tool is, then the trigger, then the verbatim fallback message, then the return format and workflow. The quoted message is long, but the once-only, near-verbatim requirement justifies it. A few clauses, such as the parenthetical about ChatGPT, are tangential, but overall the description is dense with operational 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?

No output schema exists, so the description must carry the return contract. It does, defining upload:<id>, its 0-based #n file suffix, how the id is accepted wherever an asset id is, and how inspect exposes the per-file metadata. Combined with the wait-and-don't-poll instruction and the downstream handoff, an agent has everything needed to call it correctly.

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 description coverage is 100%, so both parameters (project_id, project_name) are already documented in the schema and the baseline is 3. The description does not add any parameter-level detail, but for a zero-required-parameter tool with fully described schema fields, this is adequate.

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 states a concrete action (show an upload card so the user can add their own image or video) and explicitly contrasts it with ingest_url, so an agent can distinguish it from the sibling that ingests URLs without opening either schema.

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

Usage Guidelines5/5

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

The description names the trigger (a genuine human upload, e.g. when the user's client cannot hand a file to ingest_url), the case where this tool is not the right answer (a user-attached file with no download_url, where the agent should say the specified fallback line once), and the downstream tools it feeds into (generate, view, inspect). It also states the negative rule: never call it more than once, and never use it as a reason to switch apps.

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.