Skip to main content
Glama
SashiDo MCP Server

SashiDo MCP Server

Official

upload_file

Send base64-encoded file data to an app's file storage and return the URL where the file is served; intended for small files already encoded.

Instructions

Upload a file to the app's file storage from base64 data, and get the URL it is served from. For small files; from a local path or a URL the local server has upload_file_from_path and upload_file_from_url.

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": {
      "appObjectId": "<appObjectId>",
      "fileName": "<fileName>",
      "base64Data": "<base64Data>"
    },
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameYesThe file name with extension (e.g., "image.png")
base64DataYesBase64-encoded file data
appObjectIdYesThe app: its name or objectId (see list_apps)
contentTypeNoContent type (e.g., "image/png"). Will be guessed from extension if not provided.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.9/5.0
Behavior3/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 known. The description adds useful behavior — the input is base64 and the result is a served URL — but says nothing about whether an existing file with the same name is overwritten, size limits, or failure modes, which matters for a write tool.

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?

Two tight sentences, front-loaded with the primary action and the return value, then the disambiguation. The second sentence is slightly garbled ('from a local path or a URL the local server has upload_file_from_path...') and reads awkwardly, which costs it a point.

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 four-parameter upload tool with no output schema, the description covers the input source, the small-file scope, the alternative tools, and the return value (a served URL). Remaining gaps — overwrite semantics, size ceiling, error behavior — are real but secondary for correct invocation.

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 coverage is 100%, so all four parameters (fileName, base64Data, appObjectId, contentType) are already documented, including the extension-based content-type guessing. The description adds only the general framing that data is base64; it does not clarify formats, size expectations per field, or how appObjectId resolution behaves. 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?

States a specific verb and resource ('Upload a file to the app's file storage from base64 data') and even names the outcome ('get the URL it is served from'). It explicitly positions itself against the sibling tools upload_file_from_path and upload_file_from_url, so an agent can pick the right upload variant without opening a 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?

Gives a clear selection rule ('For small files') and names both alternatives for path-based and URL-based sources. What's missing is a concrete boundary (what counts as small, max size) and any statement about prerequisites such as app permissions or overwrite behavior when the file name already exists.

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