fix: fix the HR scenario issue by implementing the tools filtering and updated azure.yaml#1090
Merged
Roopan-Microsoft merged 1 commit intoJul 14, 2026
Conversation
…ated the azure.yaml
Roopan-Microsoft
approved these changes
Jul 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request updates configuration and code to improve domain-specific tool access and deployment instructions. The main changes are the introduction of per-domain tool whitelisting for the MCP server, updating the logic to connect agents to domain-specific endpoints, and clarifying deployment steps in
azure.yaml.Domain-specific tool access and routing:
DOMAIN_ALLOWED_TOOLSmapping inmcp_config.pyto specify which tools are available for each domain (e.g.,hr,tech_support,marketing,product,image). This ensures that each domain only exposes the relevant tools to the LLM and reduces the risk of cross-domain tool confusion.from_envmethod inMCPConfigto rewrite the MCP server base URL to the domain-scoped endpoint (e.g.,/hr/mcp), so each agent connects to its domain’s dedicated endpoint. The client-sideallowed_toolsfilter remains as a safety net.Deployment instructions:
azure.yamlby numbering the Bash and PowerShell commands as "STEP 1" and "STEP 2" to make the deployment process easier to follow. [1] [2] [3]metadatablock inazure.yaml(was previously active).Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information