SuperAPI AI Directory

discover-tools

Agents & models

View repository

Updated 10-15 20:33

About this skill

Discover Available Tools

Run tool discovery BEFORE writing agent code to understand what resources are available in the workspace.

Run Discovery

uv run discover-tools

Options:

# Limit to specific catalog/schema
uv run discover-tools --catalog my_catalog --schema my_schema

# Output as JSON
uv run discover-tools --format json --output tools.json
Save markdown report

uv run discover-tools --output tools.md

Use specific Databricks profile

uv run discover-tools --profile DEFAULT


## What Gets Discovered

| Resource Type | Description | MCP URL Pattern |
|--------------|-------------|-----------------|
| **UC Functions** | SQL UDFs as agent tools | `{host}/api/2.0/mcp/functions/{catalog}/{schema}` |
| **UC Tables** | Structured data for querying | (via UC functions) |
| **Vector Search Indexes** | RAG applications | `{host}/api/2.0/mcp/vector-search/{catalog}/{schema}` |
| **Genie Spaces** | Natural language data interface | `{host}/api/2.0/mcp/genie/{space_id}` |
| **Custom MCP Servers** | Apps starting with `mcp-*` | `{app_url}/mcp` |
| **External MCP Servers** | Via UC connections | `{host}/api/2.0/mcp/external/{connection_name}` |

## Next Steps

After discovering tools:
1. **Add MCP servers to your agent** - See **modify-agent** skill for SDK-specific code examples
2. **Grant permissions** in `databricks.yml` - See **add-tools** skill for YAML snippets
3. **Test locally** with `uv run start-app` - See **run-locally** skill

Need a resource that doesn't exist yet? See the **create-tools** skill.