Skip to main content
Glama

create_wholesale_shop_link

Destructive

Create a short-lived (2 h) link that opens the wholesaler's shop in the person's browser, logged in via IDS-Connect/OCI. The basket the person builds there comes back automatically (list_wholesale_carts) and is tied to project_ref (e.g. the clockin project id/number). Credentials are never in the link. IDS actions: WKE (open shop, return basket — default), ADL (article detail, needs article_no), WKS (send a stored basket to the shop to order it, needs cart_id), LI, SV. Hand the link to the person (chat, mail); do not open it yourself.

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": {
      "shop": "<shop>"
    },
    "name": "create_wholesale_shop_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
shopYesGroßhändler: provider (grosshandel_…), Kurzname oder Name aus list_wholesale_shops
actionNoIDS-Aktion WKE (Vorgabe), ADL, WKS, LI, SV
cart_idNoGespeicherter Warenkorb (für WKS)
article_noNoArtikelnummer des Händlers (für ADL)
project_refNoProjektbezug, z. B. clockin-Projekt-ID oder -Nummer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (non-read-only, open-world, non-idempotent, destructive), it discloses the 2-hour lifetime, the IDS-Connect/OCI login handoff, that credentials never travel in the link, that the basket returns automatically and is keyed to project_ref, and how the five action codes behave. That is material behavior an agent could not infer from structured fields.

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?

Front-loaded with the core action and lifetime, then mechanics, then handoff instruction; nearly every sentence carries information. Slightly dense, and the bare 'LI, SV' enumeration adds ambiguity rather than clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description makes clear what the tool yields (a short-lived link) and what happens downstream (basket returns via list_wholesale_carts, tied to project_ref). For a five-parameter open-world link creator this covers everything needed to call it correctly.

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 baseline is 3, but the description adds real meaning: the action codes are expanded into functional semantics and their parameter dependencies (ADL→article_no, WKS→cart_id) are stated, and project_ref is given a concrete example. LI and SV are listed without explanation, which keeps it from a 5.

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 and resource ('Create a short-lived (2 h) link that opens the wholesaler's shop') with the auth mechanism and scope. An agent can distinguish it from link-creation siblings like create_connect_link and from list_wholesale_carts without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells the agent what to do with the result ('Hand the link to the person (chat, mail); do not open it yourself') and how to pick an action (WKE default, ADL needs article_no, WKS needs cart_id). It also names list_wholesale_carts as where the resulting basket appears.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.