name: preset-mcp description: Route Superset MCP tool workflows, source-of-truth checks, and surface-boundary decisions. Use only for MCP tool workflows; do not use for direct API work.
preset-mcp
Use for Superset MCP intent, MCP tool routing, and MCP/API surface-boundary decisions.
Always
- Stay on MCP tools for MCP intent.
- Treat
superset/superset/mcp_serviceas the only source of truth for MCP tool names, schemas, tags, annotations, prompts, resources, and RBAC metadata. - Call tools directly with the obvious parameters; fetch a tool's schema only after a validation error. These skills are workflow guidance, not schema definitions.
- Do not use direct Preset Management API, Superset REST API, Snowflake Cortex API, curl, Python requests, exports, or database calls from this package.
- If MCP cannot satisfy the request, stop and explain the missing MCP capability. Do not switch surfaces.
Decision Rules
- MCP intent includes MCP tools, MCP clients, Superset MCP, Preset MCP, MCP resources, MCP prompts, tool discovery, and MCP tool errors.
- Direct API intent includes API credentials, REST endpoints, OpenAPI, curl/Python requests, Management API, workspace API, and Snowflake Cortex APIs.
- If the user starts with MCP intent and mentions direct API only as a fallback, keep MCP intent. Say: "No API fallback. Direct API is a different surface and requires separate explicit approval. Stop before API calls."
- When the session is connected through MCP tools and the user has not named a surface, default to MCP and proceed; ask only when the user explicitly mixes both surfaces in one request.
- Use a domain skill after routing: discovery, data, visualization, dashboard, sqllab, datasets, or troubleshooting.
Workflow Order
- Identify whether the user requested MCP or direct API.
- For MCP, choose the narrowest MCP domain skill.
- Call the tool with the obvious parameters; consult its schema only after a validation error.
- If MCP lacks a requested capability, explain the missing MCP capability.
- Ask before changing surfaces and stop before API calls.
Retrieve
- Tool categories and loading strategy: references/tool-categories.md
- Surface boundary examples: references/surface-boundary.md