Skip to main content
Glama

GetDdlVersionDiff

Compares two versions of the same CDS view from its version history to show differences between old and new definitions.

Instructions

[read-only] Reads two versions of the same CDS view (DDLS) from its version history and compares them.

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_from": "<content_uri_from>",
      "content_uri_to": "<content_uri_to>"
    },
    "name": "GetDdlVersionDiff"
  }
}

Input Schema

NameRequiredDescriptionDefault
content_uri_toYesOpaque content_uri of the NEW/compare version, from the CDS view's version history.
content_uri_fromYesOpaque content_uri of the OLD/base version, from the CDS view's version history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / content_uri_from / description
      Previous value: -"Opaque content_uri of the OLD/base version, from the CDS view (DDL source)'s version history."New value: +"Opaque content_uri of the OLD/base version, from the CDS view's version history."
    • changedInput schema / properties / content_uri_to / description
      Previous value: -"Opaque content_uri of the NEW/compare version, from the CDS view (DDL source)'s version history."New value: +"Opaque content_uri of the NEW/compare version, from the CDS view's version history."
  2. Changed2 schema fields changedv20.1.0
    • changedInput schema / properties / content_uri_from / description
      Previous value: -"Opaque content_uri of the OLD/base version (from a GetDdlVersions entry)."New value: +"Opaque content_uri of the OLD/base version, from the CDS view (DDL source)'s version history."
    • changedInput schema / properties / content_uri_to / description
      Previous value: -"Opaque content_uri of the NEW/compare version (from a GetDdlVersions entry)."New value: +"Opaque content_uri of the NEW/compare version, from the CDS view (DDL source)'s version history."
  3. Addedv8.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the key trait via the '[read-only]' marker plus the fact that it reads from version history rather than the active object. It does not describe what the comparison returns or what happens when the two content_uris do not belong to the same CDS view, which are meaningful gaps for a non-annotated tool.

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?

A single sentence with zero waste, front-loading the read-only marker and then the action. Nothing is repeated or padded.

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?

For a simple two-parameter read tool with fully described inputs this is close to adequate, but there is no output schema, so the description should have said something about the shape of the diff result. The same-object precondition is only implicit, leaving a gap an agent could stumble on.

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 coverage is 100% and both parameters are already well documented as opaque content_uri values from version history. The description adds the useful constraint that both URIs must reference the same CDS view, but does not clarify ordering expectations beyond the schema's OLD/base vs NEW/compare labels, so the increment is modest.

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 states a specific verb pair (reads and compares) and a precise resource (two versions of the same CDS view / DDLS from version history). This is easy to distinguish from GetDdlVersions (lists versions) or GetDdlVersionSource (returns a single version's source), but it never names those alternatives explicitly, so differentiation is implied rather than stated.

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 tool is for comparison when you already have two version URIs. There is no explicit statement of when to prefer this over GetDdlVersionSource, nor any prerequisite such as both URIs referencing the same object, so the agent must infer the routing decision.

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