Skip to main content
Glama
quicksight-mcp

quicksight-mcp

by krishna-goje

QuickSight MCP Server

The most comprehensive AWS QuickSight MCP server -- with self-learning capability, chart builders, and built-in QA verification.

PyPI version License: Apache 2.0 Python 3.10+

Why This Server?

Other QuickSight MCP servers are either auto-generated API wrappers or limited to lineage queries. This server is extracted from a 4,800+ line production library, wrapping battle-tested patterns into 55 MCP tools.

Key Differentiators:

  • 55 purpose-built tools covering the full developer workflow: read, build, edit, verify, publish

  • Chart builders that create visuals from simple parameters (column + aggregation) -- no raw JSON needed

  • QA system with snapshot/diff to compare before and after any change

  • Post-write verification on every operation -- catches QuickSight's silent failures

  • Self-learning engine that tracks usage patterns and suggests optimizations

  • Production safety with auto-backup, optimistic locking, destructive change protection

Related MCP server: AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server

Quick Start

Installation

pip install quicksight-mcp

Or with uv:

uv pip install quicksight-mcp

Configuration

Add to your MCP client config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "quicksight": {
      "command": "quicksight-mcp",
      "env": {
        "AWS_PROFILE": "your-profile",
        "AWS_REGION": "us-east-1"
      }
    }
  }
}

Or with uvx (no install needed):

{
  "mcpServers": {
    "quicksight": {
      "command": "uvx",
      "args": ["quicksight-mcp"],
      "env": {
        "AWS_PROFILE": "your-profile"
      }
    }
  }
}

Authentication

Uses the standard AWS credential chain:

  1. Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)

  2. Named profile (AWS_PROFILE)

  3. IAM role (for EC2/Lambda)

  4. SSO credentials

The account ID is auto-detected from STS. Override with AWS_ACCOUNT_ID if needed.

Tools Reference (55 tools)

Datasets (8 tools)

Tool

Description

list_datasets

List all datasets with name, ID, and import mode

search_datasets

Search datasets by name (case-insensitive)

get_dataset

Get full metadata for a dataset (columns, tables, import mode)

get_dataset_sql

Get the SQL query powering a dataset

update_dataset_sql

Update dataset SQL with auto-backup and verification

refresh_dataset

Trigger SPICE refresh

get_refresh_status

Check SPICE refresh progress

list_recent_refreshes

Get refresh history for a dataset

Analysis Inspection (12 tools)

Tool

Description

list_analyses

List all analyses with status

search_analyses

Search analyses by name

describe_analysis

Get full structure: sheets, visuals, fields, parameters, datasets

list_visuals

List all visuals with types, titles, and sheet locations

list_calculated_fields

List all calculated fields with expressions

get_columns_used

Get column usage frequency across the analysis

get_parameters

List all parameter declarations

get_filters

List all filter groups with scope and conditions

get_analysis_raw

Get the complete raw analysis definition for inspection

verify_analysis_health

Run comprehensive health check (status, layouts, refs)

snapshot_analysis

Capture current state as baseline for QA

diff_analysis

Compare current state against a snapshot

Chart Builders (5 tools)

Create visuals from simple parameters -- no raw JSON needed.

Tool

Description

create_kpi

Create a KPI from column + aggregation

create_bar_chart

Create bar chart with category + value columns

create_line_chart

Create line chart with date + value + granularity

create_pivot_table

Create pivot table with row/value columns

create_table

Create flat table with column list

Visual Management (5 tools)

Tool

Description

get_visual_definition

Get the full raw definition of any visual

add_visual

Add a visual from JSON definition (for advanced use)

delete_visual

Delete a visual with layout cleanup

set_visual_title

Update a visual's display title

set_visual_layout

Set visual position and size on the grid

Sheet Management (5 tools)

Tool

Description

add_sheet

Add a new sheet to an analysis

delete_sheet

Delete a sheet and its visuals

rename_sheet

Rename an existing sheet

list_sheet_visuals

List all visuals on a specific sheet

replicate_sheet

Copy entire sheet with all visuals (batch, single API call)

Calculated Fields (4 tools)

Tool

Description

add_calculated_field

Add new calculated field to an analysis

update_calculated_field

Update a calculated field's expression

delete_calculated_field

Delete a calculated field

get_calculated_field

