Skip to main content
Glama

show_upload_widget

Read-only

Show the user a drop-and-upload box to add images or videos from their device to their HubPost media. Call it as soon as the user asks for a post with media (photo, image, video, reel, carousel) that is not already in their library, before asking anything about the file. This is the default way to upload in a chat. On upload it returns the mediaId to attach to a post.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "show_upload_widget"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructive=false, so the description sensibly focuses on what they cannot express: this renders an interactive widget in the conversation rather than returning data directly, and it yields a mediaId on upload. It stops short of saying whether the call blocks while the user picks a file or how to handle a user who dismisses the widget, which matters for sequencing with confirm_upload.

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?

Three sentences, front-loaded with what the tool does, followed by the trigger condition and the return contract. No filler, no restating of the title or annotations.

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?

With an output schema present and no parameters, the description only needed to establish the trigger, the UI behavior, and how the result feeds a later create_post call, and it does all three. Nothing an agent needs to invoke it correctly is missing.

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?

The tool takes no parameters, so there is no schema surface for the description to compensate for; the baseline applies. The description correctly spends its words on invocation context instead of inventing arguments.

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?

"Show the user a drop-and-upload box to add images or videos ... to their HubPost media" names a concrete action and resource, and the closing line ("default way to upload in a chat") separates it from get_upload_url and confirm_upload without the agent needing to open those schemas.

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

Usage Guidelines5/5

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

It gives an explicit trigger ("as soon as the user asks for a post with media ... not already in their library"), an ordering constraint ("before asking anything about the file"), and a default-vs-alternative ranking. That is about as much routing guidance as a zero-parameter tool can carry.

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