Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as RudderStack. If you published it, claim ownership there.

create_source

Create an enabled SDK/event-stream or webhook source (for example JavaScript, HTTP, Node, Android (Kotlin), iOS (Swift), or a webhook such as Shopify) in the workspace. Returns the source id, name, type (display name), definition (definition name) and write key, which the user's SDK or webhook needs to send events. The source is created with an empty configuration, so some sources still need setup in the RudderStack app afterwards. Cloud, Singer and warehouse (Reverse ETL) sources require the app's setup flow: send the user to the Add Source page for those. Each call creates a source: confirm the type and name with the user first. Never retry after a name conflict: an earlier call may have created it, so look for it with list_sources, and otherwise ask the user for another name.

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": {
      "name": "<name>",
      "source_definition": "<source_definition>",
      "workspace_id": "<workspace_id>"
    },
    "name": "create_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesSource name, unique in the workspace: 2 to 100 letters, digits, spaces, '_', '.' or '-'
workspace_idYes
source_definitionYesSource type: a definition id, name or display name from get_source_definitions, such as "Javascript", "HTTP" or "Android (Kotlin)". Case-insensitive. "Android" and "iOS" mean the current Android (Kotlin) and iOS (Swift) SDKs; "Android (Java)" and "iOS (Obj-C)" select the legacy ones

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description adds value beyond them by explaining that each call creates a new source, that the source starts with an empty configuration, and that some types still need app-side setup afterwards. The non-idempotency warning and the 'never retry after a name conflict' rule are exactly the behavioral context annotations cannot convey. It stops short of describing permissions or rate limits, so not a 5.

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 the core action and the returned artifacts, then constraints. There is mild redundancy between 'created with an empty configuration, so some sources still need setup' and the following Cloud/Singer/warehouse sentence, but every sentence carries operational information an agent needs.

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 a 3-parameter mutation tool with no output schema, the description covers what is returned (source id, name, type, definition, write key), the starting state of the created object, follow-up setup needs, and conflict recovery. Nothing required 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67% and the schema itself already documents name and source_definition richly. The description still adds selection meaning by noting source_definition accepts a definition id, name, or display name from get_source_definitions and by implying which definition values are out of scope (Cloud/Singer/warehouse). workspace_id remains unexplained in both places, which caps this below 5.

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 and resource ('Create an enabled SDK/event-stream or webhook source ... in the workspace') and immediately enumerates the concrete types covered (JavaScript, HTTP, Node, Android, iOS, Shopify webhook). It also carves out the source categories it does NOT create (Cloud, Singer, warehouse), which lets an agent distinguish this from other setup paths without opening a schema.

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 when-to-use routing: Cloud/Singer/warehouse sources must go through the app's Add Source page instead. It also prescribes operational procedure — confirm type and name with the user first, and on a name conflict do not retry but check list_sources, otherwise ask for a new name. That is rare, actionable guidance tied to a named sibling.

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