Get details of a specific calculated field

Parameters & Filters (4 tools)

Tool

Description

add_parameter

Add a parameter (string, integer, date, decimal)

delete_parameter

Delete a parameter by name

add_filter_group

Add a filter group with scope configuration

delete_filter_group

Delete a filter group

Dashboards (5 tools)

Tool

Description

list_dashboards

List all dashboards

search_dashboards

Search dashboards by name

get_dashboard_versions

List version history

publish_dashboard

Publish dashboard from analysis

rollback_dashboard

Rollback to a previous version

Backup & Restore (4 tools)

Tool

Description

backup_analysis

Backup analysis definition to JSON

backup_dataset

Backup dataset definition to JSON

restore_analysis

Restore analysis from backup file

clone_analysis

Clone analysis for safe testing

Self-Learning (2 tools)

Tool

Description

get_learning_insights

Show usage patterns and optimization suggestions

get_error_patterns

Show common errors and their frequencies

Developer Workflow

The server supports the full build-verify-publish cycle:

1. Build: Create Visuals from Simple Parameters

"Add a KPI showing total contracts to the SLA sheet"

create_kpi(
    analysis_id = "abc-123",
    sheet_id    = "sheet-456",
    title       = "Total Contracts",
    column      = "FLIP_TOKEN",
    aggregation = "COUNT",
    dataset_identifier = "acq_l2_flip_details"
)
→ Returns: {visual_id: "kpi_50ed988920b4", status: "UPDATE_SUCCESSFUL"}
"Add a weekly trend line chart"

create_line_chart(
    analysis_id = "abc-123",
    sheet_id    = "sheet-456",
    title       = "Weekly Contract Trend",
    date_column = "PURCHASE_AGREEMENT_COMPLETED_AT",
    value_column = "FLIP_TOKEN",
    value_aggregation = "COUNT",
    dataset_identifier = "acq_l2_flip_details",
    date_granularity = "WEEK"
)
"Add a market breakdown pivot table"

create_pivot_table(
    analysis_id = "abc-123",
    sheet_id    = "sheet-456",
    title       = "Market Breakdown",
    row_columns = "MARKET_NAME,ASSESSMENT_TYPE",
    value_columns = "FLIP_TOKEN,REVENUE",
    value_aggregations = "COUNT,SUM",
    dataset_identifier = "acq_l2_flip_details"
)

2. Verify: QA with Snapshot and Diff

# Before making changes -- capture baseline
snapshot_analysis("abc-123")
→ Returns: {snapshot_id: "snap_20260212_193448", visuals: 185, sheets: 20}

# Make your changes...
create_kpi(...)
create_bar_chart(...)

# After changes -- verify what changed
diff_analysis("abc-123", "snap_20260212_193448")
→ Returns: {
    visuals_added: [
      {type: "KPI", title: "Total Contracts"},
      {type: "BarChart", title: "Contracts by Market"}
    ],
    visuals_removed: [],
    visual_changes: [],
    old_visual_count: 185,
    new_visual_count: 187
  }

# Health check -- ensure nothing broke
verify_analysis_health("abc-123")
→ Returns: {
    healthy: true,
    checks: [
      {check: "analysis_status", ok: true},
      {check: "sheet_count", ok: true, count: 20},
      {check: "visual_layout_alignment", ok: true},
      {check: "calc_field_dataset_refs", ok: true}
    ]
  }

3. Publish: Push to Dashboard

# Publish when ready
publish_dashboard("dash-id", "abc-123", "Added KPI and bar chart for contracts")

# Rollback if something goes wrong
rollback_dashboard("dash-id", version_number=5)

Other Common Workflows

Update Dataset SQL:

search_datasets("WBR")                    → find dataset ID
get_dataset_sql("ds-123")                 → view current SQL
update_dataset_sql("ds-123", "new SQL")   → update with auto-backup
refresh_dataset("ds-123")                 → trigger SPICE reload
get_refresh_status("ds-123", "ing-456")   → monitor progress

Replicate an Entire Sheet:

describe_analysis("abc-123")                          → find source sheet ID
replicate_sheet("abc-123", "sheet-456", "My Copy")    → copies all visuals + layouts

Safe Testing with Clone:

