Skip to main content
Glama

CheckMetadataExtension

Checks the syntax of a CDS metadata extension (DDLX) by name, for the active version or an unsaved inactive version, to catch errors before activation.

Instructions

[read-only] Checks the syntax of a CDS metadata extension (DDLX).

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

Input Schema

NameRequiredDescriptionDefault
nameYesMetadata extension name.
versionNoWhich version to check: 'active' (default) or 'inactive', the unsaved one right after a write. This endpoint does not fall back to whichever exists.active

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv16.0.0
    • changedInput schema / properties / name / description
      Previous value: -"Metadata extension name (e.g., ZC_MY_DDLX)."New value: +"Metadata extension name."
    • addedInput schema / properties / version
      Added value: +{
      +  "default": "active",
      +  "description": "Which version to check: 'active' (default) or 'inactive', the unsaved one right after a write. This endpoint does not fall back to whichever exists.",
      +  "enum": [
      +    "active",
      +    "inactive"
      +  ],
      +  "type": "string"
      +}
  2. Addedv6.5.1

TDQS

B3.1/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 behavioral burden, and it only states the operation is read-only. It never says what a failed check produces (error list, message, boolean), whether checking stops at the first error, or what permissions the caller needs. For a validation endpoint with no output schema, that is a substantial gap.

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 front-loaded sentence with the read-only marker first — nothing is wasted. Its brevity borders on under-specification, but as a structure/conciseness matter it is efficient rather than padded.

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?

There is no output schema and no annotation block, yet the description says nothing about what the check returns or how a failure is represented, which is the single most important thing an agent needs from a validation tool. Version semantics live only in the schema, so the description is thin relative to the tool's role.

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 both the name and version parameters, including the enum values and the no-fallback behavior, are fully documented in the schema. The description adds no parameter meaning of its own beyond the resource noun, which is the expected baseline when the schema does the heavy lifting.

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?

"Checks the syntax of a CDS metadata extension (DDLX)" gives a specific verb (checks the syntax) and a precise resource (CDS metadata extension / DDLX), which distinguishes it from the Activate/Get/Update siblings in the same family. It does not explicitly differentiate itself from the other Check* tools (CheckDdl, CheckClass, etc.), but the resource noun does that implicitly.

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: the name and description suggest running this before activating, but there is no explicit statement of when to use it versus ActivateMetadataExtension or whether it is a prerequisite. The version parameter's schema text hints at a post-write workflow ('the unsaved one right after a write'), but the description body itself offers no routing guidance.

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