Add tools to your agent and grant required permissions in databricks.yml. Use when: (1) Adding MCP servers, Genie spaces, vector search, or UC functions to agent, (2) Permission errors at runtime, (3) User says 'add tool', 'connect to', 'grant permission', (4) Configuring databricks.yml resources.
68
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Low
Low-risk findings.
2 low severity findings. Worth noting, but not necessarily harmful.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The skill's required workflow instructs adding external MCP servers (e.g., agent_server/agent.py McpServer with url like "https://mcp-my-server.cloud.databricks.com/mcp" and examples/genie-space.yaml/vector-search.yaml) which the agent will call and return tool outputs to the LLM, exposing it to arbitrary third-party/untrusted content that can influence decisions.
The skill fetches instructions or code from an external URL at runtime, and the fetched content directly controls the agent’s prompts or executes code. This dynamic dependency allows the external source to modify the agent’s behavior without any changes to the skill itself.
The skill registers runtime MCP server endpoints (e.g., https://mcp-my-server.cloud.databricks.com/mcp) via McpServer(...) which the agent will call as a tool at runtime to execute remote operations, so the URL is a required external dependency that can run remote code.
fdc1b49
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.