clone_analysis("prod-id", "Test Copy")    → creates isolated copy
create_kpi("clone-id", ...)               → make changes on clone
verify_analysis_health("clone-id")        → verify
diff_analysis("clone-id", snapshot_id)    → review changes
[apply same changes to production]

Production Safety Features

Post-Write Verification

Every write operation verifies its changes actually persisted:

  • add_sheet verifies the sheet exists with the correct name

  • delete_sheet verifies the sheet was actually removed

  • create_kpi / create_bar_chart / etc. verify the visual exists

  • set_visual_title verifies the title matches

  • add_parameter verifies the parameter exists

  • replicate_sheet verifies both the sheet and the visual count

This catches QuickSight's silent failures where the API returns 200 OK but doesn't apply the change.

Auto-Backup

Every write operation automatically creates a timestamped JSON backup before making changes. Backups are saved to ~/.quicksight-mcp/backups/.

Optimistic Locking

When modifying an analysis, the server checks that no one else has modified it since you last read it. Prevents silently overwriting concurrent changes.

Destructive Change Protection

Updates that would delete all sheets, most visuals, or most calculated fields are blocked. Prevents accidental data loss from malformed definitions.

Failed Analysis Guard

The server refuses to update an analysis that is in FAILED status, preventing cascading failures on corrupted definitions. Restore from backup first.

QuickSight Limits

The server enforces QuickSight's 20-sheet-per-analysis limit, providing clear error messages instead of cryptic API failures.

Self-Learning Engine

The server learns from your usage patterns and gets smarter over time.

What It Tracks

  • Tool usage frequency and sequences

  • Common workflows (e.g., search -> get SQL -> update -> refresh)

  • Error patterns and their categories

  • Operation durations

What It Suggests

  • Workflow optimizations based on your common patterns

  • Caching improvements for frequently accessed resources

  • Known fixes for recurring errors

  • SQL syntax gotchas specific to QuickSight

All learning data is stored locally. No telemetry is sent anywhere.

Environment Variables

Variable

Default

Description

AWS_PROFILE

(none)

AWS named profile

AWS_REGION

us-east-1

AWS region

AWS_ACCOUNT_ID

(auto-detect)

QuickSight account ID

QUICKSIGHT_BACKUP_DIR

~/.quicksight-mcp/backups

Backup directory

QUICKSIGHT_MCP_LEARNING

true

Enable self-learning

QUICKSIGHT_MCP_LEARNING_DIR

~/.quicksight-mcp/

Learning data directory

LOG_LEVEL

INFO

Logging level

Architecture

quicksight-mcp/
  src/quicksight_mcp/
    server.py              # FastMCP entry point, lazy dependency init
    client.py              # QuickSight API wrapper with safety features
    exceptions.py          # Structured errors
    tools/
      datasets.py          # 8 dataset tools
      analyses.py          # 12 analysis + QA tools
      visuals.py           # 10 visual + chart builder tools
      sheets.py            # 5 sheet management tools
      calculated_fields.py # 4 calculated field tools
      parameters.py        # 2 parameter tools
      filters.py           # 2 filter tools
      dashboards.py        # 5 dashboard tools
      backup.py            # 4 backup/restore tools
      learning.py          # 2 self-learning tools
    learning/
      tracker.py           # Usage pattern recording
      optimizer.py         # Recommendation engine
      knowledge.py         # Local key-value knowledge store

The server uses lazy initialization -- the AWS client and learning engine are only created when the first tool call arrives, keeping startup instant.

Each tool module exposes a register_*_tools(mcp, get_client, get_tracker) function that attaches @mcp.tool handlers to the FastMCP server instance.

Development

git clone https://github.com/krishna-goje/quicksight-mcp.git
cd quicksight-mcp
pip install -e ".[dev]"
pytest

Running Tests

# All tests
pytest

# With coverage
pytest --cov=quicksight_mcp

# Specific module
pytest tests/test_learning.py

Linting

ruff check src/ tests/
ruff format src/ tests/

Author

Krishna Goje -- Staff Analytics Engineer | AI-Augmented Engineering

Background

14 years building data platforms at American Express, Grubhub, Booking.com, and Opendoor. Pioneered an AI-augmented engineering ecosystem connecting 15+ enterprise platforms with parallel agent orchestration and self-learning feedback loops.

Why This Project

This server is extracted from a 4,800+ line production library built over months of daily QuickSight work. Every safety feature exists because of a real production incident:

  • Auto-backup -- an update once wiped an analysis with no way to undo

  • Optimistic locking -- two sessions editing the same analysis silently overwrote each other

  • Change verification -- QuickSight's API returns 200 OK but sometimes doesn't apply the change

  • Destructive change protection -- a malformed definition update deleted all sheets from a live dashboard

  • Failed status guard -- updating a FAILED analysis caused cascading corruption

Open Source

Contributing

Contributions are welcome. Please open an issue first to discuss what you would like to change.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/amazing-feature)

  3. Run the tests (pytest)

  4. Commit your changes

  5. Open a pull request

License

Apache 2.0 -- see LICENSE for details.

Available Tools

61 tools
add_calculated_fieldA
Destructive

Add a new calculated field to a QuickSight analysis.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: name (required), expression (required), analysis_id (required), dataset_identifier (required). Returns: object

add_filter_groupB

Add a filter group to a QuickSight analysis.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: analysis_id (required), filter_group_definition (required). Returns: object

add_parameterB

Add a parameter to a QuickSight analysis.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: analysis_id (required), parameter_definition (required). Returns: object

add_sheetB

Add a new sheet to a QuickSight analysis.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: name (required), analysis_id (required). Returns: object

add_visualB

Add a visual to a sheet in a QuickSight analysis.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: sheet_id (required), analysis_id (required), visual_definition (required). Returns: object

backup_analysisA
Idempotent

Save a full backup of a QuickSight analysis definition to disk.

Creates a timestamped JSON file containing the complete analysis definition (sheets, visuals, calculated fields, parameters, filters, etc.). Use restore_analysis to restore from a backup.

Backups are saved to ~/.quicksight-mcp/backups/.

Inputs: analysis_id (required). Returns: object

backup_datasetA
Idempotent

Save a full backup of a QuickSight dataset configuration to disk.

Creates a timestamped JSON file containing the dataset definition (SQL, columns, physical/logical table maps, etc.).

Backups are saved to ~/.quicksight-mcp/backups/.

Inputs: dataset_id (required). Returns: object

cancel_refreshA
Destructive

Cancel a running SPICE dataset refresh.

Use this to stop a SPICE ingestion that is stuck in QUEUED or RUNNING state. Useful when old ingestions block new ones.

Inputs: dataset_id (required), ingestion_id (required). Returns: object

clone_analysisA

Clone a QuickSight analysis for safe experimentation.

Creates a full copy of the analysis with a new name and ID. The clone includes all sheets, visuals, calculated fields, parameters, and filters. Use this to test changes without affecting the original.

Best practice workflow:

  1. clone_analysis to create a test copy

  2. Make and test changes on the clone

  3. When satisfied, publish_dashboard from the clone

  4. Delete the clone when done

Inputs: new_name (required), source_analysis_id (required). Returns: object

create_bar_chartC

Create a bar chart from simple parameters.

Inputs: title (required), sheet_id (required), analysis_id (required), value_column (required), +6 more. Returns: object

create_combo_chartB

Create a combo chart (bars + line on same chart) from simple parameters.

A combo chart overlays bar values and line values sharing a category axis. For example, count bars with a percentage line overlay.

Inputs: title (required), sheet_id (required), bar_column (required), analysis_id (required), +8 more. Returns: object

create_datasetB
Destructive

Create a new QuickSight dataset from a SQL query.

Inputs: sql (required), name (required), data_source_arn (required), import_mode. Returns: object

create_kpiC

Create a KPI visual from simple parameters.

Inputs: title (required), column (required), sheet_id (required), aggregation (required), +4 more. Returns: object

create_line_chartC

Create a line chart from simple parameters.

Inputs: title (required), sheet_id (required), analysis_id (required), date_column (required), +6 more. Returns: object

create_pie_chartC

Create a pie chart from simple parameters.

Inputs: title (required), sheet_id (required), analysis_id (required), group_column (required), +4 more. Returns: object

create_pivot_tableC

Create a pivot table from simple parameters.

Inputs: title (required), sheet_id (required), analysis_id (required), row_columns (required), +3 more. Returns: object

create_tableC

Create a flat table visual from simple parameters.

Inputs: title (required), columns (required), sheet_id (required), analysis_id (required), +1 more. Returns: object

