Skip to main content
Glama

Schedchie Social Media Scheduler

Mint an upload slot (widget)

create_upload_slot

Used by the in-chat upload widget: returns a raw storage URL that only a client already holding the file's bytes can use. request_media_upload is the call that asks a user for a file.

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": {
      "filename": "<filename>",
      "mimeType": "<mimeType>"
    },
    "name": "create_upload_slot"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoThe file's exact byte count, from the file you are about to send (file.size). Recorded on the slot for reference only; it is not enforced. Optional: only a measured count is useful.
filenameYesFile name including its extension; the extension routes the transcode.
mimeTypeYesMIME type (image/* or video/*).
workspaceNoAct in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the generic safety triad (not read-only, not destructive, not open-world), so the description carries real weight here and does disclose a key behavioral trait: the returned URL only works for a client already holding the file's bytes, which rules out handing it to arbitrary third parties. It omits other operationally relevant traits such as slot expiry or single-use semantics, so it isn't fully transparent.

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?

Two short sentences, front-loaded with the core behavior and ending with the sibling routing cue. No filler or repetition of schema content.

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?

For a non-destructive minting tool with a fully documented 4-parameter schema and no output schema, the definition covers return shape (raw storage URL) and caller constraint (client with the bytes), which is the essential picture. It would be complete if it noted slot lifetime or a required follow-up such as confirm_upload.

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 coverage is 100% and the parameter descriptions already explain filename/extension routing, MIME constraints, the unenforced size hint, and the workspace ownerId lookup. The description adds nothing about individual parameters, so baseline 3 applies.

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 states the concrete outcome — it returns a raw storage URL for an upload slot, used by the in-chat upload widget. It also names a sibling (request_media_upload) to differentiate itself. It stops short of a crisp 'creates/mints a slot' verb phrase, leaning on the title for the action verb.

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 gives a clear usage context ('used by the in-chat upload widget') and routes an adjacent case to request_media_upload, which is the call that asks a user for a file. What's missing is an explicit exclusion, e.g. that an agent handling a file it already possesses should use confirm_upload/upload_media rather than this widget path.

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.