Skip to main content
Glama
MCP Server for FTP Access

MCP Server for FTP Access

Append to File

append-file

Append text or binary content to a file on an FTP server, creating the file if it does not exist. Use base64 encoding for binary content.

Instructions

Append content to the end of a file on the FTP server (creates the file if it does not exist). Pass encoding "base64" for binary content.

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": {
      "remotePath": "<remotePath>",
      "content": "<content>"
    },
    "name": "append-file"
  }
}

Input Schema

NameRequiredDescriptionDefault
contentYesContent to append to the file
encodingNoEncoding of the provided content (default: utf8)
remotePathYesPath of the file on the FTP server

Output Schema

NameRequiredDescriptionDefault
remotePathYes
appendedBytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.4.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. Changed3 schema fields changedv1.2.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -false
  3. Addedv1.2.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false). The description adds real behavioral context beyond that: the file is created if missing, and binary content requires encoding 'base64' — exactly the kind of detail an agent needs to avoid corrupting a payload.

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?

Two short sentences, front-loaded with the core action and followed by the creation caveat and encoding note. Every clause carries information; nothing is redundant.

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?

Output schema exists, so return values need no explanation, and annotations cover the safety profile. What remains unstated is minor: behavior on invalid paths, permission requirements, and whether appends are atomic.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks by tying the 'base64' encoding value to binary content specifically. It says nothing extra about remotePath beyond what the schema already documents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('append') and resource ('file on the FTP server') plus the key side effect that the file is created when absent. 'Append to the end' implicitly separates it from edit-file and upload-file, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is for adding to an existing file rather than replacing it (upload-file) or rewriting it (edit-file). There is no explicit when-to-use or when-not-to-use statement, and no mention of alternatives.

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