delete_calculated_fieldA
Destructive

Delete a calculated field from a QuickSight analysis.

WARNING: This is destructive. If the field is used by any visuals or other calculated fields, those references will break. Check get_columns_used first to understand the impact.

A backup is automatically created before deletion.

Inputs: name (required), analysis_id (required). Returns: object

delete_empty_sheetsA
Destructive

Delete all empty sheets (0 visuals) from an analysis.

Use this to clean up orphan sheets left by failed operations. Automatically removes filter groups scoped to deleted sheets.

WARNING: This is destructive. A backup is automatically created.

Inputs: analysis_id (required), name_contains. Returns: object

delete_filter_groupA
Destructive

Delete a filter group from a QuickSight analysis.

WARNING: This is destructive. Removing a filter group may change what data is displayed in affected visuals. A backup is automatically created before deletion.

Inputs: analysis_id (required), filter_group_id (required). Returns: object

delete_parameterA
Destructive

Delete a parameter from a QuickSight analysis.

WARNING: This is destructive. If the parameter is used by filters, calculated fields, or controls, those references will break. Check get_parameters first to understand dependencies.

A backup is automatically created before deletion.

Inputs: analysis_id (required), parameter_name (required). Returns: object

delete_sheetA
Destructive

Delete a sheet from a QuickSight analysis.

WARNING: This is destructive. All visuals on the sheet will be removed. A backup is automatically created before deletion.

Inputs: sheet_id (required), analysis_id (required). Returns: object

delete_visualA
Destructive

Delete a visual from a QuickSight analysis.

WARNING: This is destructive. The visual and its layout element will be removed. A backup is automatically created before deletion.

Inputs: visual_id (required), analysis_id (required). Returns: object

describe_analysisA
Read-only

Get a structured summary of a QuickSight analysis.

Returns an overview of the analysis structure without the full raw definition -- ideal for understanding what an analysis contains before making changes.

Inputs: analysis_id (required). Returns: object

diff_analysisA
Read-only

Compare current analysis state against a previous snapshot.

Use AFTER making changes to see what was added, removed, or modified. This is the QA reviewer -- ensures changes had the intended effect and nothing unexpected broke.

Inputs: analysis_id (required), snapshot_id (required). Returns: object

get_analysis_rawA
Read-only

Get the complete raw analysis definition for inspection.

Returns the full Definition dict exactly as stored by AWS. This is useful for debugging, manual inspection, or extracting complex structures (visual definitions, filter groups, etc.) that can be passed to other tools.

WARNING: The output can be very large for complex analyses.

Inputs: analysis_id (required). Returns: object

get_calculated_fieldB
Read-only

Get details of a specific calculated field in an analysis.

Inputs: name (required), analysis_id (required). Returns: object

get_columns_usedB
Read-only

Get a frequency map of columns used across an analysis.

Inputs: analysis_id (required). Returns: object

get_dashboard_versionsB
Read-only

List the version history of a QuickSight dashboard.

Inputs: dashboard_id (required), limit. Returns: object

get_datasetB
Read-only

Get full metadata for a QuickSight dataset.

Inputs: dataset_id (required). Returns: object

get_dataset_sqlB
Read-only

Get the SQL query powering a QuickSight dataset.

Inputs: dataset_id (required). Returns: object

get_error_patternsA
Read-only

Show common QuickSight errors and their known fixes.

Analyzes your error history to identify recurring failure patterns and provides specific remediation steps. This is especially useful for diagnosing SPICE refresh failures, permission issues, and API throttling.

Returns:

  • patterns: Grouped error types with frequency and last occurrence

  • known_fixes: Documented fixes for each error pattern

  • recent_errors: The most recent errors with context

Call this when something goes wrong to see if it is a known issue with a known fix.

Inputs: no named parameters. Returns: object

get_filtersB
Read-only

List all filter groups defined in a QuickSight analysis.

Inputs: analysis_id (required). Returns: object

get_learning_insightsA
Read-only

Show what the server has learned from your QuickSight usage patterns.

This server tracks every tool call -- what you use most, what fails, what takes longest -- and surfaces actionable insights.

Returns:

  • most_used_tools: Tools you call most frequently

  • slowest_tools: Tools with highest average latency

  • error_rate: Per-tool failure percentages

  • recommendations: Suggestions based on your usage patterns (e.g., "You search datasets often -- consider using list_datasets with caching instead")

