Skip to main content
Glama

run_systest_class

Run a D365 Finance and Operations unit test class and get per-method results using unattended SysTestConsole execution.

Instructions

Execute a D365FO unit test class via SysTestConsole.exe (/unattended), returning per-method results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
classNameYesThe name of the SysTest class to run (e.g. "MyModuleTest")
modelNameNoThe model containing the test class. Auto-detected if omitted.
testMethodNoOptional: run only this specific test method within the class (e.g. "testValidation").
packagePathNoPackagesLocalDirectory root path. Auto-detected if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.14.0
    • changedInput schema / properties / modelName / description
      Previous value: -"The model containing the test class. Auto-detected from .mcp.json if omitted."New value: +"The model containing the test class. Auto-detected if omitted."
    • changedInput schema / properties / packagePath / description
      Previous value: -"PackagesLocalDirectory root path. Auto-detected from .mcp.json if omitted."New value: +"PackagesLocalDirectory root path. Auto-detected if omitted."
  2. First observedv1.8.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already give destructiveHint=false and openWorldHint=false, and the description adds that execution happens unattended via SysTestConsole.exe and that results are per-method. It does not disclose prerequisites or potential side effects of executing tests, but no contradiction exists.

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?

A single, front-loaded sentence that packs action, target, mechanism, and output without filler. Every clause earns its place.

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?

With no output schema, 'returning per-method results' is a useful but minimal account of the return value; the optional parameters are fully documented by the schema. The definition is complete enough for invocation, though more output format detail would help.

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?

Schema description coverage is 100%, so all four parameters are already documented. The description adds no additional parameter-level meaning beyond naming the return style; baseline 3 is appropriate.

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 uses a specific verb 'Execute', a clear resource 'D365FO unit test class', and a distinctive mechanism 'SysTestConsole.exe (/unattended)'. It also states the output 'per-method results', which separates this from sibling build/analysis tools like build_d365fo_project and run_bp_check.

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 makes it evident this tool is for running unit tests, so its core use case is implied. However, it gives no explicit when-to-use guidance or exclusions relative to sibling tools such as run_bp_check or build_d365fo_project.

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