Skip to main content
Glama

GetServiceBindingPreviewUrl

Builds browser preview URLs for published service bindings and returns the OData service and $metadata URLs. Identifies the entity set needed and reports missing details for opening the service.

Instructions

[read-only] Build the browser URL that previews a published service binding, and the service and $metadata URLs beside it. Answers: "open the service in a browser", "preview this service binding", "what is the OData URL of this binding". Reads the binding for the service, version and protocol, and the service definition for the entity sets; the preview URL needs an entity set, and the answer names what is missing. A Web API binding answers the service URLs alone. Runs outside batch mode.

Input Schema

NameRequiredDescriptionDefault
clientNoClient for the sap-client parameter. Omitted, the client the system reports is used; an empty string leaves the parameter out.
languageNoLogon language for the preview. Omitted, the language the system reports is used.
entity_setNoEntity set to open. Omitted, the first one the service definition exposes is used.
navigationNoAssociation or composition to follow. Omitted, the first one of the exposed root view is used.
target_entity_setNoEntity set the navigation reaches. Omitted, the second exposed entity set is used.
service_binding_nameYesService binding name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv16.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it declares read-only behavior, names the two internal reads it performs (binding, service definition), discloses the failure mode ('the answer names what is missing' when no entity set exists), and states the batch-mode restriction. It leaves out permission/prerequisite requirements and whether the URL is deterministic across calls.

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?

The core capability is front-loaded in the first sentence, followed by trigger phrases, mechanics, and the batch-mode caveat — every sentence carries information. A few clauses are telegraphic ('A Web API binding answers the service URLs alone.'), which costs little but keeps it short of flawless flow.

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 6-parameter read tool with no output schema, the description conveys the shape of the result (preview URL plus service and $metadata URLs) and how missing inputs are handled. Exact return structure and pagination/format details are unspecified, but an agent has enough to call it correctly and interpret the answer.

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% and each parameter already documents its default ('Omitted, the first one the service definition exposes'). The description only reinforces the entity-set dependency for preview URLs and implies the navigation/target_entity_set pairing, so it adds marginal value beyond the schema rather than new semantics — baseline 3.

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 first sentence gives a specific verb+resource ('Build the browser URL that previews a published service binding') and enumerates the companion outputs (service URL, $metadata URL). The quoted trigger phrases make it unmistakable versus sibling GetServiceBinding, which retrieves binding metadata rather than constructing URLs.

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?

The description supplies concrete when-to-use triggers ('open the service in a browser', 'what is the OData URL of this binding') plus a mode exclusion ('Runs outside batch mode') and a protocol-specific branch (Web API bindings return service URLs only). It never explicitly contrasts with GetServiceBinding/ValidateServiceBinding, so it stops short of full alternative routing.

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