Skip to main content
Glama
Hollway

mcp-abap-abap-adt-api

by Hollway

validateNewObject

Read-only

Check if a new ABAP object name is available before creation by validating name, package, and description against ADT rules, identifying reserved or conflicting names.

Instructions

Ask the system whether a new object may be created under this name, in this package, with this description - the check ADT runs before a creation dialog is accepted. It answers with the reason a name is refused (already taken, reserved, wrong namespace). Careful with the answer: some collections reply 200 with an empty body, which the library reads as failure, so a free name can look refused; createObject and createAndWrite handle that themselves.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optionsYesValidation options: {objtype, objname, packagename, description} for an object, or the group/package variants. A JSON string is accepted too.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior5/5

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

The description goes well beyond the readOnlyHint/destructiveHint annotations by disclosing the refusal reasons (already taken, reserved, wrong namespace) and the critical edge case where some collections return 200 with an empty body and the library reads that as failure. This is exactly the kind of behavioral nuance an agent needs.

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?

The description is three sentences with no filler. The purpose is front-loaded, the refusal-reason behavior is stated next, and the empty-body caveat is saved for last where it can be appreciated as a warning. Every sentence earns its place, though the third sentence is slightly dense.

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

Completeness4/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 compensates by explaining what the tool answers and the problematic empty-body case. It stops short of telling the agent how to safely distinguish a truly free name from a false refusal, except by deferring to createObject/createAndWrite. This is enough for most callers but leaves some ambiguity about relying on the 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% for the single options parameter, including the fields {objtype, objname, packagename, description} and the group/package variants. The tool description adds no parameter detail beyond what the schema already provides, so the baseline of 3 applies.

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 names a specific verb and resource: 'Ask the system whether a new object may be created under this name, in this package, with this description.' It also adds the exact context (the pre-creation ADT check) and differentiates it from createObject/createAndWrite by noting they handle the check themselves.

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 states this is the check 'ADT runs before a creation dialog is accepted,' making the intended pre-creation use clear. It also names createObject and createAndWrite as tools that handle the check internally. However, it does not explicitly say 'use this instead of createObject when you only need validation,' leaving a small amount of inference.

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