Skip to main content
Glama

GetMetadataExtensionVersionSource

Retrieves an older version of CDS metadata extension (DDLX) source code from version history using its opaque content_uri, enabling read-only review of prior source states.

Instructions

[read-only] Reads an older version of the source code of a CDS metadata extension (DDLX) 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": "GetMetadataExtensionVersionSource"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv20.1.0
    • changedInput schema / properties / content_uri / description
      Previous value: -"Opaque content_uri taken from a GetMetadataExtensionVersions entry."New value: +"Opaque content_uri of a version, from the CDS metadata extension's version history."
  2. 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 supplied, so the description carries the burden; it does disclose read-only status and that the read targets version history, which is useful. It says nothing about failure modes (e.g., current version), permissions, or whether the full source is returned.

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?

One sentence, front-loaded with the read-only marker, with no redundant or filler wording.

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 single-parameter read tool with full schema coverage and no output schema, the definition covers the essentials: read-only, source code, version history. Minor gaps remain around the returned content and prerequisites for obtaining a valid content_uri.

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?

The single content_uri parameter is fully documented in the schema as an opaque version identifier from the version history. The description reinforces the 'older version' nuance but adds no format or sourcing detail beyond the schema, matching the baseline for high 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?

Specific verb plus resource: reads an older version of the source code of a CDS metadata extension (DDLX) from its version history. The word 'older' and 'version history' distinguish it from siblings like GetMetadataExtension (current source) and GetMetadataExtensionVersions (listing versions).

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?

Implies the tool is for fetching historical source and that the content_uri must come from version history, but never explicitly says when to use this versus GetMetadataExtension or GetMetadataExtensionVersionDiff. No exclusions or prerequisites are stated.

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