Skip to main content
Glama

Connect a source

helix_foundry_connect

Connect a source to a workspace, or sign a connector in again: returns a link to Foundry for the user to open in their browser, so credentials never pass through the agent. A kind whose sign_in is true (helix_foundry_list_connector_kinds) connects by signing in at its provider: follow the result's sign_in_id with helix_foundry_get_sign_in. Any other kind, or with_key, opens the kind's form, where the user enters its credentials; then helix_foundry_list_connectors lists the new connector.

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": {
      "kind": "<kind>"
    },
    "name": "helix_foundry_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesThe connector's kind: stripe, workos, posthog, github, linear, calcom, granola, slack, notion, google, databuddy, attio, postgres, mysql, s3 or events (an API source).
nameNoA new connector's name when it signs in; the kind's display name when empty. Not with connector_id.
reposNoA new GitHub connector's repositories when it signs in, as owner/name. None reads the repositories of the Helix Foundry GitHub App's installations the user can reach. Not with connector_id.
with_keyNoOpen the kind's form to enter a key instead of signing in: for PostHog EU Cloud or a self-hosted PostHog, or when the user asks to use a key.
project_idNoA new PostHog connector's project id when it signs in, a number from its project settings; empty takes the account's one project. Not with connector_id.
client_tokenNoUp to 64 characters; a retry with the same token returns the sign-in the first call started.
connector_idNoSign this connector in again instead of making one: one whose account needs signing in (helix_foundry_list_connectors). It keeps its name and settings.
workspace_idNoHelix workspace identifier. May be empty when the caller has only one workspace (a service key always does).

Output Schema

NameRequiredDescriptionDefault
urlYes
kindYes
nextYes
availableYes
expires_atNo
sign_in_idNo
display_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: credentials never pass through the agent, the tool returns a URL for the user to open, and client_token makes a retry return the originally started sign-in. That last point is a nuance worth knowing given idempotentHint=false, though the description stays silent on what the returned link looks like beyond 'a link to Foundry'. No contradiction with annotations since the mutation is the user's browser action, not the agent's write.

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?

Front-loaded with purpose and output shape, then the two branches, then the follow-up tools. It is dense and readable, though the parenthetical sibling references and long compound sentences make it slightly heavier than it needs to be.

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?

For an 8-parameter mutating tool with a full output schema and annotations, the description covers the missing pieces an agent needs: the human-in-the-loop link flow, the credential-safety guarantee, the sign_in branching, and the follow-up tools. Return values are handled by the output schema, so no gap remains.

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 coverage is 100%, so baseline is 3, but the description adds cross-parameter routing logic the schema only implies: which kinds go through form vs. sign-in, when with_key overrides the default, and that connector_id re-signs an existing connector while preserving its name and settings. It doesn't restate syntax or formats, which the schema already handles.

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?

Opens with a specific verb and resource: 'Connect a source to a workspace, or sign a connector in again', and immediately states the output form (a link for the user to open in a browser). This clearly separates it from helix_foundry_get_sign_in and helix_foundry_list_connectors, which are named as downstream steps.

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?

Gives explicit branching rules: if the kind's sign_in is true, connect by signing in and follow sign_in_id with helix_foundry_get_sign_in; any other kind, or with_key, opens the kind's form. It also covers the re-sign-in path via a connector whose account needs signing in, and points at helix_foundry_list_connectors to see the result. Nothing about when to pick which path is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources