Skip to main content
Glama

run_systest_class

Executes D365FO unit test classes via SysTestConsole in unattended mode and returns per-method results; optionally runs a single test method or targets a specific model.

Instructions

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

Input 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.5/5.0
Behavior3/5

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

Annotations already declare openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds useful mechanism detail (SysTestConsole with /unattended) and the per-method result granularity, but says nothing about runtime cost, environment requirements, or the fact that executing test code can still mutate data despite the non-destructive annotation.

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 sentence with the action front-loaded, the execution mechanism, and the return granularity — no filler whatsoever.

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?

With no output schema, the description's brief 'per-method results' note carries the return-value burden and does so only sketchily. For a tool that shells out to SysTestConsole, missing prerequisites, expected duration, and failure reporting leaves clear gaps despite the simple 4-parameter schema.

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 every parameter including the className example and auto-detection behavior of modelName/packagePath is already documented. The description adds no additional parameter semantics, which is acceptable at baseline 3.

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

Purpose4/5

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

The description gives a specific verb and resource ('Execute a D365FO unit test class') plus the mechanism ('via SysTestConsole /unattended') and the return shape ('per-method results'). It is not tautological and no sibling tool in the list overlaps, though it does not explicitly name a contrasting sibling such as run_bp_check or validate_code.

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?

Usage is only implied: an agent can infer this is for running unit tests rather than static checks or builds, but the description never says when to prefer it over run_bp_check/validate_code, nor what prerequisites (built project, correct model, dev environment) must hold before calling.

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