Skip to main content
Glama

Upload a small file

upload_file
Destructive

Save content written in this chat as a file in a bucket, up to 5 MB. Nubbo passes it to the bucket and keeps nothing. For larger files use create_upload_link.

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": {
      "bucketId": "<bucketId>",
      "path": "<path>",
      "content": "<content>"
    },
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath of the new file, such as "notes/summary.md"
contentYesThe file content
bucketIdYesThe bucket id
conflictNoWhen the path exists: fail (default), rename the new file, or replace the old one
encodingNoutf8 for text (default), base64 for binary content
contentTypeNoSuch as "text/markdown"

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?

The description adds real context beyond annotations: the hard 5 MB limit and the retention statement "Nubbo passes it to the bucket and keeps nothing." However, it never surfaces the destructive overwrite path that the destructiveHint=true annotation flags (conflict=replace clobbering an existing path), nor any idempotency note, so the riskiest behavior is left implicit in the schema enum.

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?

Three short sentences, zero filler, with the capability, limit, and routing alternative front-loaded. Every clause earns its place.

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 six-parameter mutation with no output schema, the description covers the limit, the write destination, and data retention, which is solid. It stops short of warning about overwrite semantics or hinting at the response (path, id, URL), which an agent would want when chaining into get_file or read_file.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all six parameters including the conflict and encoding enums. The description adds no parameter-level meaning at all — it does not mention conflict handling, encoding, or contentType — so it stays at the baseline rather than earning extra credit.

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 ("Save content written in this chat as a file in a bucket"), names the size ceiling, and explicitly contrasts with the sibling create_upload_link for larger files. An agent can distinguish it from other write tools without reading the 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 an explicit selection rule: use this for content up to 5 MB, use create_upload_link beyond that. It does not address other conditions that would push an agent elsewhere (e.g., uploading an existing local file vs in-chat content), so guidance is clear but not exhaustive.

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