Skip to main content
Glama

Manage an external data-source connection (SFTP, AWS S3)

manage_connection
Destructive

Create, test, list, or delete workspace connections to SFTP and AWS S3 data sources. Manages keypairs and IAM roles, and verifies connectivity before triggers.

Instructions

Create, list, test, or delete a workspace connection to an external data source. For sftp, create generates a keypair and returns the public key to install in the remote server's authorized_keys. For aws_s3, create generates an ExternalId and trust policy for an IAM role the customer must create. A connection must pass test before it can be used in a trigger.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoConnection type. Required for create; defaults to sftp.
actionYesWhich operation to perform.
roleArnNoaws_s3 only. The IAM role the customer will create/update. Required for create.
hostnameNosftp only. Remote server hostname. Required for create.
usernameNosftp only. Remote username. Optional for create; defaults to sftpuser.
workspaceIdNoWorkspace to act on. Defaults to your only workspace if you have exactly one.
connectionIdNoExisting connection to test or delete. Required for test/delete.
Behavior4/5

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

The description adds concrete behavioral details beyond annotations: for sftp create generates a keypair and returns the public key; for aws_s3 create generates an ExternalId and trust policy. It also states the testing requirement. Annotations already signal mutating/destructive behavior, so this is consistent.

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?

The description is concise, two sentences plus a requirement clause, yet covers the main actions and per-type details without redundancy. It is well-structured for quick parsing.

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?

The description provides essential context: it lists actions, per-type specifics, and a prerequisite (must pass test before use in trigger). However, it doesn't mention potential side effects like cost or irreversibility of delete, but given the annotations already indicate destructive action, this is acceptable.

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?

All 7 parameters have descriptions in the schema, and the description clarifies type-specific requirements (e.g., roleArn for aws_s3, hostname/username for sftp). Defaults for type and workspaceId are specified. This fully covers parameter semantics.

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 description clearly states the tool manages external data-source connections via create, list, test, or delete actions. It explicitly covers both supported types (sftp and aws_s3) with distinct behaviors, making it easy to distinguish from sibling tools like onboard_data_source or manage triggers.

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 explains when each action is appropriate (e.g., create for new connections, test before use) and mentions a prerequisite: connection must pass test before it can be used in a trigger. It doesn't explicitly name alternative tools, but the context is clear enough for an agent to decide when to invoke it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dpf-admin/dpf-claude-plugin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server