Skip to main content
Glama

Set dealer conditions

set_dealer_conditions
Idempotent

Individuelle Konditionen eines freigeschalteten Händlers (z. B. Großhändler) setzen – ersetzt alle bisherigen. Je Eintrag: art produkt (ziel = product_id) | serie (ziel = staffel_gruppe) | kategorie (ziel = category_id), staffel [{ab, rabatt %} oder {ab, preis = fester Stückpreis}], optional name/notiz (z. B. Vertragsstand). Die Menge zählt über alle Artikel derselben Kondition. Ist eine Stufe erreicht, ersetzt sie im Checkout Mengenstaffel und pauschalen Händlerrabatt für diese Positionen; darunter gilt alles wie bisher. Stufen ab 1 Stück erlaubt. [] = keine. Der Händler sieht sie im Shop. Nur Inhaber/Admins; vorher mit dem Menschen abstimmen.

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": {
      "dealer_id": "<dealer_id>",
      "konditionen": "<konditionen>"
    },
    "name": "set_dealer_conditions"
  }
}

Input Schema

NameRequiredDescriptionDefault
dealer_idYes
konditionenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, idempotent=true, destructive=false, openWorld=false) it discloses the full overwrite semantics ('ersetzt alle bisherigen'), how tiers interact with checkout quantity tiers and the flat dealer discount, that tiers from 1 unit are allowed, and that the dealer sees the result in the shop. It also flags the privileged-access and human-approval requirements, which the annotations do not carry.

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 overwrite semantics are front-loaded and nearly every sentence adds operational information, so density is justified. The downside is long run-on clauses typified by semicolons and pipes rather than a structured list, which makes the entry grammar slower to parse than it needs to be.

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 two-parameter, nested-array mutation tool with no output schema, the description covers prerequisites, access control, overwrite behavior, checkout effects, clearing, and visibility. It does not say what the response looks like or what happens if the dealer is not enabled or references are invalid, which an agent would need for error handling.

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

Parameters5/5

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

With 0% schema description coverage the description has to carry everything, and it does: it explains that 'ziel' means product_id for art=produkt, staffel_gruppe for art=serie and category_id for art=kategorie, spells out the staffel shape ({ab, rabatt %} or {ab, preis = fixed unit price}), the optional name/notiz, and that quantity aggregates across all items of the same condition. Only minor numeric constraints (e.g. percentage range) are left implicit.

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 states a specific verb and resource ('Individuelle Konditionen eines ... Händlers setzen') and immediately adds the crucial scope qualifier 'ersetzt alle bisherigen'. No sibling tool in the list is a close alternative, and the entry grammar (art/ziel/staffel) makes the tool's function unmistakable 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 Guidelines4/5

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

It gives real operating context: the dealer must be 'freigeschaltet', only owners/admins may call it, and the agent should align with the human beforehand ('vorher mit dem Menschen abstimmen'), plus '[] = keine' as the way to clear. It never explicitly contrasts with an alternative tool, but no close alternative exists among the siblings.

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.

Resources