Skip to main content
Glama

run_systest_class

Execute D365 F&O unit test classes via SysTestConsole. Specify the test class name and optional model, method, or package path to run targeted tests.

Instructions

Execute a D365FO unit test class via SysTestConsole.exe. Needs an interactive console session — fails headless.

Input Schema

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

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

The description adds a significant behavioral trait beyond the annotations: the requirement for an interactive console session and failure in headless environments. This is not captured in readOnlyHint or destructiveHint, adding valuable context for the agent.

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 long, front-loads the action, and each sentence contributes essential information. There is no redundancy or filler.

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

Completeness3/5

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

The description covers the core purpose and a critical operational constraint, but with no output schema, it fails to mention what the tool returns or produces (e.g., test results, exit codes). For a test execution tool, this is a notable gap, though the rest of the context is adequately handled.

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 already provides 100% coverage of all four parameters with clear descriptions. The tool description adds no additional parameter-level semantics, so the baseline score of 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 the specific verb 'Execute' and identifies the resource as 'D365FO unit test class via SysTestConsole.exe', making the tool's purpose unambiguous. This clearly separates it from sibling tools like build_d365fo_project or 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 Guidelines4/5

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

The description provides clear usage context by stating it 'Needs an interactive console session' and explicitly warns it 'fails headless', effectively defining when to use it (interactive sessions) and when not to (headless). However, it does not name alternative tools for headless scenarios, so it falls short of a perfect score.

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