Skip to main content
Glama

sftp_connect

Connect to an SFTP server to manage remote files. Use host, username, and optional port, password, or private key to establish the session.

Instructions

Подключиться к серверу по SFTP для управления файлами

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesХост/IP сервера
portNoПорт SSH (по умолчанию 22)
passwordNoПароль SSH
usernameYesИмя пользователя SSH
privateKeyNoПриватный ключ SSH (содержимое, не путь)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.7/5.0
Behavior1/5

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

No annotations are provided, so the description must carry the full behavioral burden. It says nothing about authentication requirements (password/privateKey), session persistence, error handling, or that a connection should be closed via sftp_disconnect. It also doesn't disclose any rate limits or side effects.

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?

A single sentence that is front-loaded and free of filler. It earns its place but could be expanded slightly to include essential context; as written, it is efficient but minimal.

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

Completeness2/5

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

For a 5-parameter connection tool with no annotations and no output schema, the description is too sparse. It omits authentication mode, whether the connection persists, and the need to call sftp_disconnect, leaving significant gaps 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 description coverage is 100%, so the baseline is 3. The description adds no parameter-level information; the schema already documents host, port, username, password, and privateKey with descriptions and default.

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+resource: 'Подключиться к серверу по SFTP' (connect to SFTP server). It clearly conveys establishing an SFTP connection, and the sibling set includes sftp_disconnect and file operations, but the description does not explicitly differentiate itself from those alternatives.

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

Usage Guidelines2/5

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

No explicit when-to-use, when-not, or alternative guidance. The phrase 'для управления файлами' implies a prerequisite for file management operations, but it does not instruct the agent to use sftp_disconnect afterward or contrast with other connection tools.

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