-
Notifications
You must be signed in to change notification settings - Fork 103
Description
The Microsoft Docs MCP server's search functionality fails to locate specific Business Central AL property documentation pages, even when using precise and relevant search terms.
Example:
When searching for "PreserveWhitespace property XMLport Business Central AL", the search should return the official AL property documentation page: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-preservewhitespace-property
but
multiple search attempts with various keyword combinations failed to return the AL property documentation.
Instead, searches consistently returned:
- .NET
XmlDocument.PreserveWhitespace
property documentation - MSXML
IXMLDOMDocument.preserveWhiteSpace
references - Generic AL development overview pages
This search limitation led to:
- Incorrect conclusion that the property doesn't exist in AL
- Multiple unnecessary search attempts (token loss)
- Poor user experience requiring manual URL discovery
Repro:
- Use MS Docs MCP server search tool
- prompt eg: "Query the Business Central AL docs if there is some sort of preserve white spaces property that applies to Xml Port objects"
- Observe that results don't include the actual AL documentation site url.
ive tested this with github copilot (Models: gpt 4.1, gpt 5, Sonnet 4, Gemini 2.5 pro) and with Cline.
Versions:
copilot: 1.364.0
Cline: 3.26.6