# tduong-sys/Segment Workspace MCP Server

Source: https://glimind.com/server/glama%2Ftduong-sys%2Fsegment-workspace-mcp-server
Registry id: `glama/tduong-sys/segment-workspace-mcp-server`
Status: unknown

## Tools (46)

- `create_destination_filter`: Create a new destination filter using FQL. Args: destination_id: Target destination. name: Filter name. condition: FQL expression (e.g. "event = 'Order Complete
- `create_function`: Create a new custom function. Args: display_name: Name shown in the Segment UI. code: Full JavaScript source code. resource_type: One of SOURCE, DESTINATION, IN
- `create_function_deployment`: Deploy the current code of a function as a new live version. This makes the latest saved code the active one for all instances.
- `create_transformation`: Create a transformation that rewrites events for a source. Args: name: Transformation name. source_id: Source to apply the transformation to. if_condition: Opti
- `create_workspace_regulation`: Create a workspace-wide deletion or suppression regulation. Args: regulation_type: One of SUPPRESS_ONLY, DELETE_ONLY, SUPPRESS_AND_DELETE, UNSUPPRESS. user_ids:
- `delete_destination_filter`: Delete a destination filter. DESTRUCTIVE.
- `delete_function`: Permanently delete a function. DESTRUCTIVE.
- `delete_regulation`: Cancel a pending regulation. DESTRUCTIVE.
- `delete_transformation`: Delete a transformation. DESTRUCTIVE.
- `export_to_file`
- `get_audience`: Get the full definition (including SQL/FQL) of an audience.
- `get_computed_trait`: Get the full definition of a computed trait.
- `get_delivery_metrics`: Egress success and failure counts for a source→destination pair. Args: source_id: Source ID. destination_id: Destination config ID. hours: Lookback window in ho
- `get_destination`: Get the full configuration of a single destination, including settings.
- `get_destination_filter`: Get the full definition of a destination filter.
- `get_function`: Get the full definition of a single function, including its code. Args: function_id: The function's ID. include_code: If False, strip the `code` field to save c
- `get_function_version`: Get the code and metadata of a specific function version.
- `get_profile_events`: Get recent events sent by a user profile. Useful for "what did this user actually do?" debugging — see the raw track/page/identify calls Segment received for th
- `get_profile_external_ids`: Get all external identifiers linked to a profile. This is the core lookup for identity-resolution debugging — e.g. "what emails / user_ids / nyt_uids are all li
- `get_profile_links`: Get the identifier linkage graph for a profile. Shows which identifiers are joined to which, and the timeline of links. Useful for explaining "why are these two
- `get_profile_metadata`: Get profile metadata (created_at, updated_at, etc.). Args: id_type: Identifier type. {hint} id_value: Identifier value. space_id: Unify/Engage space ID. Default
- `get_profile_traits`: Get all traits Segment has computed for a user profile. Args: id_type: Identifier type. {hint} id_value: Identifier value (e.g. an email address). space_id: Uni
- `get_regulation`: Get the status and details of a single regulation.
- `get_source`: Get the full configuration of a single source.
- `get_source_schema`: Return the inferred event schema for a source.
- `get_tracking_plan_rules`: Return the event rules defined in a tracking plan.
- `get_transformation`: Get the full definition of a transformation.
- `get_workspace`: Return basic info about the currently authenticated Segment workspace.
- `list_audiences`: List audiences in a given space.
- `list_computed_traits`: List computed traits in a given space.
- `list_destination_filters`: List FQL filters applied to a destination.
- `list_destinations`: List destinations in the workspace. Args: source_id: If provided, only return destinations connected to that source.
- `list_function_versions`: List all versions of a function (deployment history).
- `list_functions`: List custom functions in the workspace. Args: resource_type: Filter to one of SOURCE, DESTINATION, or INSERT.
- `list_insert_function_instances`: List source-level instances of an insert function (where it's attached).
- `list_profiles_warehouses`: List warehouses configured to sync profiles for a space.
- `list_regulations`: List all deletion/suppression regulations in the workspace. Regulations are how Segment models GDPR-style deletion or suppression requests for specific user IDs
- `list_sources`: List sources in the workspace. Args: only_enabled: If True, omit disabled sources.
- `list_spaces`: List Unify/Engage spaces in the workspace. Audiences, computed traits, and profiles sync are all scoped to a space, so you'll typically call this first to get t
- `list_tracking_plans`: List all tracking plans in the workspace.
- `list_transformations`: List all transformations in the workspace.
- `list_warehouses`: List all data warehouses (Snowflake, BigQuery, etc.) in the workspace.
- `restore_function_version`: Roll back a function to a previous version. DESTRUCTIVE.
- `suppression_status_check`
- `update_destination_filter`: Update an existing destination filter.
- `update_function`: Update an existing function's code, name, or description. Only provided fields are updated. Note: updating code does NOT auto-deploy; call create_function_deplo

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
