Skip to main content
Glama
Scalekit MCP Server

Scalekit MCP Server

Official

create_connected_account_magic_link

Create an OAuth connection link so a user can connect an account like Notion or Gmail in a specified Scalekit environment. Returns a new link and expiry.

Instructions

Create a link that lets someone connect an OAuth connector account, such as Notion or Gmail, in one environment. Use list_connected_accounts to see accounts that are already connected. This tool does not search the catalog. Use search_connectors for that. Requires the caller OAuth token. Each call returns a new link and an expiry.

Input Schema

NameRequiredDescriptionDefault
connectorYesConnector identifier, for example notion or gmail. Use a value from search_connectors.
identifierYesFriendly name for the account being connected.
environmentIdYesScalekit environment id. Format: env_<id>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.0.1
    • addedInput schema / properties / connector / description
      Added value: +"Connector identifier, for example notion or gmail. Use a value from search_connectors."
    • addedInput schema / properties / environmentId / description
      Added value: +"Scalekit environment id. Format: env_<id>."
    • addedInput schema / properties / identifier / description
      Added value: +"Friendly name for the account being connected."
  2. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (which only flag non-readOnly/non-idempotent/non-destructive), it adds an auth requirement ('Requires the caller OAuth token') and return semantics ('Each call returns a new link and an expiry'), reinforcing the non-idempotent behavior. It stops short of describing scopes or failure modes, so not a full 5.

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?

Four short, front-loaded sentences; the primary action leads, followed by routing guidance and behavioral constraints. No 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?

With no output schema, the description compensates by stating what a call yields (a new link plus an expiry) and the auth prerequisite. For a 3-param creation tool, nothing needed to call it correctly is missing.

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 schema already documents connector, identifier, and environmentId. The description's examples ('such as Notion or Gmail') merely echo the schema, adding no meaning beyond it — the baseline 3 applies.

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 (Create) and resource (a link that connects an OAuth connector account) with concrete examples (Notion, Gmail). It also scopes the action to 'one environment' and explicitly distinguishes itself from catalog-search siblings.

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?

Names both alternatives and the condition that selects each: 'Use list_connected_accounts to see accounts that are already connected' and 'This tool does not search the catalog. Use search_connectors for that.' The agent is routed unambiguously.

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