Skip to main content
Glama

connect

Connect to Mullvad VPN with optional relay location selection. Specify country, city, or hostname to set the VPN server; otherwise uses current configuration. Returns VPN status including connection state, relay hostname, and IP addresses.

Instructions

Connect to Mullvad VPN.

Optionally set the relay location before connecting. If no location parameters are provided, connects using the currently configured relay.

Args: country: Two-letter country code (e.g. "se", "us"). city: Three-letter city code (e.g. "got", "nyc"). hostname: Specific server hostname (e.g. "se-got-wg-004").

Returns: Current VPN status after the connect attempt, including connection state, relay hostname, country, city, and IP addresses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countryNo
cityNo
hostnameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It states it connects and returns status, but does not mention side effects like interrupting an existing connection, required permissions, or rate limits. This is insufficient for a mutation tool.

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 efficient: a one-sentence purpose followed by clear Args and Returns sections. Every sentence adds value without redundancy.

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

Completeness3/5

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

The description covers purpose, parameters, and return value (aided by output schema). However, it lacks behavioral context such as what happens if already connected or whether connection is persistent. Sibling tools like set_location suggest a need for clearer differentiation.

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?

Despite 0% schema coverage, the description adds meaning by listing three parameters in Args with format examples (e.g., 'se' for country), and explains that default behavior uses currently configured relay if no location params are provided.

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 'Connect to Mullvad VPN' as the primary action, with optional location setting. It is a specific verb-resource pair that distinguishes itself from sibling tools like disconnect, get_status, and set_location.

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?

The description implies use when connecting to VPN, but does not explicitly state when to use this tool versus alternatives like set_location (which sets location without connecting) or reconnect. No when-not-to-use guidance is provided.

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/oresam-xyz/mullvad-mcp'

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