The more you use the server, the better the insights become.

Inputs: no named parameters. Returns: object

get_parametersA
Read-only

List all parameters defined in a QuickSight analysis.

Inputs: analysis_id (required). Returns: object

get_refresh_statusC
Read-only

Check the status of a SPICE dataset refresh.

Inputs: dataset_id (required), ingestion_id (required). Returns: object

get_visual_definitionA
Read-only

Get the full raw definition of a specific visual.

Use this to inspect a visual's complete configuration including field mappings, aggregations, formatting, and chart configuration. The returned definition can be modified and passed to add_visual to create a copy.

Inputs: visual_id (required), analysis_id (required). Returns: object

list_analysesA
Read-only

List all QuickSight analyses with their names, IDs, and status.

Returns every analysis in the account. Results are cached for 5 minutes. Use this to discover analyses before inspecting them.

Each entry includes:

  • name: Human-readable analysis name

  • id: Analysis ID (use this for other analysis operations)

  • status: CREATION_SUCCESSFUL, UPDATE_SUCCESSFUL, etc.

Inputs: no named parameters. Returns: object

list_calculated_fieldsB
Read-only

List all calculated fields in a QuickSight analysis.

Inputs: analysis_id (required). Returns: object

list_dashboardsA
Read-only

List all QuickSight dashboards with their names, IDs, and publish status.

Returns every dashboard in the account. Results are cached for 5 minutes. Dashboards are the published, viewer-facing version of analyses.

Each entry includes:

  • name: Dashboard display name

  • id: Dashboard ID (use this for other dashboard operations)

  • published_version: Current published version number

Inputs: no named parameters. Returns: object

list_datasetsA
Read-only

List all QuickSight datasets with their names, IDs, and import mode.

Returns every dataset in the account with:

  • name: Human-readable dataset name

  • id: Dataset ID (use this for other dataset operations)

  • import_mode: SPICE (cached) or DIRECT_QUERY (live)

Results are cached for 5 minutes. Use this to discover datasets before calling get_dataset_sql or update_dataset_sql.

Inputs: no named parameters. Returns: object

list_recent_refreshesB
Read-only

List recent SPICE refresh history for a dataset.

Inputs: dataset_id (required), limit. Returns: object

list_sheet_visualsA
Read-only

List all visuals in a specific sheet of a QuickSight analysis.

Inputs: sheet_id (required), analysis_id (required). Returns: object

list_visualsB
Read-only

List all visuals in a QuickSight analysis with type and location info.

Inputs: analysis_id (required). Returns: object

modify_dataset_sqlA
Destructive

Find and replace text in a dataset's SQL query.

Convenience tool that reads the current SQL, applies a string replacement, and updates the dataset. A backup is created automatically.

Inputs: find (required), replace (required), dataset_id (required). Returns: object

publish_dashboardA
Destructive

Publish a QuickSight analysis to an existing dashboard.

WARNING: This is a DESTRUCTIVE operation that replaces the current dashboard content with the analysis content. All viewers will immediately see the new version. Make sure you have tested the analysis thoroughly before publishing.

Best practice:

  1. Clone the analysis first (clone_analysis) and test

  2. Back up the dashboard (backup_analysis on the source)

  3. Publish with a descriptive version_description

  4. If something goes wrong, use rollback_dashboard

Inputs: dashboard_id (required), source_analysis_id (required), version_description. Returns: object

refresh_datasetA

Trigger a SPICE refresh (data reload) for a dataset.

Use this after updating dataset SQL to reload data into SPICE cache. Has no effect on DIRECT_QUERY datasets.

Inputs: dataset_id (required). Returns: object

rename_sheetA
Idempotent

Rename an existing sheet in a QuickSight analysis.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: new_name (required), sheet_id (required), analysis_id (required). Returns: object

replicate_sheetA

Copy all visuals from one sheet to a new sheet in the same analysis.

This is the recommended way to duplicate a sheet. It copies all visuals with their layouts in a single API call, which is much more reliable than adding visuals one at a time.

Visual IDs are automatically prefixed with 'rc_' to avoid conflicts.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: analysis_id (required), source_sheet_id (required), target_sheet_name (required). Returns: object

restore_analysisA
Destructive

