Skip to main content
Glama

get_wholesale_cart

Read-only

Get one returned basket with all positions (article no, quantity, unit, text, net price, price unit, EAN). Optional include_raw for the original XML/form data.

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": {
      "cart_id": "<cart_id>"
    },
    "name": "get_wholesale_cart"
  }
}

Input Schema

NameRequiredDescriptionDefault
cart_idYesID des Warenkorbs
include_rawNoOriginaldaten (XML/Formular) mitliefern

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds genuine value beyond that by disclosing the payload shape (article no, quantity, unit, text, net price, price unit, EAN) and clarifying that include_raw returns the original XML/form data rather than a computed view.

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?

Two tight sentences with the core action front-loaded and the optional flag trailing, which matches the required/optional split. The parenthetical field list is dense but earns its place as the only return-value documentation, given there is no output schema.

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?

With no output schema, the description correctly compensates by naming the fields returned, and both input parameters are accounted for. Nothing essential to invoking it correctly is missing, though a one-line note on behavior when the cart ID is unknown would close the remaining gap.

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 both parameters are already documented in the schema. The description's note about include_raw supplying 'the original XML/form data' only restates the schema, and cart_id is not discussed beyond the implied 'one basket' framing, 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?

States a specific verb and resource ('Get one returned basket with all positions') and enumerates the returned position fields, which makes single-cart retrieval clearly distinct from the list_wholesale_carts sibling. It stops short of naming that sibling explicitly, so differentiation is inferable rather than stated.

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: 'one returned basket' signals fetch-by-ID as opposed to listing, but the description never states when to prefer this over list_wholesale_carts or when include_raw is warranted. 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.