Skip to main content
Glama

GetDdlVersionSource

Reads an older CDS view (DDLS) source version from its version history using the content_uri, so you can inspect or compare prior definitions.

Instructions

[read-only] Reads an older version of the source code of a CDS view (DDLS) from its version history.

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

Input Schema

NameRequiredDescriptionDefault
content_uriYesOpaque content_uri of a version, from the CDS view's version history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / content_uri / description
      Previous value: -"Opaque content_uri of a version, from the CDS view (DDL source)'s version history."New value: +"Opaque content_uri of a version, from the CDS view's version history."
  2. Changed1 schema field changedv20.1.0
    • changedInput schema / properties / content_uri / description
      Previous value: -"Opaque content_uri taken from a GetDdlVersions entry."New value: +"Opaque content_uri of a version, from the CDS view (DDL source)'s version history."
  3. Addedv8.5.0

TDQS

A3.8/5.0
Behavior3/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 usefully declares '[read-only]' and clarifies that the operation retrieves historical source, but it does not describe authentication needs, error behavior for invalid content_uri values, or the exact return format.

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 description is a single front-loaded sentence with no wasted wording. The '[read-only]' tag efficiently adds behavioral context before the core purpose.

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?

For a simple one-parameter read with no output schema, the description is nearly complete: it identifies the resource, historical scope, and read-only nature. It could explicitly state that the return value is source code, but the purpose already implies this and no complex behavior needs explanation.

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 schema already defines content_uri as the opaque identifier of a version from the CDS view's history. The description adds no further parameter meaning beyond that structured field, matching the baseline for high schema coverage.

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 states a specific verb and resource: reads the source code of an older version of a CDS view (DDLS) from version history. It clearly distinguishes this historical source retrieval from siblings such as GetDdl (current source), GetDdlVersions (version listing), and GetDdlVersionDiff (version comparison).

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 description implies when to use it by specifying 'an older version' and 'version history,' which suggests the content_uri comes from that history. However, it does not explicitly name alternatives such as GetDdl for current source or GetDdlVersions for listing versions, nor does it state exclusions.

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