Skip to main content
Glama

show_upload_widget

Read-only

Show the user a drop-and-upload box to add a reference image, video or audio file to their Morphix library. On upload it returns the new asset id, ready for the generate and upscale tools. Use when the user wants to upload or reference their own media.

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
statusYesThe widget is rendered; the asset id arrives once the user uploads

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Beyond the annotations, the description discloses the flow: the user interacts with a widget, an upload occurs, and the call returns the new asset id usable downstream. That is real behavioral value. However, it sits in tension with readOnlyHint=true, since the flow described creates a new asset; the description does not clarify that the mutation is user-initiated inside the widget rather than performed by the agent's call, and it says nothing about whether the call blocks or returns immediately.

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 earning their place: the first defines the action and accepted media types, the second gives the trigger condition and downstream payoff. The purpose is front-loaded with no redundant restatement of the title.

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 parameters and an output schema present, return-value detail is not required, and the description still usefully names the asset id handoff. The remaining gap is the interaction model: whether the call waits for the user to finish uploading and how it relates to confirm_upload/upload_asset in a multi-step upload sequence.

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 zero parameters, so there is nothing for the description to disambiguate and the baseline applies. It correctly implies that all input arrives through the widget rather than through arguments.

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?

"Show the user a drop-and-upload box to add a reference image, video or audio file to their Morphix library" gives a concrete verb (show a widget) plus the resource (media asset) and the accepted media types. It is clear this is a UI-presentation tool rather than a direct upload call, which implicitly separates it from siblings like upload_asset or get_upload_url, though none are named.

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?

"Use when the user wants to upload or reference their own media" states the triggering condition clearly and ties the output to the generate/upscale flows. It stops short of explicit exclusions, so an agent is not told when to prefer upload_asset, get_upload_url, or confirm_upload instead.

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