Skip to main content
Glama

GetClassCoverage

Run ABAP unit tests for a class and retrieve coverage results to identify untested code.

Instructions

Run unit tests for a class and retrieve test coverage results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_nameYesName of the ABAP class
auto_activateNoOptional: Automatically activate the class before running coverage analysis (default: false)
preaudit_requestedNoOptional: Request pre-audit during activation (default: true, only used if auto_activate is true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It indicates tests are run (a side-effecting action) but omits permissions, activation side effects, reversibility, and output format—only minimal behavioral context is given.

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 with no redundant or filler content. It efficiently communicates the tool's action and result.

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

Completeness2/5

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

With no output schema and no annotations, the description should explain more about what running tests entails (e.g., side effects, activation behavior) and what coverage results include. It is too sparse for a tool with side-effect potential and optional activation flags.

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%, fully documenting class_name, auto_activate, and preaudit_requested. The description adds no additional meaning beyond the schema, 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.

Purpose4/5

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

The description states a specific action (run unit tests for a class) and result (test coverage), making the core purpose clear. However, it does not differentiate from sibling tools like RunClassTests or GetClassTests, leaving ambiguity about when this tool is preferred over them.

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

Usage Guidelines2/5

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

No explicit when-to-use or when-not-to-use guidance is provided. It does not mention alternatives such as RunClassTests or GetClassTests, so the agent must infer that this tool is for coverage rather than plain test execution.

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