Skip to main content
Glama

UXON AI

media_upload_init

Idempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Prepare validated direct-upload instructions for actual files without declaring them stored.

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": {
      "siteId": "<siteId>",
      "files": "<files>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "media_upload_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.

Output Schema

NameRequiredDescriptionDefault
okNo
dataYes
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The phrase "without declaring them stored" adds real value by clarifying that this stages uploads rather than committing them, but nothing is said about expiry of the returned instructions, validation failure modes, or retry behavior beyond what idempotencyKey in the schema implies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the leading sentence about reading agent.instructions.get is boilerplate that dilutes the tool-specific content and front-loads something other than the tool's purpose. The one substantive sentence is efficient but weakly structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter, multi-step upload-initialization tool with a 50% coverage schema, the description omits the staged flow (init then upload then complete), the nature of the returned upload instructions, and validation rules. The output schema helps, but an agent still cannot infer the workflow from this definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 50% and the description adds no parameter meaning at all: files (1-20 items with clientId/name/size/contentType/metadata), siteId, and idempotencyKey are left entirely to the schema. The most important item, what the per-file clientId is used for, is undocumented in both places.

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

Purpose3/5

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

The description says it "Prepare[s] validated direct-upload instructions for actual files without declaring them stored," which hints at generating upload targets, but it is jargon-heavy and never plainly says what the tool returns or how it differs from the sibling media_upload. The first sentence is a global preamble about agent.instructions.get and does nothing to identify this tool's purpose.

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

Usage Guidelines2/5

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

No when-to-use guidance is given. The sibling set contains media_upload, media_upload_complete, media_import and others, yet the description never states that this is the first step of a staged flow or when an agent should prefer it over media_upload.

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