Skip to main content
Glama

Schedchie Social Media Scheduler

Confirm an upload slot (widget)

confirm_upload

Used by the in-chat upload widget: checks that the bytes the widget just sent landed, then returns the media descriptor. A file uploaded through a link is reported by get_media_status.

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": {
      "slotId": "<slotId>"
    },
    "name": "confirm_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoWidget only: the exact byte count the widget just sent (file.size). Only the client that sent the bytes knows it; a wrong value rejects a good upload.
slotIdYesThe slotId create_upload_slot returned.
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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine context beyond that: this is a confirmation step in the widget's send flow that both verifies landing and returns a descriptor, and that link-based uploads follow a different reporting path. It does not describe idempotency or what a failed confirmation looks like, which keeps it out of the top band.

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 sentences, both front-loaded: the first states mechanism and return, the second states the routing exclusion. Nothing is redundant and no sentence is filler.

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?

With no output schema, the description usefully says it returns the media descriptor, and it explains the tool's role in the widget flow. A brief note on what happens on verification failure or whether the slot is consumed would close the remaining gap.

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 the schema itself explains size (exact byte count from file.size, wrong value rejects a good upload), slotId (from create_upload_slot), and workspace. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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?

"Checks that the bytes the widget just sent landed, then returns the media descriptor" gives a concrete verb (verify landed bytes) and a concrete result (media descriptor), tied to a specific caller (in-chat upload widget). The second sentence explicitly separates it from get_media_status for link-based uploads, so the agent can distinguish it from a sibling 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 Guidelines4/5

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

The description scopes the tool to the widget flow and names the alternative path (files uploaded through a link are reported by get_media_status). That is a real when-to-use/when-not-to-use signal. It stops short of telling a non-widget agent explicitly that it should not call this tool, but the implied restriction is clear.

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.