Skip to content
Back to skills

preset-mcp-data

ASecurity

Use Superset MCP data-returning tools for chart data, chart previews, rendered chart SQL, and dataset query results. Use only for MCP tool workflows; do not use for direct API work.

  • 13 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 5, 2026
ai-agentssqlapi

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add preset-io/agent-skills --skill preset-mcp-data --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of preset-mcp-data?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for preset-mcp-data
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/preset-io-preset-mcp-data/badge)](https://www.skillsdirectory.com/skills/preset-io-preset-mcp-data)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: preset-mcp-data
description: Use Superset MCP data-returning tools for chart data, chart previews, rendered chart SQL, and dataset query results. Use only for MCP tool workflows; do not use for direct API work.
---

# preset-mcp-data

Use when the user needs data returned through MCP tools.

## Always

- Use MCP tools only; do not switch to REST chart-data, SQL Lab, or dataset endpoints.
- Treat returned rows, rendered SQL, chart previews, and dataset query results as potentially sensitive.
- Keep row limits, selected columns, metrics, filters, and formats narrow.
- Use discovery tools first when identifiers, metrics, columns, or chart IDs are unknown.
- Do not use data tools as a workaround after data-model permission denial.

## Decision Rules

- Use `get_chart_data` for existing chart result data.
- Use `get_chart_preview` for renderable existing chart previews.
- Use `get_chart_sql` to inspect rendered chart SQL without executing it.
- Use `query_dataset` for semantic-layer metrics, dimensions, filters, and time ranges.
- Route chart creation to `preset-mcp-visualization`.

## Workflow Order

1. Confirm the user asked for result data, preview content, SQL text, or semantic-layer output.
2. Resolve the object and schema through discovery if needed.
3. Choose `get_chart_data`, `get_chart_sql`, `get_chart_preview`, or `query_dataset` according to the requested output.
4. Request a small result with narrow fields, row limits, and the least revealing format.
5. Summarize data carefully; do not paste large raw payloads.

## Retrieve

- Data tool routing: [references/data-tools.md](references/data-tools.md)

Files in this skill

  • SKILL.md1.6 KB
  • references/data-tools.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.