Skip to main content
Glama
sap-mcp

sap-mcp

by abap-studio

update_ddlx

Overwrite the full source of an existing CDS metadata extension (DDLX) for broad changes; writes are blocked on production profiles. Prefer patch edits for small changes.

Instructions

Overwrite the source of an EXISTING CDS metadata extension (DDLX). REPLACES the whole source. Refuses to run on production profiles. Prefer patch_ddlx for small edits.

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": {
      "ddlxName": "<ddlxName>",
      "source": "<source>"
    },
    "name": "update_ddlx"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesComplete new DDLX source - REPLACES the entire object
activateNoActivate after writing. Default false.
ddlxNameYesMetadata extension name
transportNoTransport request. Omit only for local/$TMP objects.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it warns that the entire source is replaced (content loss risk), notes a production-profile safety guard, and the schema documents that activation defaults to false. It does not mention transport/lock prerequisites or how failures are reported.

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?

Four short sentences, front-loaded with the destructive action, then the constraint, then the alternative. No filler and every clause is actionable.

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 an unannotated mutation tool with a fully documented 4-parameter schema and no output schema, this covers the essentials an agent needs: what gets destroyed, the production guard, and the lighter-weight sibling. Minor gap is surrounding workflow context such as transport locks or post-write activation behavior.

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%, so all four parameters are already documented in the input schema, including that source replaces the whole object and that transport may be omitted only for local/$TMP objects. The description reinforces the destructive nature of 'source' but adds no new parameter-level meaning, so the baseline 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?

States a specific verb ('Overwrite the source of') plus a precise resource ('an EXISTING CDS metadata extension (DDLX)') and capitalizes REPLACES to signal full-replacement semantics. The word 'EXISTING' cleanly separates it from create_ddlx without needing to name that sibling.

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?

Explicitly routes small edits to patch_ddlx, which is the key sibling decision an agent faces here. It also gives a hard exclusion ('Refuses to run on production profiles'), though it does not spell out the create-vs-update boundary beyond the word EXISTING.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.