Skip to main content
Glama

connect_audience_destination

DestructiveIdempotent

Creates a connection between an existing RudderStack Data Graph audience and an activation-capable destination. Call get_audience_destination_schema first. Requires the audience ID, destination ID, destination-side audience ID and identifier field mappings. The optional sync schedule is hourly, daily or manual. The sync mirrors membership: people not in the audience are removed from the destination audience. Returns the connection result. A repeat call for an already connected pair returns status skipped, which is success.

Input Schema

NameRequiredDescriptionDefault
scheduleNoSync cadence. 'daily' (default) runs once per day; 'hourly' runs every hour; 'manual' disables automatic syncs entirely — the audience only syncs when the user explicitly triggers it from the RudderStack dashboard. Use 'manual' only when the user explicitly asks for it.
audience_idYesID of an existing data-graph audience (the source side of this connection). Typically the ID returned by create_audience, or one the user already knows from a previous get_audience call. NOT a subject/root-model id from list_audience_subjects — that returns the warehouse models an audience can be built from, not audiences themselves.
workspace_idYes
destination_idYesDestination ID (from list_destinations with activation_capable=true).
identifier_mappingsYesPairs of {from: <warehouse column>, to: <destination field>}. Each `to` MUST appear in get_audience_destination_schema's `fields[].name`. See the destination's mappingGuidance for which fields make a useful mapping.
audience_id_on_destinationYesID of an existing destination-side audience/list to attach to. Must be a `value` from get_audience_destination_schema's `audiences[]`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, and the description earns credit by explaining what those mean concretely: the sync mirrors membership so people not in the audience are removed from the destination, and a repeat call returns status 'skipped' which counts as success. It also notes the connection result is returned. It does not cover permission requirements or failure modes beyond the already-connected case.

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 what the tool does, then prerequisite, then required inputs, then behavioral notes, then return semantics — a sensible order. A few clauses duplicate what the schema already says (the schedule enum, the parameter inventory), which is the only waste.

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 destructive, idempotent mutation with no output schema, the description covers purpose, prerequisite call, required inputs, cadence, the membership-mirroring side effect, and the success-shaped 'skipped' response. Nothing an agent needs before invoking it 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 83%, so the schema already carries most of the parameter meaning, including the full enum semantics for schedule and the mappingGuidance/fk-check guidance for audience_id_on_destination and identifier_mappings. The description mostly restates the required-parameter list and the hourly/daily/manual enum, adding little beyond the structured fields.

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 ('Creates a connection between an existing ... audience and an activation-capable destination') and pins the scope to Data Graph audiences, which cleanly separates it from connect_transformation_destination and the read-only get_/list_ siblings.

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?

'Call get_audience_destination_schema first' gives an explicit prerequisite ordering, and the required inputs (audience ID, destination ID, destination-side audience ID, identifier mappings) describe the preconditions for a valid call. It stops short of naming an alternative tool or a when-not-to-use condition, so it is clear context rather than full routing guidance.

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