Skip to main content
Glama

Debit Credits from Managed Account

ontouser_team_debit
Idempotent

Credits von einem VERWALTETEN Konto zurueck auf das EIGENE Konto abbuchen. Gegenstueck zu ontouser_team_transfer: dort fliesst Geld vom Manager zum Kunden, hier zurueck. Quelle ist immer das Kundenkonto aus ontouser_team_index, Ziel immer das eigene. reason und idempotency_key sind Pflicht (max 64 Zeichen); derselbe Schluessel liefert schon_gebucht=true statt doppelt zu buchen. Reicht das Guthaben des Kunden nicht: 409, und es wird NICHTS gebucht (keine Teilbuchung, kein Minus beim Kunden). Fuer Nachfuellen nimm ontouser_team_transfer. | EN: debit, deduct, take back credits, claw back, reverse top-up

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": {
      "profile_id": "<profile_id>",
      "credits": "<credits>",
      "reason": "<reason>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "ontouser_team_debit"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYesGrund der Abbuchung (Pflicht, erscheint im Ledger und im Aktionslog)
creditsYesAnzahl Credits, > 0 (Pflicht). Das Konto geht nie ins Minus.
profile_idYesVerwaltetes Konto, von dem abgebucht wird (Pflicht, aus ontouser_team_index)
idempotency_keyYesEindeutiger Schluessel pro Absicht, max 64 Zeichen. Derselbe Schluessel liefert schon_gebucht=true statt doppelt zu buchen.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true), the description discloses the failure contract: insufficient balance yields 409 and 'es wird NICHTS gebucht (keine Teilbuchung, kein Minus beim Kunden)'. It also explains idempotency behavior in concrete terms — the same key returns schon_gebucht=true rather than double-booking — which is exactly the kind of context annotations alone cannot convey.

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 key constraint (direction of money flow, source/target accounts) is front-loaded and the failure and idempotency rules follow logically. The bilingual format with a trailing English search-keyword list ('debit, deduct, take back credits, claw back, reverse top-up') is slightly redundant but does aid matching.

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 four-parameter mutation with no output schema, the description covers the essential decision points: direction, prerequisites, idempotency, and the 409/no-partial-booking failure mode. Only the broader response shape is left implicit, which is acceptable given the stated schon_gebucht marker.

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%, so all four parameters are already documented, including the 64-character limit and the meaning of reason in the ledger. The description reinforces that reason and idempotency_key are mandatory and that profile_id comes from ontouser_team_index, but adds no syntax or format detail beyond the schema; baseline 3 applies.

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 ('Credits von einem VERWALTETEN Konto ... abbuchen') and immediately contrasts it with the sibling ontouser_team_transfer ('dort fliesst Geld vom Manager zum Kunden, hier zurueck'). An agent can distinguish this from the top-up tool without opening either 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?

It gives explicit direction on when to use this versus the alternative: use this to claw back credits, and 'Fuer Nachfuellen nimm ontouser_team_transfer.' It also specifies where the source account comes from (ontouser_team_index) and that the destination is always the caller's own account, leaving no routing ambiguity.

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.