Skip to main content
Glama

run_bp_check

Read-only

Run Microsoft Best Practices checker on Dynamics 365 Finance and Operations projects to identify BP warnings and errors with specific rule codes for code quality improvement.

Instructions

Run Microsoft Best Practices checker (xppbp.exe) on a D365FO project. Returns BP warnings and errors with rule codes (e.g. BPErrorLabelIsText, BPXmlDocNoDocumentationComments).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectsNoCheck several objects in ONE call — preferred over targetFilter. Shared preamble is printed once and findings are grouped per object.
modelNameNoModel name to check. Auto-detected if omitted.
packagePathNoPackagesLocalDirectory root path. Auto-detected if omitted.
projectPathNoAbsolute path to the .rnrproj file to analyze. Auto-detected if omitted.
targetFilterNoSingle-object form: object name to check. Use objects[] for more than one.
targetElementTypeNoElement type for targetFilter. Looked up in the symbol index if omitted; ambiguous or unknown names error rather than being assumed to be a class.
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=false, covering the safety and determinism profile. The description adds value by specifying the exact executable (xppbp.exe) and the nature of the output (BP warnings/errors with rule codes like BPErrorLabelIsText). This goes beyond what annotations provide, though it does not detail side effects or failure modes, which is acceptable for a read-only tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first states the core action, the second describes the return type with concrete examples. It is front-loaded with the primary purpose, has zero fluff, and every sentence earns its place. Ideal structure for an agent to quickly parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with well-documented parameters and a clear return type (BP warnings/errors with rule-code examples), the description covers essential context. The lack of an output schema is partially compensated by the rule-code examples. It could be slightly more explicit about the structure of the returned findings (e.g., list, grouping per object), but the included examples and parameter hints make it sufficiently complete for an agent to invoke correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% coverage with detailed descriptions for all six parameters, including usage hints (e.g., 'preferred over targetFilter', 'Auto-detected if omitted'). The description itself adds no additional parameter information, so it stays at the baseline of 3 for schema-covered parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the specific action ('Run Microsoft Best Practices checker (xppbp.exe)') and the resource ('on a D365FO project'). It also mentions the return type (warnings/errors with rule codes) and provides concrete examples, making it distinct from generic analysis tools like analyze_code or validate_code. The purpose is unambiguous and not a tautology.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for running best practice checks but does not explicitly state when to use it vs. alternatives such as analyze_code or validate_code. It lacks guidance on conditions that would prefer this tool over siblings, and does not mention exclusions or prerequisites. The usage context is only implied by the tool's name and stated function.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dynamics365ninja/d365fo-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server