Skip to main content
Glama

Super Agent Skill

upload_packages

[PRIVATE UPLOAD] Push local primitive(s) into the author's PRIVATE workspace. Files are normalised by the SkillForge author pipeline and stored as private drafts owned by the token holder — NOT visible in the public marketplace, search, or trust leaderboard. To list a draft for sale on the marketplace, the author must submit it for admin review from the website UI (/account/packages). This MCP tool intentionally has no publish parameter so agents cannot expose a user's skill publicly without their consent. Authenticates via the OAuth bearer of the active MCP session — no extra personal token needed. Pass an idempotency_key (any opaque string you generate once per upload) so retries on network failures don't create duplicates. Batching: the first file is processed inline; any additional files are queued and normalised by a background worker (drained roughly once per minute) — the response includes queued: [{id, filename}] so the caller can poll progress at /account/packages.

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": {
      "files": "<files>"
    },
    "name": "upload_packages"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
dry_runNoValidate the files WITHOUT authenticating or persisting anything: returns per-file inferred type + prompt-injection guard verdict so an agent can confirm a file would be accepted before connecting OAuth. No drafts are created, no model budget spent.
auth_tokenNoDeprecated. Ignored when the request already carries an OAuth bearer; only used as a fallback for legacy personal MCP tokens.
idempotency_keyNoOpaque string generated once per logical upload. Repeats within 24h return the original response and DO NOT re-process the files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the privacy boundary of stored drafts, the normalisation pipeline, that the first file is inline while extras are queued (~1 min drain), the meaning of `queued` in the response, idempotency replay semantics within 24h, and that OAuth bearer auth means no personal token is needed. This is far beyond what the schema alone conveys.

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 long but front-loaded with the critical fact (PRIVATE upload, not marketplace) and then ordered by auth, idempotency, and batching concerns. Each sentence adds distinct operational information, though the density is high and the batching paragraph could be tightened.

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?

There is no output schema, and the description compensates by describing the response shape (`queued: [{id, filename}]`) and the inline-vs-queued processing split. For a tool with a background worker and consent-sensitive publishing semantics, everything an agent needs to call it safely and interpret the result is present.

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 coverage is 75% and already documents dry_run, auth_token, and idempotency_key, but the description adds value by tying dry_run to the no-auth/no-model-budget validation flow and reinforcing that idempotency_key repeats return the original response. It does not explain the `type` enum or `name`/`content` constraints, which remains a small gap given nested file items.

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 specific verb and resource (push local primitives into the author's PRIVATE workspace) and immediately bounds it: drafts are not visible in the marketplace, search, or leaderboard. This clearly separates it from any public-listing or read-oriented sibling, so an agent can select it without inspecting the schema.

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 explicitly says when to use it (pushing local files as private drafts) and when not to expect publication (listing requires the website UI at /account/packages), plus when dry_run applies (validating before OAuth). The main gap is that it directs polling to a web URL rather than naming the `upload_status` sibling tool, leaving the in-MCP alternative implicit.

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.