Skip to main content
Glama

Bps sync

bps_sync

BPS-Lager (Fulfillment BPS Germany) ins System holen: liest die BPS-API mit dem ApiKey der BPS-Integration des Shops (nie ausgegeben) und schreibt in die Taufnaus-Tabellen. umfang: 'bestand' (Vorgabe; GET /Stock -> aktueller Bestand + Snapshot im Bestandsverlauf, nur Aenderungen), 'artikel' (GET /Product -> Barcodes, SKU, Name, Packungsgroesse), 'auftraege' (GET /Order, neueste max_pages Seiten à ~100 Auftraege -> Auslieferungen je Barcode mit Versanddatum), 'voll' (alles, alle Auftragsseiten; dauert wegen 1 Aufruf/s mehrere Minuten — laeuft ohnehin taeglich 02:30 UTC per Cron). Idempotent. Schreibt nur in die eigene Datenbank, nie nach BPS.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bps_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
umfangNo
store_idNoShop mit BPS-Integration; leer = der einzige Shop im Zugriff mit BPS
max_pagesNonur bei 'auftraege': Seiten (Vorgabe 5, max 500)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior1/5

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

The description claims 'Idempotent', but the annotations set idempotentHint=false, directly contradicting that statement. It does add valuable behavior elsewhere (rate limit of 1 request/s, cron schedule, secret ApiKey never returned, writes only to its own DB and never back to BPS), but the idempotency claim conflicts with the structured contract an agent will rely on.

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 purpose and the credential/write target, then the modes, then the caveat about 'voll' duration. Dense in places (long parenthetical mode descriptions) but every clause carries operational information.

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?

No output schema exists, and the description covers what lands in the tables per mode, the credential source, duration and scheduled run. It omits failure behavior (API errors, partial runs) and what the call returns (counts vs. status), which matters for a multi-minute sync.

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 67%, and the description compensates by explaining what each enum value actually retrieves (Stock snapshot with change-only history, Product barcodes/SKU/pack size, Order pages into shipments per barcode with ship date). It also notes that max_pages applies only to 'auftraege', adding the semantics behind the bare enum list.

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: reads the BPS API (Stock/Product/Order) with the shop's BPS integration ApiKey and writes into the Taufnaus tables. The four 'umfang' modes each map to a concrete endpoint and dataset, so an agent can see exactly what the tool produces and how it differs from read-only siblings like bps_stock or bps_movements.

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?

Explicit about defaults ('bestand' = Vorgabe), what each mode pulls, and that 'voll' takes minutes because of the 1 call/s limit and already runs daily at 02:30 UTC via cron — clear guidance on when not to trigger a full run manually. It never names a sibling tool as an alternative for pure lookups, so routing against bps_stock/bps_movements is left implicit.

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