Skip to main content
Glama

upload resources

upload_resources

Use this tool to collect binary app resources. For a new upload, declare resources with target_path and optional name, accept, required, purpose and preferred_source; optional app_id scopes it without changing the app. To resume, pass upload_id; add retry:true for a fresh transfer ticket. Source files are not accepted. Returns a widget and an external intake URL; offer both so the user can choose, and use the URL when the widget is unavailable. Call get_resource_upload_instructions for usage and workflow. MCP version 2.13.

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": "upload_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
retryNoRequest a fresh transfer ticket after a failed transfer, keeping the entry ID.
app_idNoOptional app scope; uploading does not bind or deploy.
resourcesNoRequired for a new entry. Binary files under public/resources/ only.
upload_idNoResume an existing resource entry.
mcp_versionNoSet to "2.13", the MCP version in this tool's description. Use this tool's version, not another tool's version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.13\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  2. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.12\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  3. Changed1 schema field changed
    • changedInput schema / properties / mcp_version / description
      Previous value: -"Set to \"2.11.0\", the MCP version in this tool's description. Use this tool's version, not another tool's version."New value: +"Set to \"2.11.7\", the MCP version in this tool's description. Use this tool's version, not another tool's version."
  4. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only say it is a non-idempotent, open-world, non-destructive write; the description adds substantial context beyond that: uploading does not bind or deploy, app_id scopes without changing the app, retry preserves the entry ID, and both a widget and an external intake URL are returned with a rule for choosing between them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: purpose first, then new-vs-resume, then the return/choice rule and the pointer to the instructions tool. Slight waste in repeating the 'MCP version 2.13' fact that the mcp_version schema already pins, but 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?

For a five-parameter mutation with no output schema, the description covers invocation modes, the return shape, and the user-choice behavior. It does not mention how to subsequently check transfer progress (e.g. get_upload_status), leaving that part of the lifecycle to inference.

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 retry, app_id, upload_id, mcp_version and the resource fields are already documented. The description restates the same semantics (app_id scoping, retry's purpose) rather than adding format or constraint detail beyond the schema, so the baseline of 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?

States a specific verb and resource ('collect binary app resources') and immediately splits the tool's two modes: declaring resources for a new upload vs. resuming via upload_id. The scope sentence ('binary files under public/resources/ only', 'Source files are not accepted') makes it distinguishable from siblings like set_app_resources and get_resource_upload_instructions.

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?

Gives explicit conditions: declare target_path for a new entry, pass upload_id to resume, add retry:true for a fresh ticket after a failed transfer. It also names the alternative channel (widget vs. external intake URL, with the fallback rule) and routes to get_resource_upload_instructions for the broader workflow, plus an explicit exclusion for source files.

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