Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
Hello @Abanes, Cameron A ,
Welcome to Microsoft Q&A .Thank you for reaching out to us.
The current evidence indicates that the issue is occurring during tool discovery rather than tool invocation. The empty tools: [] result is the strongest indicator that no callable tools are being exposed to the runtime.
After reviewing the behavior and trace output, the most significant observation is the successful execution of the mcp_list_tools operation with an empty tool collection.This indicates that the tool discovery request is completing successfully, but no callable tools are currently being exposed to the agent runtime.
When tools are not available in the runtime tool list, the agent cannot invoke them, even when instructions explicitly request tool usage. In that situation, the model may generate responses based on its own knowledge, which aligns with the observed behavior of returning generated readings or data instead of invoking the configured MCP server, Azure Databricks Genie space or knowledge base.
The common causes for this behavior can include:
- Tool registration issues
- Authentication or authorization problems
- Connection configuration issues
- Tool metadata or schema issues
- Changes within the connected tool service itself
The trace data provides the strongest indication.
Tool discovery occurs before the model decides whether a tool should be invoked. Since the runtime is currently returning tools: [] there are no callable tools available for selection.
As a result:
- Explicit instructions such as "use the MCP server" cannot succeed until tools are successfully discovered.
- Additional prompt tuning is unlikely to resolve the current behavior.
- Troubleshooting needs to be focused first on tool discovery and connectivity.
Please check if the following steps help-
- Verifying tool discovery across all connected sources Review traces for:
- Custom MCP server
- Azure Databricks Genie connection
- Knowledge Base / Azure AI Search connection
- All integrations return empty tool lists, or
- Only a specific integration is affected
- Validating project connections, authentication, and permissions Please verify:
- Project connection status
- OAuth consent and authentication configuration
- Managed identity assignments
- Service principal permissions
- Databricks workspace access permissions
- Azure AI Search access permissions
- Testing tool discovery outside of the agent runtime Validate whether the MCP server is exposing tools independently of the agent. Compare results:
- If tools are returned externally but Foundry continues to return tools: [], the investigation should focus on the connection layer, runtime integration, or agent configuration.
- If no tools are returned externally, the investigation should focus on the MCP server implementation and tool registration process.
- Reviewing server-side logs Review logs for:
- Authentication failures
- Authorization failures
- Tool registration issues
- Tool manifest generation failures
- Databricks Genie initialization issues
- Recent deployment or dependency changes
- Validating tool definitions and metadata If any connected service has recently been updated or redeployed, confirm:
- Tool definitions are still present
- Tool names have not changed
- Metadata remains valid
- Configuration changes are not filtering or excluding tools
- Confirming the active agent version The traces indicate that a specific published agent version is being used. Recommended validation:
- Confirm the expected tool configuration exists in the active version.
- Create a new agent version with the same tool set.
- Start a fresh conversation and compare traces.
- Creating a minimal validation scenario Create a new test agent containing:
- A single tool
- Minimal instructions
- A simple validation request
- Reattaching or recreate tool connections If discovery continues to return empty results:
- Recreate the MCP connection
- Recreate the Databricks Genie connection
- Reattach the knowledge base connection
- Validating Azure AI Search knowledge base connectivity For the knowledge base integration, verify:
- Search connection availability
- Index accessibility
- Managed identity permissions
- Private networking configuration
- Retrieval-related traces
The following references might be helpful , please check them out
- Tool best practices for Microsoft Foundry Agent Service - Microsoft Foundry | Microsoft Learn
- Connect to MCP Server Endpoints for agents - Microsoft Foundry | Microsoft Learn
- Connect an Azure AI Search index to Foundry agents - Microsoft Foundry | Microsoft Learn
- Connect Agents to Foundry IQ Knowledge Bases - Microsoft Foundry | Microsoft Learn
- Set Up Tracing for AI Agents in Microsoft Foundry - Microsoft Foundry | Microsoft Learn
Please let us know if the response was helpful
Thank you
Please "Accept" the answer with an "Upvote" if the response was helpful. This will be benefitting other community members who face the same issue.