Skip to main content
Glama
Glitch-Gaming-Platform

Glitch MCP

Official

Upload File

glitch_upload_file
Destructive

Upload a local image, video, or document to a Glitch title or run, making it a run attachment and reference material.

Instructions

Upload a local image, video, or document (e.g. a screenshot, gameplay clip, or brief) to a Glitch title or run. Files become run attachments and potential social assets, treated as reference material behind the prompt-injection boundary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
title_idNoGlitch game title id. Omit only after calling glitch_select_title or setting GLITCH_TITLE_ID.
agent_run_idNoAttach the file to a specific run.
file_pathNoPath to a local file (image, video, or document) on the machine running this MCP. stdio only.
content_base64NoBase64-encoded file contents. Use this instead of file_path over the HTTP transport. Requires file_name.
file_nameNoFile name. Inferred from file_path when omitted; required with content_base64.
mime_typeNoMIME type. Inferred from the file extension when omitted.
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds behavioral context by stating that files become 'run attachments and potential social assets' and are 'treated as reference material behind the prompt-injection boundary', offering insight into security and asset implications beyond the annotations.

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?

The description is two sentences, front-loaded with the core action, and every sentence adds value. No fluff or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 6 parameters, no output schema, and moderate complexity. The description covers purpose and some behavioral context but fails to explain return values or clarify parameter combinations (e.g., file_path vs content_base64). Adequate but with clear gaps.

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% so all parameters are documented. The description does not add significant meaning beyond what the schema provides, though it does mention file types (image, video, document) which aligns with mime_type inference. Baseline 3 is appropriate.

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 clearly states the tool uploads local image, video, or document files to a Glitch title or run. It specifies the verb 'upload', the resource 'local file', and the destination 'Glitch title or run', distinguishing it from sibling tools like glitch_start_agent_run or glitch_select_title.

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

Usage Guidelines3/5

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

The description does not provide explicit guidance on when to use this tool versus alternatives, such as glitch_create_upload_url. It implies usage for uploading files as run attachments, but lacks when-not-to-use or alternative comparisons, leaving the agent without clear selection criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Glitch-Gaming-Platform/Glitch-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server