Skip to main content
Glama

Datei hochladen

deploy_put_file
Destructive

Lädt eine Datei in einen offenen Deploy (aus deploy_begin). Pro Datei ein Aufruf; Bilder aus dem Netz stattdessen mit deploy_import_asset laden (nicht hotlinken), große Binärdateien nie als Base64. eine Datei erneut hochzuladen überschreibt sie. path ist relativ zur Website-Wurzel (z. B. "index.html", "css/style.css", "img/logo.webp"): nur A–Z, a–z, 0–9, Punkt, Unterstrich, Bindestrich und "/", keine Umlaute oder Leerzeichen, keine versteckten Dateien (außer .well-known/), nichts unter _tp/. Erlaubt sind nur statische Dateitypen (html, css, js, json, svg, png, jpg, webp, avif, gif, ico, woff2, woff, ttf, otf, txt, xml, webmanifest, pdf, mp4, webm …) – keine .php- oder .htaccess-Dateien. Text (HTML, CSS, JS, SVG) mit encoding "utf8", Binärdateien (Bilder, Fonts, PDF) mit encoding "base64". Höchstens 1 MB pro Aufruf; große Bilder vorher verkleinern. Veröffentlicht NICHTS – das macht erst deploy_publish nach Bestätigung durch den Nutzer.

Input Schema

NameRequiredDescriptionDefault
pathYesPfad relativ zur Website-Wurzel, z. B. "css/style.css"
domainYesDie Domain der Website im Tarif turbopress AI Launch, z. B. example.de
contentYesDateiinhalt: Text bei encoding "utf8", Base64 bei encoding "base64"
encodingNo"utf8" (Standard) für Text, "base64" für Binärdateien
deploy_idYesDie deploy_id aus deploy_begin (26 Zeichen)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description goes further: re-uploading the same path overwrites it, only static file types are accepted, .php/.htaccess are rejected, size is capped at 1 MB per call, and nothing is published. That is exactly the kind of destructive/limit/auth context annotations cannot express.

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?

It is a dense single block, but every clause carries an actionable constraint and the core purpose is front-loaded. Slight deduction for the wall-of-rules formatting that makes scanning harder, though nothing is truly filler.

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

Completeness5/5

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

No output schema exists, and none is needed: the description explains that loading only stages the file and that deploy_publish finalizes, covering the 'what happens next' an agent needs for a write tool with a 5-param schema.

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

Parameters5/5

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

Schema coverage is 100%, so baseline would be 3, but the description adds substantial meaning the schema lacks: path character set and forbidden patterns (umlauts, spaces, hidden files, _tp/), the allowed file-type whitelist, examples of valid paths, and the mapping rule for encoding (utf8 for text formats, base64 for binaries).

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+resource+scope: 'Lädt eine Datei in einen offenen Deploy (aus deploy_begin)'. It ties itself to a specific lifecycle stage and even rules out the sibling path with 'Bilder aus dem Netz stattdessen mit deploy_import_asset laden'. An agent can distinguish it from deploy_import_asset, deploy_git and deploy_publish 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 Guidelines5/5

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

Gives explicit when-to-use ('Pro Datei ein Aufruf'), the alternative and its condition (web images via deploy_import_asset rather than hotlinking), and an explicit exclusion about the publish step ('Veröffentlicht NICHTS – das macht erst deploy_publish nach Bestätigung durch den Nutzer'). This is close to a routing rule, not just background.

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