Skip to main content
Glama

UpdateServiceBinding

Update an existing OData service binding (SRVB) to publish or unpublish its service, controlling whether the bound service is exposed.

Instructions

Updates the publication state of an existing OData service binding (SRVB), publishing or unpublishing its service.

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": {
      "service_binding_name": "<service_binding_name>",
      "desired_publication_state": "<desired_publication_state>",
      "service_name": "<service_name>"
    },
    "name": "UpdateServiceBinding"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNoHow much of the answer to return: "terse" (default) what a next call needs: the identifiers and a short description; "medium" every item the tool read, with its main properties; "full" the tool's whole answer; "raw" what SAP sent.terse
service_nameYesPublished service name, from the binding. Required: an OData V2 publication job resolves the service by name and version and refuses without them. Ignored for V4, where the request names its target on its own.
binding_variantNoService binding variant. Determines OData version for publish/unpublish routing.ODATA_V4_UI
response_formatNoAccepted for backward compatibility; no longer affects the answer, which is always the structured write result.xml
service_versionNoPublished service version. Default 0001. Used by an OData V2 publication job together with the service name; ignored for V4.
service_binding_nameYesService binding name to update.
desired_publication_stateYesTarget publication state.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / detail / description
      Previous value: -"How much of the answer to return: \"terse\" (default, the fields you need to act), \"full\" (the whole parse), \"raw\" (the document as ADT sent it)."New value: +"How much of the answer to return: \"terse\" (default) what a next call needs: the identifiers and a short description; \"medium\" every item the tool read, with its main properties; \"full\" the tool's whole answer; \"raw\" what SAP sent."
    • changedInput schema / properties / detail / enum
      Previous value: -[
      -  "terse",
      -  "full",
      -  "raw"
      -]New value: +[
      +  "terse",
      +  "medium",
      +  "full",
      +  "raw"
      +]
  2. Changed4 schema fields changedv16.0.0
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "terse",
      +  "description": "How much of the answer to return: \"terse\" (default, the fields you need to act), \"full\" (the whole parse), \"raw\" (the document as ADT sent it).",
      +  "enum": [
      +    "terse",
      +    "full",
      +    "raw"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / response_format / description
      Added value: +"Accepted for backward compatibility; no longer affects the answer, which is always the structured write result."
    • changedInput schema / properties / service_name / description
      Previous value: -"Published service name."New value: +"Published service name, from the binding. Required: an OData V2 publication job resolves the service by name and version and refuses without them. Ignored for V4, where the request names its target on its own."
    • changedInput schema / properties / service_version / description
      Previous value: -"Published service version. Optional."New value: +"Published service version. Default 0001. Used by an OData V2 publication job together with the service name; ignored for V4."
  3. Changed2 schema fields changedv6.5.1
    • addedInput schema / properties / binding_variant
      Added value: +{
      +  "default": "ODATA_V4_UI",
      +  "description": "Service binding variant. Determines OData version for publish/unpublish routing.",
      +  "enum": [
      +    "ODATA_V2_UI",
      +    "ODATA_V2_WEB_API",
      +    "ODATA_V4_UI",
      +    "ODATA_V4_WEB_API"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / service_type
      Removed value: -{
      -  "default": "ODataV4",
      -  "description": "OData service type for publish/unpublish action routing.",
      -  "enum": [
      -    "ODataV2",
      -    "ODataV4"
      -  ],
      -  "type": "string"
      -}
  4. Added

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and delivers little: it does not say what unpublishing does to consumers of the service, whether the operation is reversible or idempotent, what 'unchanged' does at runtime, or what permissions are needed. The only behavioral hints come from the schema's parameter descriptions, not the description itself.

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 front-loaded sentence with the action, the resource, its abbreviation, and the outcome — no filler, no repetition of schema content.

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 7-parameter mutation tool with no annotations and no output schema, the description covers purpose but omits side effects of unpublishing, idempotency, and how the publication state interacts with the binding variant. The rich schema compensates for parameter detail, but the write-side behavior remains under-described.

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 version-specific routing of service_name/service_version for V2 versus V4 and the detail/response_format semantics are already documented in the schema. The description adds no param-level meaning beyond the schema, so the baseline of 3 applies.

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 names a specific verb ('Updates') and resource ('publication state of an existing OData service binding (SRVB)') and clarifies the effect as 'publishing or unpublishing its service'. That is clearer than the name alone, though it does not distinguish itself from the close sibling ActivateServiceBinding, leaving publish-vs-activate ambiguous.

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 word 'existing' implies a binding must already be created (CreateServiceBinding) before use, and 'publication state' hints at state transitions. However, there is no explicit statement of when to choose this over ActivateServiceBinding or ValidateServiceBinding, and no prerequisites or exclusions are given.

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