Restore a QuickSight analysis from a JSON backup file.

WARNING: This overwrites the analysis definition with the backup contents. The current state of the analysis will be replaced.

Inputs: backup_file (required), analysis_id. Returns: object

rollback_dashboardA
Destructive

Rollback a QuickSight dashboard to a previous version.

WARNING: This is a DESTRUCTIVE operation. The current dashboard content will be replaced with the specified previous version. All viewers will immediately see the rolled-back version.

Use get_dashboard_versions first to find the version number you want to restore.

Inputs: dashboard_id (required), version_number (required). Returns: object

search_analysesA
Read-only

Search QuickSight analyses by name (case-insensitive partial match).

Inputs: name (required). Returns: object

search_dashboardsA
Read-only

Search QuickSight dashboards by name (case-insensitive partial match).

Inputs: name (required). Returns: object

search_datasetsA
Read-only

Search QuickSight datasets by name (case-insensitive partial match).

Inputs: name (required). Returns: object

set_visual_layoutA
Idempotent

Set the position and size of a visual in the grid layout.

QuickSight uses a 36-column grid. Common patterns:

  • Full width: column_index=0, column_span=36

  • Half width: column_span=18

  • Third width: column_span=12

  • Row height: typically 8-16 rows per visual

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: row_span (required), row_index (required), visual_id (required), analysis_id (required), +2 more. Returns: object

set_visual_titleA
Idempotent

Set or update the title of a visual.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes.

Inputs: title (required), visual_id (required), analysis_id (required). Returns: object

snapshot_analysisA
Read-only

Take a snapshot of the current analysis state for QA comparison.

Use this BEFORE making changes. After changes, use diff_analysis to compare and verify exactly what changed.

Inputs: analysis_id (required). Returns: object

update_calculated_fieldA
Destructive

Update the expression of an existing calculated field.

WARNING: This modifies the analysis definition. A backup is automatically created before making changes. Visuals using this field will reflect the new expression immediately.

Inputs: name (required), analysis_id (required), new_expression (required). Returns: object

update_dataset_definitionA
Destructive

Update full dataset definition from JSON.

WARNING: This replaces the entire dataset definition. A backup is created automatically before the update.

Inputs: dataset_id (required), definition_json (required). Returns: object

update_dataset_sqlA
Destructive

Update the SQL query for a QuickSight dataset.

WARNING: This modifies the dataset in place. A backup is created by default.

Inputs: new_sql (required), dataset_id (required), backup_first. Returns: object

verify_analysis_healthA
Read-only

Run a comprehensive health check on a QuickSight analysis.

Use this AFTER any write operation to verify the analysis is healthy. This is the "reviewer" that ensures changes actually took effect and nothing was silently broken.

Checks performed:

  • Analysis status is SUCCESSFUL (not FAILED or IN_PROGRESS)

  • Sheet count is within QuickSight limits (<=20)

  • All visuals have corresponding layout elements

  • All calculated fields reference valid dataset identifiers

Inputs: analysis_id (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 61 tools

    Disambiguation4/5

    Most tools target a distinct resource+action, and descriptions clarify boundaries well. However, there is real overlap among update_dataset_sql, modify_dataset_sql, and update_dataset_definition, and between add_visual and the create_*_chart helpers; list_visuals vs list_sheet_visuals also blur slightly.

    Naming Consistency4/5

    The set overwhelmingly follows a snake_case verb_noun convention (get_/list_/add_/delete_/update_). The main deviation is the mix of add_ (add_sheet, add_visual, add_parameter) versus create_ (create_kpi, create_bar_chart, create_dataset) for essentially the same insert semantics, but overall it is readable and predictable.

    Tool Count3/5

    61 tools is heavy and pushes past the comfortable range, with some granularity that could be consolidated (set_visual_title/set_visual_layout, the seven create_*_chart helpers). The breadth of QuickSight (analyses, datasets, dashboards, sheets, visuals, parameters, filters) justifies much of it, but it is still borderline bloated.

    Completeness4/5

    Calculated fields, visuals, sheets, parameters, and filters have solid lifecycle coverage, and analyses have backup/restore/clone/publish. Notable gaps remain at the top level: no delete_dataset, delete_analysis, create_analysis, or create/delete_dashboard, and no generic update_visual, which agents must work around.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers