Skip to main content
Glama

CheckPackage

Checks ABAP package (DEVC) syntax in read-only mode to surface definition errors before development or transport work.

Instructions

[read-only] Checks the syntax of an ABAP package (DEVC).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "package_name": "<package_name>"
    },
    "name": "CheckPackage"
  }
}

Input Schema

NameRequiredDescriptionDefault
package_nameYesPackage name.
super_packageNoOptional, and not read by the check endpoint — see CheckPackageLow. Requiring it refused the call before any request was made, for a package with no parent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv16.0.0
    • changedInput schema / properties / package_name / description
      Previous value: -"Package name (e.g., ZMY_PACKAGE)."New value: +"Package name."
    • changedInput schema / properties / super_package / description
      Previous value: -"Super package name (parent package)."New value: +"Optional, and not read by the check endpoint — see CheckPackageLow. Requiring it refused the call before any request was made, for a package with no parent."
    • changedInput schema / required
      Previous value: -[
      -  "package_name",
      -  "super_package"
      -]New value: +[
      +  "package_name"
      +]
  2. Addedv6.5.1

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose that the operation is read-only and limited to syntax checking, which rules out activation or mutation side effects. However, it says nothing about what a failed check looks like, whether it returns messages/warnings, or any server round-trip behavior. Notably, the useful caveat about super_package not being read by the endpoint lives only in the schema, not the description.

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

Conciseness4/5

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

A single short sentence with the read-only qualifier front-loaded in brackets, so the safety profile is seen first. Nothing is wasted, though the description is arguably under-specified rather than maximally efficient.

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?

There is no output schema, so the description should ideally say what a syntax check returns (error list, messages, success indicator); it does not. It also omits the gotcha that super_package is not consumed by the endpoint, leaving that entirely to the schema. Adequate to identify the tool, incomplete for predicting its result.

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 package_name and super_package are already documented, including the notable note that super_package is ignored by the check endpoint and can cause call refusal. The description adds no parameter meaning beyond the schema, which is the expected baseline when coverage is complete.

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?

"[read-only] Checks the syntax of an ABAP package (DEVC)" gives a specific verb (checks) plus resource (ABAP package/DEVC) and scope (syntax only). It is naturally distinguishable from the CheckClass/CheckTable/CheckDdl siblings because each names a different object type. It does not explicitly name an alternative, but the resource is precise enough for selection.

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?

The description never states when to call this versus GetPackage, CheckPackageLow, or the other Check* tools, nor any prerequisite (e.g. package must exist / be active). The only hint of usage is the "[read-only]" tag. Guidance is essentially absent and must be inferred from the name.

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

Deploy Server

Other Tools