Skip to main content
Glama

Customizing (read)

customizing
Read-onlyIdempotent

Search SAP IMG/SPRO activities, inspect configuration tables or views, compare rows between org units, plan changes, and check async write status—read-only.

Instructions

Customizing (IMG/SPRO): find activities, describe and read maintenance objects and tables, compare keys, plan a change, show the system's recording status. Read-only.

Actions (pass action plus that action's parameters; connectionId picks the system): • search — Search the SAP Implementation Guide (IMG / SPRO) for customizing activities by keyword, using the IMG index (CUS_IMGACT activity titles) joined to the maintenance object. Returns activity IDs, SPRO titles, maintenance objects, and their pattern (V=view→VDAT, S=table→TABU, C=cluster→CDAT, T=transaction, D=doc). g. Required: keyword. Optional: namespace, inScopeOnly, language, maxResults. • describe — Describe a SAP customizing view or table: underlying base table, all fields with key markers, delivery class (transport behaviour), authorization group (S_TABU_DIS), maintenance program, and foreign-key references on key fields (org-unit candidates). Use after customizing(action: "search") to understand the structure before reading or changing config. Required: objectName. Optional: language. • read — Read the current rows of a customizing table or maintenance view (a view is resolved to its base table) as an aligned text table, optionally filtered to rows where one key field equals one value. The filter applies only when both keyField and keyValue are given. Use customizing(action: "diff") to compare two org units, customizing(action: "describe") for the field list, and data(action: "rows") for non-customizing tables. Required: objectName. Optional: keyField, keyValue, maxRows. • diff — g. plant 1000 vs plant 2000, or company code DE01 vs AT01). Shows rows present in source but missing from target, and vice versa. Required: objectName, keyField, sourceKey, targetKey. • plan — g. plant 1000 to a new plant 2000), with the maintenance view, delivery class and transport object. Nothing is written and the in-system engine is not needed, so it works before the engine is installed. Required: objectName, keyField, sourceKey, targetKey. Optional: onlyMissing. • status — Check the result of an asynchronous customizing write (customizing_write(action: "copy" | "delete") with commit: true) by its run_id. The write runs in a background job for headless transport recording; if it doesn't finish within apply's poll budget, apply returns a run_id — use this tool to poll until it reports ok/error. Required: runId. Optional: icfPath.

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

Input Schema

NameRequiredDescriptionDefault
runIdNostatus: The run_id returned by a pending customizing_write(action: "copy" | "delete") commit
actionYesWhat to do: search, describe, read, diff, plan, status (see the tool description)
icfPathNostatus: SICF path of the engine (default: /sap/bc/zmcp_cust)
keywordNosearch: Title keyword, matched case-insensitively (e.g. 'tender', 'profile', 'tax type')
maxRowsNoread: Maximum rows to return (default: 100)
keyFieldNoread: Field to filter on, compared for equality (e.g. WERKS, BUKRS); used only together with keyValue | diff: Org-unit key field (e.g. WERKS, BUKRS, VKORG, LGNUM) | plan: Org-unit key field (e.g. WERKS, BUKRS, VKORG)
keyValueNoread: Value the field must equal, as stored (e.g. '0001'); used only together with keyField
languageNosearch: Language key (default: E) | describe: Language key for descriptions (default: E)
namespaceNosearch: Activity-ID prefix to scope the search, e.g. '/POSDW/' (POS DTA). Strongly recommended.
sourceKeyNodiff: Source org-unit value (reference, e.g. '1000') | plan: Source org-unit value (reference config)
targetKeyNodiff: Target org-unit value (e.g. '2000') | plan: New org-unit value to create config for
maxResultsNosearch: Max activities scanned within the scope (default: 200)
objectNameNodescribe: Maintenance view or table name (e.g. V_T001W, T001W, V_T001, TVKO) | read: Maintenance view or table name (e.g. V_T001W, T001W, TCURR) | diff, plan: Maintenance view or table name
inScopeOnlyNosearch: Keep only activities in the client's activated scope (CUS_IMGACH_SCOPE). Ignored when no scoping data exists.
onlyMissingNoplan: Only plan rows absent from target (default: true). Set false to plan a full overwrite.
connectionIdNoSAP system connection ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, and the description reinforces this while adding genuinely new facts: plan writes nothing and works before the in-system engine is installed, status polls a background job for headless transport recording, read resolves a view to its base table, and describe surfaces delivery class and authorization group. It stops short of stating failure modes or what happens when a run_id is unknown or expired.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The bulleted action structure with bold action names is front-loaded and scannable, but several sentences are visibly garbled ('g. Required: keyword', 'diff — g. plant 1000 vs plant 2000', 'plan — g. plant 1000 to a new plant 2000)') and consume reader attention without conveying anything. The per-action repetition of 'Required/Optional' is useful but verbose.

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 six-action, 16-parameter tool with no output schema, the description does the heavy lifting: it sketches what each action returns (activity IDs, SPRO titles, maintenance objects and patterns; field lists with key markers; aligned text tables) and covers the async status workflow. The corrupted diff/plan text and the absence of any guidance on error or empty-result behavior are the remaining gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real value by distributing the 16 polymorphic parameters across actions with per-action Required/Optional lists, which the schema itself does not express. It also clarifies that the read filter applies only when both keyField and keyValue are supplied and that namespace scoping is 'strongly recommended'.

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 names each of the six actions with a specific verb and resource: IMG/SPRO search, describe a customizing view/table, read rows, diff two org units, plan a change, and poll a run status. It also explicitly scopes itself as read-only and differentiates from siblings by naming customizing_write and data(action: "rows").

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?

Routing is strong and explicit: 'Use after customizing(action: "search")', 'use customizing(action: "diff") to compare two org units', 'data(action: "rows") for non-customizing tables', and status is tied to a pending customizing_write commit with commit: true. The diff and plan bullets, however, are corrupted ('g. plant 1000 vs plant 2000'), so the guidance contrasting diff against plan is partly lost.

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