Skip to main content
Glama
themudhaxk

mudbase-mcp-server

by themudhaxk

Upload a file to Mudbase storage

mudbase_upload_file

Upload a file to a Mudbase storage bucket with base64-encoded content, project ID, bucket ID, and filename. Supports optional MIME type and public visibility for stored files.

Instructions

Upload a file to a Mudbase storage bucket. Provide the file content as a base64-encoded string. Best for small to moderate files (text, small images, JSON, documents) passed inline; not intended for very large binaries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bucketIdYesThe storage bucket ID within the project.
filenameYesThe file name to store, including its extension.
isPublicNoWhether the uploaded file should be publicly readable. Defaults to the bucket's setting.
mimeTypeNoThe file's MIME type, e.g. 'image/png' or 'application/pdf'.
projectIdYesThe Mudbase project ID.
contentBase64YesThe file's raw bytes, base64-encoded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It implies a create/write operation but does not mention permissions, overwrite behavior, failure conditions, or the response/return value, all of which matter for an upload mutation.

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 sentences and the main purpose is front-loaded. The statement about small-to-moderate files and base64 encoding earns its place, and there is no unnecessary padding.

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 description covers the core task and the inline base64 mechanism, but with no output schema and no annotations it omits what the caller gets back on success or failure and any side-effect details. The schema handles parameter-level completeness, but behavioral completeness is still lacking.

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?

The schema already documents all parameters with 100% coverage. The description adds the base64 encoding hint, but that repeats what the schema says for contentBase64, and the small-file guidance is tool-level rather than parameter-level, so it adds no real semantic value beyond the schema.

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 first sentence states a specific verb and resource ('Upload a file to a Mudbase storage bucket'). The sibling tools are all document/bucket listing, retrieval, or deletion operations, so this tool is clearly distinguishable by its upload action.

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?

The description explicitly says it is best for small-to-moderate files passed inline and that it is not intended for very large binaries, which gives agents a clear applicability boundary. It does not name an alternative upload path for large binaries, so it stops one step short of full guidance.

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