Skip to main content
Glama

CheckDomain

Validates the syntax of an ABAP domain (DOMA) and can check the active or inactive version, helping catch definition errors before activation.

Instructions

[read-only] Checks the syntax of an ABAP domain (DOMA).

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": {
      "domain_name": "<domain_name>"
    },
    "name": "CheckDomain"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoWhich version to check. Without `version` the active version is checked; pass `inactive` for the unsaved one right after a write.
domain_nameYesDomain name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv20.1.0
    • changedInput schema / properties / version / description
      Previous value: -"Which version to check. Defaults to the inactive one, what a caller wants right after a write; an object that is only active has no inactive version, and SAP answers such a check with \"Error while importing object … from the database\" — ask for active."New value: +"Which version to check. Without `version` the active version is checked; pass `inactive` for the unsaved one right after a write."
  2. Changed2 schema fields changedv16.0.0
    • changedInput schema / properties / domain_name / description
      Previous value: -"Domain name (e.g., ZDM_MY_DOMAIN)."New value: +"Domain name."
    • addedInput schema / properties / version
      Added value: +{
      +  "description": "Which version to check. Defaults to the inactive one, what a caller wants right after a write; an object that is only active has no inactive version, and SAP answers such a check with \"Error while importing object … from the database\" — ask for active.",
      +  "enum": [
      +    "active",
      +    "inactive"
      +  ],
      +  "type": "string"
      +}
  3. Addedv6.5.1

TDQS

B3.3/5.0
Behavior2/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 discloses safety through the '[read-only]' tag, but says nothing about whether the check has side effects, whether it reports syntax errors in the response, what form those findings take, or how severe a failed check is. That is a real gap for a tool with zero annotation coverage.

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 definition is a single front-loaded sentence with no padding. The '[read-only]' marker sits ahead of the purpose statement, so an agent sees the safety profile first. Every word earns its place.

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?

This is a two-parameter tool with full schema coverage and no output schema, so the description only needs to explain purpose, usage, and results. It covers purpose but says nothing about the return value, which matters here because no output schema documents whether the response is a boolean or a list of messages. That leaves the definition adequate but not complete.

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 the baseline is 3. The domain_name and version parameters are fully documented in the schema, including the active-versus-inactive rule. The description adds the 'DOMA' object-type context, which is useful, but nothing beyond what the schema already provides.

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 names a specific verb and resource: 'Checks the syntax of an ABAP domain (DOMA)'. That is enough to separate it from the Create/Update/Delete/Activate siblings, but it does not explicitly distinguish it from GetDomain, which would also read an active/inactive domain version.

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 word 'Checks' together with '[read-only]' implies that this is a validation step and not a mutation, but no alternative is named and no precondition is stated. The agent is left to infer that it is used to validate a domain before activating it, and nothing tells it when to choose CheckDomain over GetDomain.

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