Skip to main content
Glama

Ask the owner for a file

xora_upload_request

Shows the owner a file picker in the conversation for an action that takes a file. The owner chooses the file there; it is checked against the action's type and size limits and staged as a one-time upload, and its upload_reference is then posted into the conversation. This call reserves one empty upload slot, unused after ten minutes, and returns a Xorventa page where the owner can choose the file instead; it changes nothing else.

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": {
      "action": "<action>"
    },
    "name": "xora_upload_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoA short line shown to the owner above the picker, e.g. which post the image is for.
actionYesThe action the file is for, e.g. upload_social_media.
post_idNoThe draft or scheduled post the media is for; only with upload_social_media.
campaign_idNoThe campaign a new LIVE post with this media is added to (add_campaign_post: scheduled or posted, never a draft); only with upload_social_media.

Output Schema

NameRequiredDescriptionDefault
noteYes
stateYes
actionYes
post_idYes
run_withYesThe tool that runs the upload action once the file is ready.
max_bytesYes
next_stepYes
upload_idYesThe upload the owner can fill at owner_upload_url; its state is read by this id, and when ready its upload_reference is the value the action accepts as upload_id.
attach_withYesWhere the uploaded media goes next, when a post or campaign was named.
campaign_idYes
reason_codeYes
accepted_typesYes
owner_upload_urlYesA Xorventa page where the owner can choose the file instead of the card, valid for 10 minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / campaign_id / description
      Previous value: -"The campaign a new draft with this media is for; only with upload_social_media."New value: +"The campaign a new LIVE post with this media is added to (add_campaign_post: scheduled or posted, never a draft); only with upload_social_media."
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

The annotations only say this is not read-only, not idempotent, and not destructive. The description goes well beyond that: it reserves exactly one empty upload slot, the slot is only valid for ten minutes, the upload is one-time, the file is validated against the action's type and size limits, and nothing else in the system changes. These are the operational facts an agent needs before invoking a stateful tool.

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 description is a single dense sentence that front-loads the core behavior, then adds the slot and fallback details. Most clauses earn their place, though the trailing 'returns a Xorventa page where the owner can choose the file instead' is ambiguous about what the page substitutes for. Splitting it would improve scanability without lengthening it much.

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?

An output schema exists, and the description still usefully explains that an upload_reference is posted into the conversation. For a stateful, owner-mediated tool it covers the reservation, expiry, validation and no-side-effects guarantees. The only gap is the exact relationship to sibling upload tools, which it never addresses.

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% and each parameter already carries a description, including the post_id/campaign_id constraints to upload_social_media. The description refers to 'the action's type and size limits' but adds no per-parameter meaning such as when note is worth setting or how post_id and campaign_id interact. Baseline 3 applies when the schema does the heavy lifting.

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 pairs a specific verb and resource: it shows the owner a file picker for an action that takes a file, and stages a one-time upload with an upload_reference. That is far more precise than the title alone. It stops short of naming its nearest siblings, xora_upload_from_url and xora_upload_prepare, so an agent must infer which upload path applies from the description's own wording.

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?

The phrase 'for an action that takes a file' implies the precondition for calling it, and the size/type validation tells the agent the file must satisfy the action's limits. However, there is no explicit 'use this instead of xora_upload_from_url when the owner must choose' routing, and no statement of what to do when the ten-minute slot lapses. Usage is implied rather than stated.

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