Skip to main content
Glama

GetServiceBinding

Reads an OData service binding's active source or metadata, including package, responsible person, and description, in XML, JSON, or plain text.

Instructions

[read-only] Reads an OData service binding (SRVB) at its active version, with its binding definition, or its package (DEVC), person responsible and description, in the format asked.

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>"
    },
    "name": "GetServiceBinding"
  }
}

Input Schema

NameRequiredDescriptionDefault
partNoThe document to read: "source" (default) the source code, "metadata" the ADT metadata document (package, responsible, description, ...).source
response_formatNoPreferred response format. "json" requests JSON from endpoint, "xml" parses XML payload, "plain" returns raw text.xml
service_binding_nameYesService binding name. Case-insensitive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv20.1.0
    • addedInput schema / properties / part
      Added value: +{
      +  "default": "source",
      +  "description": "The document to read: \"source\" (default) the source code, \"metadata\" the ADT metadata document (package, responsible, description, ...).",
      +  "enum": [
      +    "source",
      +    "metadata"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changedv16.0.0
    • changedInput schema / properties / service_binding_name / description
      Previous value: -"Service binding name (for example: ZUI_MY_BINDING). Case-insensitive."New value: +"Service binding name. Case-insensitive."
  3. Added

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden; it does disclose the read-only nature via the '[read-only]' tag and the important constraint that only the active version is read (inactive drafts are out of scope). It says nothing about authorization requirements, error behavior for missing/unknown bindings, or response shape, so the disclosure is partial.

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

Conciseness4/5

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

A single front-loaded sentence with the read-only marker first and the resource/scope immediately after; nothing is redundant. Minor cost: the trailing phrase 'in the format asked' is vague and the enumerated contents read as a list rather than a crisp statement.

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 three-parameter read-only tool with a fully documented schema and no output schema, the description covers purpose and scope adequately, so nothing critical is missing to invoke it. It falls short on routing guidance relative to the many sibling Get*/ServiceBinding tools and on what happens for inactive or nonexistent bindings.

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% and two of three parameters are enums with documented values, so the schema does the heavy lifting and a baseline 3 applies. The description adds only loose natural-language equivalents ('binding definition', 'package (DEVC), person responsible', 'in the format asked') rather than any new syntax or default guidance.

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?

States a specific verb and resource — reads an OData service binding (SRVB) — plus the scope 'at its active version' and the contents it can return (binding definition, package, person responsible, description). It is clearly a read of a single named artifact, distinguishable from Activate/Create/Delete/UpdateServiceBinding siblings, though it never names an alternative.

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 description lists what can be read, which maps onto the 'part' enum, but gives no explicit when-to-use vs when-not guidance and does not point to GetServiceBindingPreviewUrl, GetServiceDefinition or version-diff siblings. An agent can infer it reads existing bindings but must discover the alternatives itself.

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