GET https://symfony.srv-cbo.de/admin/dashboard

MCP Capabilities

Server aid

129 Tools
0 Prompts
0 Resources
0 Resource Templates

Tools 129

accounting_account_sheet_get

Description: Alias of accounting_ledger_get (Kontenblatt). Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingAccountSheetGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_accounts_get

Description: Get one Sachkonto by account_ident or kontenrahmen_ident+kontonummer. Full field set. Requires mcp:aid.accounting.accounts.read.

Handler: App\Mcp\Aid\AccountingAccountsGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

accounting_accounts_list

Description: Paginated Sachkonten list. Filters: kontenrahmen_ident, search, klasse, only_active, limit, offset/cursor. Requires mcp:aid.accounting.accounts.read.

Handler: App\Mcp\Aid\AccountingAccountsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_accounts_schema_get

Description: Field/options/validation matrix for Kontenpflege MCP incl. editable vs technical/derived and sync policy. Requires mcp:aid.accounting.accounts.read.

Handler: App\Mcp\Aid\AccountingAccountsSchemaGetTool::__invoke()

Parameters

Name Type Required Default Description

Full Schema

array:2 [
  "type" => "object"
  "properties" => {#803}
]

accounting_accounts_write_apply

Description: Apply prepared Master Kontenpflege (atomic). Requires prepare_token+plan_hash+normalized. Fail-closed write gate AID_MCP_ACCOUNTING_MASTER_WRITES_ENABLED + OAuth write scope. Does NOT run tenant sync. Requires mcp:aid.accounting.accounts.write.

Handler: App\Mcp\Aid\AccountingAccountsWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

accounting_accounts_write_prepare

Description: Prepare create|update|bulk_upsert for Master Sachkonten. Requires explicit kontenrahmen_ident. Returns prepare_token+plan_hash+normalized+diffs. Next: accounting_accounts_write_apply. No persist. Requires mcp:aid.accounting.accounts.read + master tenant.

Handler: App\Mcp\Aid\AccountingAccountsWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

accounting_balance_sheet_get

Description: Bilanz with completeness flags (synthetic P/L possible). Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingBalanceSheetGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_bank_connections_list

Description: Bank connections with masked IBAN. Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingBankConnectionsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_bank_statement_get

Description: Single bank statement (sanitized). Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingBankStatementGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_bank_statements_list

Description: Bank statement rows for connection_id. Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingBankStatementsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_cash_accounts_list

Description: Active cash payment accounts. Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingCashAccountsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_cashbook_bookings_list

Description: Cashbook-context bookings (partial filter). Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingCashbookBookingsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_charts_list

Description: List all Kontenrahmen (charts). Optional only_active (default true). Requires mcp:aid.accounting.accounts.read.

Handler: App\Mcp\Aid\AccountingChartsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_classes_list

Description: List Kontenklassen for a chart. Prefer kontenrahmen_ident; tenants may omit to use accounting.scheme. Requires mcp:aid.accounting.accounts.read.

Handler: App\Mcp\Aid\AccountingClassesListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_eur_get

Description: EÜR (grouped P/L path). Optional cost_center_ids. Marked partial. Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingEurGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_guv_get

Description: GuV via existing FinancialReportsReadService. Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingGuvGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_income_expense_get

Description: Einnahmen/Ausgaben (ungrouped P/L). Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingIncomeExpenseGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_journal_get

Description: Booking head + all lines with konto/person/cost-center refs, storno links. Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingJournalGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_journal_list

Description: Paginated booking journal (heads). Filters: period_key, status, booking_type, date_from/to, konto_number, search, context. Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingJournalListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_ledger_get

Description: Kontenblatt / account ledger with opening/closing and lines (decimal strings). year+month|period_key + account_id|ident|kontonummer. Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingLedgerGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_member_credit_balances_get

Description: Person Getränkeguthaben opening/deposits/consumptions/payouts/corrections/closing. person_id required. Modes: as_of alone (cumulative); period_from/period_to; or year+month (0=full year, 1..12=calendar month). Conflicting closing dates → invalid_params. Scope member_credit.read.

Handler: App\Mcp\Aid\AccountingMemberCreditBalancesGetTool::__invoke()

Parameters

Name Type Required Default Description
person_id integer Yes - -
as_of string No Closing date Y-m-d (cumulative when no period window)
year integer No -
month integer No Month 0..12 (0=01.01–31.12; 1..12=first–last day of month)
period_from string No -
period_to string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:6 [
    "person_id" => array:2 [
      "type" => "integer"
      "minimum" => 1
    ]
    "as_of" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Closing date Y-m-d (cumulative when no period window)"
    ]
    "year" => array:2 [
      "type" => "integer"
      "default" => null
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0=01.01–31.12; 1..12=first–last day of month)"
    ]
    "period_from" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "period_to" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "person_id"
  ]
]

accounting_member_credit_balances_list

Description: Paginated Getränkeguthaben balances (person-level). Optional as_of or year/month (month 0 = year end). Scope mcp:aid.accounting.member_credit.read. Never nets with fees.

Handler: App\Mcp\Aid\AccountingMemberCreditBalancesListTool::__invoke()

Parameters

Name Type Required Default Description
as_of string No Closing date Y-m-d
year integer No Fiscal year; with month maps to as_of
month integer No Month 0..12 (0 = full year end)
limit integer No -
offset integer No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:5 [
    "as_of" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Closing date Y-m-d"
    ]
    "year" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Fiscal year; with month maps to as_of"
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0 = full year end)"
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 200
    ]
    "offset" => array:3 [
      "type" => "integer"
      "default" => null
      "minimum" => 0
    ]
  ]
]

accounting_member_credit_reconciliation_get

Description: Person aggregate vs Fibu account+CC; unassigned lines. Optional as_of or year/month. Scope member_credit.read.

Handler: App\Mcp\Aid\AccountingMemberCreditReconciliationGetTool::__invoke()

Parameters

Name Type Required Default Description
as_of string No -
year integer No -
month integer No Month 0..12 (0 = full year end)
unassigned_limit integer No -
unassigned_offset integer No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:5 [
    "as_of" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "year" => array:2 [
      "type" => "integer"
      "default" => null
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0 = full year end)"
    ]
    "unassigned_limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 200
    ]
    "unassigned_offset" => array:3 [
      "type" => "integer"
      "default" => null
      "minimum" => 0
    ]
  ]
]

accounting_member_credit_summary_get

Description: Aggregate Getränkeguthaben summary. Optional as_of or year/month. Scope member_credit.read.

Handler: App\Mcp\Aid\AccountingMemberCreditSummaryGetTool::__invoke()

Parameters

Name Type Required Default Description
as_of string No -
year integer No -
month integer No Month 0..12 (0 = full year end)

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:3 [
    "as_of" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "year" => array:2 [
      "type" => "integer"
      "default" => null
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0 = full year end)"
    ]
  ]
]

accounting_member_fees_get

Description: Person membership fees detail + attributed OPs/clearings. person_id. Scope member_fees.read.

Handler: App\Mcp\Aid\AccountingMemberFeesGetTool::__invoke()

Parameters

Name Type Required Default Description
person_id integer Yes - -
year integer No -
month integer No Month 0..12 (0 = full year); scopes OP origin booking dates
cost_center_ids array No -
revenue_konto_numbers array No -
require_attribution_filters boolean No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:6 [
    "person_id" => array:2 [
      "type" => "integer"
      "minimum" => 1
    ]
    "year" => array:2 [
      "type" => "integer"
      "default" => null
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0 = full year); scopes OP origin booking dates"
    ]
    "cost_center_ids" => array:3 [
      "type" => "array"
      "default" => null
      "items" => array:1 [
        "type" => "integer"
      ]
    ]
    "revenue_konto_numbers" => array:3 [
      "type" => "array"
      "default" => null
      "items" => array:1 [
        "type" => "string"
      ]
    ]
    "require_attribution_filters" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "person_id"
  ]
]

accounting_member_fees_list

Description: Membership fee overview (expected current fee + filter-scoped OP). Scopes member_fees.read. No PBCD hardcoding.

Handler: App\Mcp\Aid\AccountingMemberFeesListTool::__invoke()

Parameters

Name Type Required Default Description
limit integer No -
offset integer No -
only_active boolean No -
year integer No -
month integer No Month 0..12 (0 = full year); scopes OP origin booking dates
cost_center_ids array No Cost center ids for same-line AND attribution
revenue_konto_numbers array No Revenue konto numbers for same-line AND attribution
require_attribution_filters boolean No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:8 [
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 200
    ]
    "offset" => array:3 [
      "type" => "integer"
      "default" => null
      "minimum" => 0
    ]
    "only_active" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
    "year" => array:2 [
      "type" => "integer"
      "default" => null
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0 = full year); scopes OP origin booking dates"
    ]
    "cost_center_ids" => array:4 [
      "type" => "array"
      "default" => null
      "description" => "Cost center ids for same-line AND attribution"
      "items" => array:1 [
        "type" => "integer"
      ]
    ]
    "revenue_konto_numbers" => array:4 [
      "type" => "array"
      "default" => null
      "description" => "Revenue konto numbers for same-line AND attribution"
      "items" => array:1 [
        "type" => "string"
      ]
    ]
    "require_attribution_filters" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
  ]
]

accounting_member_fees_reconciliation_get

Description: Fee↔OP↔Fibu reconciliation; requires attribution filters or returns unsupported. Independent revenue + SuSa debitor subsidiary. Scope member_fees.read.

Handler: App\Mcp\Aid\AccountingMemberFeesReconciliationGetTool::__invoke()

Parameters

Name Type Required Default Description
year integer No -
month integer No Month 0..12 (0 = full year)
cost_center_ids array No -
revenue_konto_numbers array No -
require_attribution_filters boolean No -
only_active boolean No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:6 [
    "year" => array:2 [
      "type" => "integer"
      "default" => null
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0 = full year)"
    ]
    "cost_center_ids" => array:3 [
      "type" => "array"
      "default" => null
      "items" => array:1 [
        "type" => "integer"
      ]
    ]
    "revenue_konto_numbers" => array:3 [
      "type" => "array"
      "default" => null
      "items" => array:1 [
        "type" => "string"
      ]
    ]
    "require_attribution_filters" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
    "only_active" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
  ]
]

accounting_member_fees_summary_get

Description: Aggregate membership fee totals. Optional year/month metadata. Scope member_fees.read.

Handler: App\Mcp\Aid\AccountingMemberFeesSummaryGetTool::__invoke()

Parameters

Name Type Required Default Description
year integer No -
month integer No Month 0..12 (0 = full year)
only_active boolean No -
cost_center_ids array No -
revenue_konto_numbers array No -
require_attribution_filters boolean No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:6 [
    "year" => array:2 [
      "type" => "integer"
      "default" => null
    ]
    "month" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Month 0..12 (0 = full year)"
    ]
    "only_active" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
    "cost_center_ids" => array:3 [
      "type" => "array"
      "default" => null
      "items" => array:1 [
        "type" => "integer"
      ]
    ]
    "revenue_konto_numbers" => array:3 [
      "type" => "array"
      "default" => null
      "items" => array:1 [
        "type" => "string"
      ]
    ]
    "require_attribution_filters" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
  ]
]

accounting_open_balance_get

Description: Open balance sum for personenkonto. Requires mcp:aid.accounting.open_items.read.

Handler: App\Mcp\Aid\AccountingOpenBalanceGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_open_items_get

Description: Open item detail including clearings. Requires mcp:aid.accounting.open_items.read.

Handler: App\Mcp\Aid\AccountingOpenItemsGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_open_items_list

Description: Open items list with pagination; optional as_of (partial). Requires mcp:aid.accounting.open_items.read.

Handler: App\Mcp\Aid\AccountingOpenItemsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_periods_get

Description: Period by period_key. Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingPeriodsGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_periods_list

Description: Read-only booking periods (no get-or-create). Requires mcp:aid.accounting.journal.read.

Handler: App\Mcp\Aid\AccountingPeriodsListTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_personenkonten_get

Description: Personenkonto detail + open balance. Requires mcp:aid.accounting.open_items.read.

Handler: App\Mcp\Aid\AccountingPersonenkontenGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_personenkonten_search

Description: Personenkonto autocomplete search. Requires mcp:aid.accounting.open_items.read.

Handler: App\Mcp\Aid\AccountingPersonenkontenSearchTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_reconciliation_hints_get

Description: SuSa/Bilanz reconciliation hints facade. Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingReconciliationHintsGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

accounting_trial_balance_get

Description: Summen- und Saldenliste (SuSa) via FinancialReportsReadService. Requires mcp:aid.accounting.reports.read.

Handler: App\Mcp\Aid\AccountingTrialBalanceGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object No [] -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:2 [
      "type" => "object"
      "default" => []
    ]
  ]
]

aid_health

Description: Read-only AID MCP health/capabilities probe. Returns process metadata plus non-secret tenant_key/environment isolation labels; no business or person data.

Handler: App\Mcp\Aid\AidHealthTool::__invoke()

Parameters

Name Type Required Default Description

Full Schema

array:2 [
  "type" => "object"
  "properties" => {#802}
]

article_creation_plan_validate

Description: Read-only dry-run validation of a structured article creation plan (duplicates, provenance, org/AG/PG, product_group_pricing, targeted questions). Technical create default=complex ≠ fachliche Typwahl. Requires mcp:aid.itemdata.items.read. No writes/persist/apply.

Handler: App\Mcp\Aid\ArticleCreationPlanValidateTool::__invoke()

Parameters

Name Type Required Default Description
plan object Yes - Versioned plan DTO (idents, typed_payload, provenance, fingerprint)

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "plan" => array:2 [
      "type" => "object"
      "description" => "Versioned plan DTO (idents, typed_payload, provenance, fingerprint)"
    ]
  ]
  "required" => array:1 [
    0 => "plan"
  ]
]

article_creation_workflow_get

Description: Read-only versioned KI guide for CBO article creation (gates, questions, MCP tool map). Technical create default=complex; fachliche type choice is independent. Requires mcp:aid.itemdata.items.read. No writes.

Handler: App\Mcp\Aid\ArticleCreationWorkflowGetTool::__invoke()

Parameters

Name Type Required Default Description

Full Schema

array:2 [
  "type" => "object"
  "properties" => {#801}
]

article_group_sub_items_get

Description: Read article-group → linked-item sub-item assignments (idents only). Does not calculate; simulate selected_sub_items stays ignored. Requires mcp:aid.itemdata.article_groups.read.

Handler: App\Mcp\Aid\ArticleGroupSubItemsGetTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "article_group_ident"
  ]
]

article_groups_get

Description: Get one article group by ident (allowlist, no options/rules). Requires mcp:aid.itemdata.article_groups.read.

Handler: App\Mcp\Aid\ArticleGroupsGetTool::__invoke()

Parameters

Name Type Required Default Description
ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "ident"
  ]
]

article_groups_list

Description: List article groups (allowlist). Requires mcp:aid.itemdata.article_groups.read and area itemdata_artikelgruppen_list view.

Handler: App\Mcp\Aid\ArticleGroupsListTool::__invoke()

Parameters

Name Type Required Default Description
query string No Optional search over ident/name
limit integer No -
cursor string No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:3 [
    "query" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Optional search over ident/name"
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
]

article_groups_write_apply

Description: Apply after article_groups_write_prepare. Sequence: 1) article_groups_write_prepare({"name":"AG Demo","manufacturer_ident":"<producer org ident>"}) 2) article_groups_write_apply with prepare_token + plan_hash + (normalized|name). Do not send prepare_token alone. Schau in den Ablauf: article_groups_write_prepare / article_groups_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: article_groups.write, area edit, write gate, MCP-Datenpflege aktiv. Fail-closed when locked.

Handler: App\Mcp\Aid\ArticleGroupsWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

article_groups_write_prepare

Description: Read-only prepare for article_groups. Returns prepare_token + plan_hash + normalized for article_groups_write_apply. Minimal payload example: {"name":"AG Demo","manufacturer_ident":"<producer org ident>"}. Next: article_groups_write_apply (not token-alone). Schau in den Ablauf: article_groups_write_prepare. manufacturer_ident must be isProducer. Requires mcp:aid.itemdata.article_groups.read. No persist.

Handler: App\Mcp\Aid\ArticleGroupsWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

article_knowledge_get

Description: Read-only fetch of one CBO Article Knowledge v1 chapter by chapter_id (e.g. easy, complex, mcp-matrix). Requires mcp:aid.itemdata.items.read. No writes.

Handler: App\Mcp\Aid\ArticleKnowledgeGetTool::__invoke()

Parameters

Name Type Required Default Description
chapter_id string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "chapter_id" => array:1 [
      "type" => "string"
    ]
  ]
  "required" => array:1 [
    0 => "chapter_id"
  ]
]

article_knowledge_list

Description: Read-only index of CBO Article Knowledge v1 chapters for LLMs (AK-01). Use article_knowledge_get for one chapter. Requires mcp:aid.itemdata.items.read. No writes.

Handler: App\Mcp\Aid\ArticleKnowledgeListTool::__invoke()

Parameters

Name Type Required Default Description

Full Schema

array:2 [
  "type" => "object"
  "properties" => {#800}
]

article_knowledge_search

Description: Read-only RAG search over versioned CBO Article Knowledge Markdown (synonym-expanded full-text). Returns bounded snippets with chapter_id, version, source_path, verification_status. Requires mcp:aid.itemdata.items.read. No writes; does not invent formulas.

Handler: App\Mcp\Aid\ArticleKnowledgeSearchTool::__invoke()

Parameters

Name Type Required Default Description
query string Yes - Search query (novice terms OK; max 200 chars)
topic string No Optional topic/chapter hint (e.g. kennung-provision, complex)
top_k integer No Max hits 1..10; default 5

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "query" => array:2 [
      "type" => "string"
      "description" => "Search query (novice terms OK; max 200 chars)"
    ]
    "topic" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Optional topic/chapter hint (e.g. kennung-provision, complex)"
    ]
    "top_k" => array:5 [
      "type" => "integer"
      "default" => null
      "description" => "Max hits 1..10; default 5"
      "minimum" => 1
      "maximum" => 10
    ]
  ]
  "required" => array:1 [
    0 => "query"
  ]
]

article_options_write_apply

Description: Apply after article_options_write_prepare. Sequence: 1) article_options_write_prepare({"op":"upsert_option_master","article_group_ident":"<ag ident>","name":"Option Demo"}) 2) article_options_write_apply with prepare_token + plan_hash + (normalized|op). Do not send prepare_token alone. Schau in den Ablauf: cbo_article_maintenance_workflow_get / article_options_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: AID_MCP_ARTICLE_WRITES_ENABLED + OAuth + options.write + Datenpflege. No images.

Handler: App\Mcp\Aid\ArticleOptionsWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

article_options_write_prepare

Description: Read-only prepare for article_options (5f27.6). Returns prepare_token + plan_hash + normalized for article_options_write_apply. Minimal payload example: {"op":"upsert_option_group","article_group_ident":"<ag ident>","name":"Innenliegende Jalousie"}. Reorder example: {"op":"reorder_complex_option_groups","item_ident":"IT…","ordered_option_group_idents":["AOG…","AOG…"]} (complete permutation of attached groups). Next: article_options_write_apply. Schau in den Ablauf: cbo_article_maintenance_workflow_get. Ops attach_complex_option_group|update_complex_option_group|reorder_complex_option_groups|attach_complex_option|detach_complex_option|configure_complex_option|save_complex_option_calc|upsert_option_group|upsert_option_master|upsert_option_mapping|option_price. No images. Requires options.read. No persist.

Handler: App\Mcp\Aid\ArticleOptionsWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

article_pricing_models_get

Description: Read-only guide of CBO pricing models easy/complex/service/merged/flex with required fields, validity, QM/crosstab, options, product_group_pricing_get. Create default complex ≠ fachliche Empfehlung. Requires mcp:aid.itemdata.pricing.read. No writes.

Handler: App\Mcp\Aid\ArticlePricingModelsGetTool::__invoke()

Parameters

Name Type Required Default Description

Full Schema

array:2 [
  "type" => "object"
  "properties" => {#799}
]

article_pricing_write_apply

Description: Apply after article_pricing_write_prepare. Sequence: 1) article_pricing_write_prepare({"op":"easy_price","item_ident":"<item ident>","valid_from":"2026-01-01","amount":"10.00"}) 2) article_pricing_write_apply with prepare_token + plan_hash + (normalized|op). Do not send prepare_token alone. Schau in den Ablauf: cbo_article_maintenance_workflow_get / article_pricing_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: AID_MCP_ARTICLE_WRITES_ENABLED + OAuth + pricing.write + Datenpflege.

Handler: App\Mcp\Aid\ArticlePricingWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

article_pricing_write_prepare

Description: Read-only prepare for article_pricing. Returns prepare_token + plan_hash + normalized for article_pricing_write_apply. Minimal payload example: {"op":"easy_price","item_ident":"<item ident>","valid_from":"2026-01-01","amount":"10.00"}. Next: article_pricing_write_apply (not token-alone). Schau in den Ablauf: cbo_article_maintenance_workflow_get. easy_price|complex_purchase_price|complex_config. Validity required; no invented values. Crosstable/QM/variant blocked. Requires pricing.read. No persist.

Handler: App\Mcp\Aid\ArticlePricingWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

article_service_structure_get

Description: Read service Flächenbereiche, material lines (formulas/factors), time lines (Monteurgruppen) and effective hourly-rate groups for one service article. Independent full readback after prepare/apply. Requires mcp:aid.itemdata.items.read. Calc via item_calculation_simulate → ServiceCalculator (no second engine).

Handler: App\Mcp\Aid\ArticleServiceStructureGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

articles_delete_apply

Description: Apply after articles_delete_prepare. Calls the same ItemDeleteService as Admin UI (transactional final preflight + exclusive media cleanup). Sequence: articles_delete_preflight → articles_delete_prepare({"item_ident":"IT…","explicit_approval":true}) → articles_delete_apply with prepare_token + plan_hash + normalized. Gates: AID_MCP_ARTICLE_WRITES_ENABLED + OAuth + items.write + Datenpflege. One-shot JTI. Shared masters untouched.

Handler: App\Mcp\Aid\ArticlesDeleteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

articles_delete_preflight

Description: Read-only delete preflight for a CBO article. Returns can_delete, sparse blockers (code/message/count), planned_cleanup counts, revision. Shared masters (options/QM/price tables/groups) are never deleted. Example: {"item_ident":"IT…"}. Next for delete: articles_delete_prepare with explicit_approval=true. Requires items.read. No persist.

Handler: App\Mcp\Aid\ArticlesDeletePreflightTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

articles_delete_prepare

Description: Read-only prepare for irreversible article hard-delete. Requires explicit_approval=true and a deletable item (same domain preflight as UI). Returns prepare_token + plan_hash + normalized for articles_delete_apply. Example: {"item_ident":"IT…","explicit_approval":true}. Fail-closed on voucher/preset/subitem/merged/service/stock blockers. Requires items.read. No persist.

Handler: App\Mcp\Aid\ArticlesDeletePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

articles_get

Description: Get one article by ident (allowlist, no prices). Requires mcp:aid.itemdata.items.read.

Handler: App\Mcp\Aid\ArticlesGetTool::__invoke()

Parameters

Name Type Required Default Description
ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "ident"
  ]
]

articles_list

Description: List articles (allowlist, no prices). Requires mcp:aid.itemdata.items.read.

Handler: App\Mcp\Aid\ArticlesListTool::__invoke()

Parameters

Name Type Required Default Description
query string No -
article_group_ident string No -
type string No -
limit integer No -
cursor string No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:5 [
    "query" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "article_group_ident" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "type" => array:3 [
      "type" => "string"
      "default" => null
      "enum" => array:5 [
        0 => "easy"
        1 => "complex"
        2 => "service"
        3 => "flex"
        4 => "merged"
      ]
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
]

articles_write_apply

Description: Apply after articles_write_prepare. Sequence: 1) articles_write_prepare({"op":"create","type":"complex","name":"Demo Article","organisation_ident":"<supplier ident>","article_group_ident":"<ag ident>"}) 2) articles_write_apply with prepare_token + plan_hash + (normalized|op). Do not send prepare_token alone. Schau in den Ablauf: article_creation_workflow_get / articles_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: AID_MCP_ARTICLE_WRITES_ENABLED (+ SERVICE_MERGED for service|merged) + OAuth + items.write + Datenpflege. One-shot JTI. No image writes.

Handler: App\Mcp\Aid\ArticlesWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

articles_write_prepare

Description: Read-only prepare for articles. Returns prepare_token + plan_hash + normalized for articles_write_apply. Minimal payload example: {"op":"create","type":"complex","name":"Demo Article","organisation_ident":"<supplier ident>","article_group_ident":"<ag ident>"}. Next: articles_write_apply (not token-alone). Schau in den Ablauf: article_creation_workflow_get. create easy|complex or update_basics. organisation_ident=Stammlieferant. Nested prices/options/images forbidden. Requires items.read. No persist.

Handler: App\Mcp\Aid\ArticlesWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

basedata_select_options_get

Description: Read-only allowed select values for allowlisted basedata fields (same BasedataSelectlist source as CBO UI /admin/api/selectlists). Params: area (e.g. people) + field (anrede|gender|funktion). Returns value/label/is_system; empty selection allowed. Requires mcp:aid.basedata.people.read + people area view. No invented values; unknown area/field rejected.

Handler: App\Mcp\Aid\BasedataSelectOptionsGetTool::__invoke()

Parameters

Name Type Required Default Description
area string Yes - -
field string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "area" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "field" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:2 [
    0 => "area"
    1 => "field"
  ]
]

cbo_article_maintenance_workflow_get

Description: Read-only versioned article-maintenance workflow (phases, tool map, schema, markdown). Optional version + section=full|phases|tool_map|aliases|schema|markdown. Requires mcp:aid.itemdata.items.read. No writes.

Handler: App\Mcp\Aid\CboArticleMaintenanceWorkflowGetTool::__invoke()

Parameters

Name Type Required Default Description
version string No Workflow version; default 1.0.0
section string No full|phases|tool_map|aliases|schema|markdown

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:2 [
    "version" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Workflow version; default 1.0.0"
    ]
    "section" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "full|phases|tool_map|aliases|schema|markdown"
    ]
  ]
]

complex_pricing_get

Description: Complex pricing refs + purchase_prices. Requires mcp:aid.itemdata.pricing.read.

Handler: App\Mcp\Aid\ComplexPricingGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -
as_of string No Y-m-d; omit/null = today for easy; omit = all purchase rows for complex

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "as_of" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Y-m-d; omit/null = today for easy; omit = all purchase rows for complex"
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

composer_logo_get

Description: Fetch a registered composer logo by logo_id including content_base64 (PNG alpha preserved).

Handler: App\Mcp\Aid\ComposerLogoGetTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

composer_logo_register

Description: Register a staged JPEG/PNG as durable manufacturer logo (organisation_ident + staging_id from item_image_stage_upload). SHA dedupe per manufacturer. PNG transparency kept on disk. Then use logo_id in item_image_compose_preview.

Handler: App\Mcp\Aid\ComposerLogoRegisterTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

composer_logos_list

Description: List manufacturer-bound composer logos. Prefer organisation_ident filter. Optional cross_manufacturer / include_unassigned / query. No automatic logo pick.

Handler: App\Mcp\Aid\ComposerLogosListTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

data_job_apply

Description: Apply after data_job_prepare. Sequence: 1) data_job_prepare({"operations":[{"tool":"article_options_write_prepare","payload":{"op":"\u2026"}}]}) 2) data_job_apply with prepare_token + plan_hash + (job_id). Do not send prepare_token alone. First call: plan_hash required (no silent omit); resume: job_id only. Schau in den Ablauf: data_job_status / data_job_prepare. Example apply payload: {"job_id":"<from prepare>","prepare_token":"<from prepare (first call)>","plan_hash":"<from prepare (first call)>"}. Gates: AID_MCP_ARTICLE_WRITES_ENABLED + OAuth + options.write + Datenpflege. Bounded chunk per call.

Handler: App\Mcp\Aid\DataJobApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

data_job_prepare

Description: Read-only prepare for data_job. Returns prepare_token + plan_hash + normalized for data_job_apply. Minimal payload example: {"operations":[{"tool":"article_options_write_prepare","payload":{"op":"\u2026"}}]}. Next: data_job_apply (not token-alone). Schau in den Ablauf: data_job_status. Phase1 article_options ops. Validates operations; returns job_id+prepare_token+dry_run. Requires options.read. No domain persist.

Handler: App\Mcp\Aid\DataJobPrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

data_job_status

Description: Read progress/counters and per-operation results for a data job_id. Requires mcp:aid.itemdata.options.read. Person/tenant bound.

Handler: App\Mcp\Aid\DataJobStatusTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

easy_pricing_get

Description: Easy price versions with stable id, validFrom/validUntil, EK/VK, status and as_of activeId/activeValidFrom. Use id in article_pricing_write easy_price updates. Requires mcp:aid.itemdata.pricing.read.

Handler: App\Mcp\Aid\EasyPricingGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -
as_of string No Y-m-d; omit/null = today for easy; omit = all purchase rows for complex

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "as_of" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Y-m-d; omit/null = today for easy; omit = all purchase rows for complex"
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

item_calculation_schema_get

Description: Simulation input schema for an item (no engine run). Requires mcp:aid.itemdata.calculation.read.

Handler: App\Mcp\Aid\ItemCalculationSchemaGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

item_calculation_simulate

Description: Read-only calculation via CalculationService (no persist). Requires mcp:aid.itemdata.calculation.read. selected_sub_items ignored in v1.

Handler: App\Mcp\Aid\ItemCalculationSimulateTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -
width number No Width mm; null/omit → engine default
height number No Height mm
depth number No Depth mm
amount number No Quantity; default 1
calculationDate string No Y-m-d; omit = today
kennung integer No Discount key / kennung
option_group object No Map option_group_ident → option_ident
selected_sub_items object No Ignored in v1 (SubItems follow-up)

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:9 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "width" => array:3 [
      "type" => "number"
      "default" => null
      "description" => "Width mm; null/omit → engine default"
    ]
    "height" => array:3 [
      "type" => "number"
      "default" => null
      "description" => "Height mm"
    ]
    "depth" => array:3 [
      "type" => "number"
      "default" => null
      "description" => "Depth mm"
    ]
    "amount" => array:3 [
      "type" => "number"
      "default" => null
      "description" => "Quantity; default 1"
    ]
    "calculationDate" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Y-m-d; omit = today"
    ]
    "kennung" => array:3 [
      "type" => "integer"
      "default" => null
      "description" => "Discount key / kennung"
    ]
    "option_group" => array:3 [
      "type" => "object"
      "default" => null
      "description" => "Map option_group_ident → option_ident"
    ]
    "selected_sub_items" => array:3 [
      "type" => "object"
      "default" => null
      "description" => "Ignored in v1 (SubItems follow-up)"
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

item_complex_option_calc_rules_get

Description: Read complex-item calc rules resolved for calculation_date (pricing_version or fallback). elseActive is terminal on first non-match in the engine. Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\ItemComplexOptionCalcRulesGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -
calculation_date string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "calculation_date" => array:3 [
      "type" => "string"
      "default" => null
      "pattern" => "^\d{4}-\d{2}-\d{2}$"
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

item_image_compose_preview

Description: Merge staged product into CBO EE layout. REQUIRES exactly one of logo_id, logo_staging_id, or no_logo=true (no automatic Würth/first-logo fallback). logo_staging_id must carry organisation_ident (from stage_upload or composer_logo_register) matching article manufacturer. Payload: item_ident, staging_id (product), layout=ee, plus logo choice. Returns composed staging_id, logo_source, preview thumb. Next: item_image_write_prepare/apply.

Handler: App\Mcp\Aid\ItemImageComposePreviewTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

item_image_display_get

Description: Read article image display config: image_selection_mode (static|option), image_option_group, document_flags (show_image / offer / order / delivery / invoice / cashbook), gallery with visibility_option_ident, and option_mappings for the selected group. Reuses Admin UI/DB fields. Requires mcp:aid.itemdata.items.read. Writes via item_image_write_prepare ops set_display_mode|set_document_flags|set_option_image_mapping (img01.2).

Handler: App\Mcp\Aid\ItemImageDisplayGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

item_image_get

Description: Fetch one article image as content_base64 (MCP transport for ChatGPT). variant=thumb|full. Requires mcp:aid.itemdata.items.read.

Handler: App\Mcp\Aid\ItemImageGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -
image_key string Yes - Document filename key from item_images_list
variant string No thumb Default thumb

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "image_key" => array:4 [
      "type" => "string"
      "description" => "Document filename key from item_images_list"
      "minLength" => 1
      "maxLength" => 128
    ]
    "variant" => array:4 [
      "type" => "string"
      "default" => "thumb"
      "description" => "Default thumb"
      "enum" => array:2 [
        0 => "thumb"
        1 => "full"
      ]
    ]
  ]
  "required" => array:2 [
    0 => "item_ident"
    1 => "image_key"
  ]
]

item_image_stage_upload

Description: Stage a client-selected product image (JPEG/PNG) for article assign. Ops: put (small base64), or begin→chunk→commit for larger images (max chunk b64 45000). Validates MIME/decode/pixels/SHA. Returns staging_id. Next: item_image_compose_preview then item_image_write_prepare/apply. Requires items.write + area edit. No article file attachment.

Handler: App\Mcp\Aid\ItemImageStageUploadTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

item_image_write_apply

Description: Apply after item_image_write_prepare. Requires prepare_token + plan_hash + normalized. Gates: AID_MCP_ARTICLE_WRITES_ENABLED + OAuth + items.write + Datenpflege + area edit. Consumes staging_id. Does not overwrite main without prior confirm_overwrite_main in prepare.

Handler: App\Mcp\Aid\ItemImageWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

item_image_write_prepare

Description: Prepare article image write (img01.2). Staging ops: attach_gallery|set_main (need staging_id). Display ops: set_display_mode {image_selection_mode:static|option, article_option_group_ident for option}; set_document_flags {flags:{show_image,show_image_in_offer,show_image_in_order,show_image_in_delivery,show_image_in_invoice,show_image_in_cashbook:bool}}; set_option_image_mapping {image_key,option_ident} or {image_key,clear:true}. Read first via item_image_display_get. Next: item_image_write_apply.

Handler: App\Mcp\Aid\ItemImageWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

item_images_list

Description: List article image metadata (image_key, main/role/unit_scope). No URLs/paths; use item_image_get for base64 bytes. Requires mcp:aid.itemdata.items.read.

Handler: App\Mcp\Aid\ItemImagesListTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

item_pdf_images_extract

Description: Extract embedded JPEG images from an article PDF into short-lived staging (no article write). Returns staging_id candidates for item_image_write_prepare. Requires items.read + Warengruppe on item. Does not auto-assign. Page rasterization unavailable without poppler/Imagick.

Handler: App\Mcp\Aid\ItemPdfImagesExtractTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -
file_name string No -
file_id integer No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "file_name" => array:3 [
      "type" => "string"
      "default" => null
      "maxLength" => 255
    ]
    "file_id" => array:2 [
      "type" => "integer"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

itemdata_schema_get

Description: Article metadata schema (flags/limits, no prices). Requires mcp:aid.itemdata.items.read.

Handler: App\Mcp\Aid\ItemdataSchemaGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

option_calc_profiles_get

Description: Get one article-group calc profile with rules/conditions as idents. Profile active is NOT engine-gated. Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionCalcProfilesGetTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string Yes - -
profile_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "profile_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:2 [
    0 => "article_group_ident"
    1 => "profile_ident"
  ]
]

option_calc_profiles_list

Description: List article-group calc profiles (engine-relevant Stammdaten). Profile active is NOT engine-gated. Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionCalcProfilesListTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string Yes - -
active boolean No -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:4 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "active" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "article_group_ident"
  ]
]

option_calc_profiles_write_apply

Description: Apply after option_calc_profiles_write_prepare. Sequence: 1) option_calc_profiles_write_prepare({"op":"upsert_calc_profile","article_group_ident":"<ag ident>","name":"Calc Demo"}) 2) option_calc_profiles_write_apply with prepare_token + plan_hash + (normalized). Do not send prepare_token alone. Schau in den Ablauf: option_calc_profiles_write_prepare / option_calc_profiles_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: AID_MCP_ARTICLE_WRITES_ENABLED + options.write + AG area edit + Datenpflege.

Handler: App\Mcp\Aid\OptionCalcProfilesWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

option_calc_profiles_write_prepare

Description: Read-only prepare for option_calc_profiles. Returns prepare_token + plan_hash + normalized for option_calc_profiles_write_apply. Minimal payload example: {"op":"upsert_calc_profile","article_group_ident":"<ag ident>","name":"Calc Demo"}. Next: option_calc_profiles_write_apply (not token-alone). Schau in den Ablauf: option_calc_profiles_write_prepare. upsert_calc_profile + nested rules via idents (full-replace). Requires options.read. No persist.

Handler: App\Mcp\Aid\OptionCalcProfilesWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

option_groups_get

Description: Get one option group mapped to an article group, with linked option idents/names. Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionGroupsGetTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string Yes - -
ident string Yes - -
option_limit integer No -
option_cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:4 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "option_limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "option_cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:2 [
    0 => "article_group_ident"
    1 => "ident"
  ]
]

option_groups_list

Description: List option groups mapped to an article group via OptionLink. Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionGroupsListTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string Yes - -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "article_group_ident"
  ]
]

option_pricing_get

Description: Read dated article-option pricing versions and as_of-resolved values (engine resolver). Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionPricingGetTool::__invoke()

Parameters

Name Type Required Default Description
option_ident string Yes - -
as_of string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "option_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "as_of" => array:3 [
      "type" => "string"
      "default" => null
      "pattern" => "^\d{4}-\d{2}-\d{2}$"
    ]
  ]
  "required" => array:1 [
    0 => "option_ident"
  ]
]

option_rules_get

Description: Get one UI option visibility rule (engine_enforced=false). Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionRulesGetTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string Yes - -
ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:2 [
    0 => "article_group_ident"
    1 => "ident"
  ]
]

option_rules_list

Description: List article-group UI option visibility rules (engine_enforced=false, kind=ui_visibility). Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionRulesListTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string Yes - -
active boolean No -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:4 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "active" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "article_group_ident"
  ]
]

option_rules_write_apply

Description: Apply after option_rules_write_prepare. Sequence: 1) option_rules_write_prepare({"op":"upsert_option_rule","article_group_ident":"<ag ident>",…}) 2) option_rules_write_apply with prepare_token + plan_hash + (normalized). Do not send prepare_token alone. Schau in den Ablauf: option_rules_write_prepare / option_rules_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: AID_MCP_ARTICLE_WRITES_ENABLED + options.write + AG area edit + Datenpflege. UI visibility only (engine_enforced=false).

Handler: App\Mcp\Aid\OptionRulesWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

option_rules_write_prepare

Description: Read-only prepare for option_rules (UI visibility AOR; engine_enforced=false). Returns prepare_token + plan_hash + normalized for option_rules_write_apply. Minimal payload example: {"op":"upsert_option_rule","article_group_ident":"<ag ident>","source_option_group_ident":"<aog>","target_option_group_ident":"<aog>","source_option_idents":["<aop>"],"allowed_target_option_idents":["<aop>"],"target_visibility_mode":"restrict_when_matched"}. Next: option_rules_write_apply (not token-alone). Schau in den Ablauf: option_rules_write_prepare. Ops: upsert_option_rule|set_option_rule_active|delete_option_rule. Requires options.read. No persist.

Handler: App\Mcp\Aid\OptionRulesWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

options_list

Description: List article-group or global options (XOR). Requires mcp:aid.itemdata.options.read.

Handler: App\Mcp\Aid\OptionsListTool::__invoke()

Parameters

Name Type Required Default Description
article_group_ident string No Article group ident (XOR with scope=global)
scope string No Use global for global options (XOR)
limit integer No -
cursor string No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:4 [
    "article_group_ident" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Article group ident (XOR with scope=global)"
    ]
    "scope" => array:4 [
      "type" => "string"
      "default" => null
      "description" => "Use global for global options (XOR)"
      "enum" => array:1 [
        0 => "global"
      ]
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
]

organisations_get

Description: Get one organisation by ident (allowlist fields only). Requires scope mcp:aid.basedata.orgs.read and area basedata_organisations_list view.

Handler: App\Mcp\Aid\OrganisationsGetTool::__invoke()

Parameters

Name Type Required Default Description
ident string Yes - Organisation ident

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "ident" => array:4 [
      "type" => "string"
      "description" => "Organisation ident"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "ident"
  ]
]

organisations_list

Description: List supplier/producer organisations (allowlist fields only). Requires scope mcp:aid.basedata.orgs.read and area basedata_organisations_list view.

Handler: App\Mcp\Aid\OrganisationsListTool::__invoke()

Parameters

Name Type Required Default Description
query string No Optional search over ident/name; empty = unfiltered
role string No any Role filter; default any
active boolean No Optional active filter
limit integer No Page size 1..100; default 50
cursor string No Opaque pagination cursor

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:5 [
    "query" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Optional search over ident/name; empty = unfiltered"
    ]
    "role" => array:4 [
      "type" => "string"
      "default" => "any"
      "description" => "Role filter; default any"
      "enum" => array:3 [
        0 => "supplier"
        1 => "producer"
        2 => "any"
      ]
    ]
    "active" => array:3 [
      "type" => "boolean"
      "default" => null
      "description" => "Optional active filter"
    ]
    "limit" => array:5 [
      "type" => "integer"
      "default" => null
      "description" => "Page size 1..100; default 50"
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:3 [
      "type" => "string"
      "default" => null
      "description" => "Opaque pagination cursor"
    ]
  ]
]

organisations_write_apply

Description: Apply after organisations_write_prepare. Sequence: 1) organisations_write_prepare({"name":"Demo Lieferant","is_supplier":true}) 2) organisations_write_apply with prepare_token + plan_hash + (normalized|name). Do not send prepare_token alone. Schau in den Ablauf: organisations_write_prepare / organisations_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: mcp:aid.basedata.orgs.write, area edit, write gate, MCP-Datenpflege aktiv. Fail-closed when locked.

Handler: App\Mcp\Aid\OrganisationsWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

organisations_write_prepare

Description: Read-only prepare for organisations. Returns prepare_token + plan_hash + normalized for organisations_write_apply. Minimal payload example: {"name":"Demo Lieferant","is_supplier":true}. Next: organisations_write_apply (not token-alone). Schau in den Ablauf: organisations_write_prepare. Requires mcp:aid.basedata.orgs.read. No persist. is_supplier Lieferant vs is_producer Hersteller.

Handler: App\Mcp\Aid\OrganisationsWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

people_accounts_list

Description: List bank accounts for a person. IBAN masked unless basedata_people_data_finance view. Requires mcp:aid.basedata.people.read.

Handler: App\Mcp\Aid\PeopleAccountsListTool::__invoke()

Parameters

Name Type Required Default Description
person_ident string Yes - -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "person_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "person_ident"
  ]
]

people_addresses_list

Description: List addresses for a person_ident. Requires mcp:aid.basedata.people.read.

Handler: App\Mcp\Aid\PeopleAddressesListTool::__invoke()

Parameters

Name Type Required Default Description
person_ident string Yes - -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "person_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "person_ident"
  ]
]

people_contacts_list

Description: List contacts for a person_ident. Requires mcp:aid.basedata.people.read.

Handler: App\Mcp\Aid\PeopleContactsListTool::__invoke()

Parameters

Name Type Required Default Description
person_ident string Yes - -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "person_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "person_ident"
  ]
]

people_correspondence_list

Description: List correspondence for a person (preview only). Requires mcp:aid.basedata.people.read + basedata_people_data_corres view.

Handler: App\Mcp\Aid\PeopleCorrespondenceListTool::__invoke()

Parameters

Name Type Required Default Description
person_ident string Yes - -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:3 [
    "person_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "person_ident"
  ]
]

people_get

Description: Get one person by ident (allowlist + org link + roles including is_supplier_employee). Requires mcp:aid.basedata.people.read.

Handler: App\Mcp\Aid\PeopleGetTool::__invoke()

Parameters

Name Type Required Default Description
ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "ident"
  ]
]

people_list

Description: List basedata people (allowlist). role=employee excludes Lieferantenmitarbeiter. Requires mcp:aid.basedata.people.read + basedata_people_list view.

Handler: App\Mcp\Aid\PeopleListTool::__invoke()

Parameters

Name Type Required Default Description
query string No -
role string No any -
active boolean No -
limit integer No -
cursor string No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:5 [
    "query" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "role" => array:3 [
      "type" => "string"
      "default" => "any"
      "enum" => array:5 [
        0 => "any"
        1 => "customer"
        2 => "employee"
        3 => "member"
        4 => "supplier_employee"
      ]
    ]
    "active" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
]

people_write_apply

Description: Apply after people_write_prepare. Sequence: 1) people_write_prepare({"op":"upsert_person","surname":"Muster","firstname":"Max","is_supplier_employee":true,"organisation_ident":"<supplier>"}) 2) people_write_apply with prepare_token + plan_hash + (normalized|op). Do not send prepare_token alone. Identity: data.person_ident/data.target_person_ident = mutation target; data.actor_person_ident, data.audit.actor_person_ident and meta.person_ident = authenticated MCP caller (DB lastUpdateUser). audit.person_ident is the actor alias (organisations parity). Schau in den Ablauf: people_write_prepare / people_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: AID_MCP_MASTERDATA_WRITES_ENABLED + mcp:aid.basedata.people.write + area edit + MCP-Datenpflege. Bank/correspondence ops need finance/corres area edit. Fail-closed when locked.

Handler: App\Mcp\Aid\PeopleWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

people_write_prepare

Description: Read-only prepare for people. Returns prepare_token + plan_hash + normalized for people_write_apply. Identity: data.target_person_ident = mutation target; data.actor_person_ident and meta.person_ident = authenticated MCP caller (audit actor). Do not treat meta.person_ident as the write target. Minimal payload example: {"op":"upsert_person","surname":"Muster","firstname":"Max","is_supplier_employee":true,"organisation_ident":"<supplier>"}. Ops: upsert_person|upsert_contact|upsert_address|upsert_account|upsert_correspondence. Next: people_write_apply (not token-alone). Schau in den Ablauf: people_write_prepare. Requires mcp:aid.basedata.people.read + MCP-Datenpflege. No persist.

Handler: App\Mcp\Aid\PeopleWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

price_tables_get

Description: Get price table identity + paginated cells. Requires mcp:aid.itemdata.price_tables.read.

Handler: App\Mcp\Aid\PriceTablesGetTool::__invoke()

Parameters

Name Type Required Default Description
kind string Yes - -
ident string Yes - -
cell_limit integer No Cell page size; default 100
cell_cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:4 [
    "kind" => array:2 [
      "type" => "string"
      "enum" => array:3 [
        0 => "crosstable"
        1 => "squaremeter"
        2 => "variant_matrix"
      ]
    ]
    "ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "cell_limit" => array:5 [
      "type" => "integer"
      "default" => null
      "description" => "Cell page size; default 100"
      "minimum" => 1
      "maximum" => 200
    ]
    "cell_cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:2 [
    0 => "kind"
    1 => "ident"
  ]
]

price_tables_list

Description: List price tables by kind (crosstable|squaremeter|variant_matrix). Requires mcp:aid.itemdata.price_tables.read.

Handler: App\Mcp\Aid\PriceTablesListTool::__invoke()

Parameters

Name Type Required Default Description
kind string Yes - -
query string No -
limit integer No -
cursor string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:4 [
    "kind" => array:2 [
      "type" => "string"
      "enum" => array:3 [
        0 => "crosstable"
        1 => "squaremeter"
        2 => "variant_matrix"
      ]
    ]
    "query" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
  "required" => array:1 [
    0 => "kind"
  ]
]

price_tables_write_apply

Description: Apply after price_tables_write_prepare. Sequence: 1) price_tables_write_prepare({"kind":"crosstable","op":"upsert_table","name":"Demo CT"}) 2) price_tables_write_apply with prepare_token + plan_hash + (normalized|kind). Do not send prepare_token alone. Schau in den Ablauf: price_tables_write_prepare / price_tables_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: price_tables.write + AID_MCP_PRICE_TABLES_WRITES_ENABLED + OAuth + Datenpflege.

Handler: App\Mcp\Aid\PriceTablesWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

price_tables_write_prepare

Description: Read-only prepare for price_tables. Returns prepare_token + plan_hash + normalized for price_tables_write_apply. Minimal payload example: {"kind":"crosstable","op":"upsert_table","name":"Demo CT"}. Next: price_tables_write_apply (not token-alone). Schau in den Ablauf: price_tables_write_prepare. crosstable|squaremeter|variant_matrix upsert_table|upsert_cells. Requires price_tables.read. No persist.

Handler: App\Mcp\Aid\PriceTablesWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

pricing_structure_get

Description: Item pricing structure layers (no engine). Requires mcp:aid.itemdata.pricing.read.

Handler: App\Mcp\Aid\PricingStructureGetTool::__invoke()

Parameters

Name Type Required Default Description
item_ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "item_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "item_ident"
  ]
]

product_group_pricing_get

Description: Read product-group factor/discount/surcharge rows (engine-relevant). Optional as_of selects active discount/surcharge. Requires mcp:aid.itemdata.product_groups.read.

Handler: App\Mcp\Aid\ProductGroupPricingGetTool::__invoke()

Parameters

Name Type Required Default Description
product_group_ident string Yes - -
as_of string No -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "product_group_ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
    "as_of" => array:3 [
      "type" => "string"
      "default" => null
      "pattern" => "^\d{4}-\d{2}-\d{2}$"
    ]
  ]
  "required" => array:1 [
    0 => "product_group_ident"
  ]
]

product_groups_get

Description: Get one product group by ident (allowlist). Requires mcp:aid.itemdata.product_groups.read.

Handler: App\Mcp\Aid\ProductGroupsGetTool::__invoke()

Parameters

Name Type Required Default Description
ident string Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "ident" => array:3 [
      "type" => "string"
      "minLength" => 1
      "maxLength" => 64
    ]
  ]
  "required" => array:1 [
    0 => "ident"
  ]
]

product_groups_list

Description: List product groups (allowlist, no pricing rows). Requires mcp:aid.itemdata.product_groups.read.

Handler: App\Mcp\Aid\ProductGroupsListTool::__invoke()

Parameters

Name Type Required Default Description
query string No -
limit integer No -
cursor string No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:3 [
    "query" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
]

product_groups_write_apply

Description: Apply after product_groups_write_prepare. Sequence: 1) product_groups_write_prepare({"name":"KF510"}) 2) product_groups_write_apply with prepare_token + plan_hash + (normalized|name|ident). Do not send prepare_token alone. Schau in den Ablauf: product_groups_write_prepare / product_groups_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: product_groups.write, area edit, write gate, MCP-Datenpflege aktiv. Fail-closed when locked.

Handler: App\Mcp\Aid\ProductGroupsWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

product_groups_write_prepare

Description: Read-only prepare for product_groups. Returns prepare_token + plan_hash + normalized for product_groups_write_apply. Minimal payload example: {"name":"KF510"}. Next: product_groups_write_apply (not token-alone). Schau in den Ablauf: product_groups_write_prepare. Optional factors/discounts/Teuerung. No invented values. Requires mcp:aid.itemdata.product_groups.read. No persist.

Handler: App\Mcp\Aid\ProductGroupsWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

product_type_groups_get

Description: Get one Produkttypen group by product_type_group_id (integer PK) including nested types. Requires mcp:aid.itemdata.product_types.read.

Handler: App\Mcp\Aid\ProductTypeGroupsGetTool::__invoke()

Parameters

Name Type Required Default Description
product_type_group_id integer Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "product_type_group_id" => array:2 [
      "type" => "integer"
      "minimum" => 1
    ]
  ]
  "required" => array:1 [
    0 => "product_type_group_id"
  ]
]

product_type_groups_list

Description: List Produkttypen groups (integer product_type_group_id, e.g. Fenstertypen). Requires mcp:aid.itemdata.product_types.read + area itemdata_produkttypen_data view.

Handler: App\Mcp\Aid\ProductTypeGroupsListTool::__invoke()

Parameters

Name Type Required Default Description
query string No -
limit integer No -
cursor string No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:3 [
    "query" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
  ]
]

product_types_get

Description: Get one Produkttyp by product_type_id (integer PK idpt_id). Requires mcp:aid.itemdata.product_types.read.

Handler: App\Mcp\Aid\ProductTypesGetTool::__invoke()

Parameters

Name Type Required Default Description
product_type_id integer Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "product_type_id" => array:2 [
      "type" => "integer"
      "minimum" => 1
    ]
  ]
  "required" => array:1 [
    0 => "product_type_id"
  ]
]

product_types_list

Description: List Produkttypen (integer product_type_id). Optional group_id filter. Never infer type from article name suffix. Requires mcp:aid.itemdata.product_types.read.

Handler: App\Mcp\Aid\ProductTypesListTool::__invoke()

Parameters

Name Type Required Default Description
group_id integer No -
query string No -
limit integer No -
cursor string No -
active_only boolean No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:5 [
    "group_id" => array:3 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
    ]
    "query" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "active_only" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
  ]
]

product_types_write_apply

Description: Apply after product_types_write_prepare. Sequence: 1) product_types_write_prepare({"op":"upsert_type","group_id":1,"name":"Demo Type"}) 2) product_types_write_apply with prepare_token + plan_hash + (normalized|op). Do not send prepare_token alone. Schau in den Ablauf: product_types_write_prepare / product_types_write_prepare. Example apply payload: {"prepare_token":"<from prepare>","plan_hash":"<from prepare>","normalized":"<from prepare.data.normalized>"}. Gates: AID_MCP_MASTERDATA_WRITES_ENABLED + product_types.write + area edit + MCP-Datenpflege. Fail-closed when locked.

Handler: App\Mcp\Aid\ProductTypesWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

product_types_write_prepare

Description: Read-only prepare for product_types. Returns prepare_token + plan_hash + normalized for product_types_write_apply. Minimal payload example: {"op":"upsert_type","group_id":1,"name":"Demo Type"}. Next: product_types_write_apply (not token-alone). Schau in den Ablauf: product_types_write_prepare. Ops upsert_group|upsert_type|delete_group|delete_type (integer PKs). Fail-closed on article refs. Requires product_types.read. No persist.

Handler: App\Mcp\Aid\ProductTypesWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

provisions_pricing_get

Description: Provision factor versions for one kennung (0..60) plus active for as_of. No PKs. Requires mcp:aid.itemdata.pricing.read.

Handler: App\Mcp\Aid\ProvisionsPricingGetTool::__invoke()

Parameters

Name Type Required Default Description
kennung integer Yes - -
as_of string No Y-m-d; omit = today

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:2 [
    "kennung" => array:3 [
      "type" => "integer"
      "minimum" => 0
      "maximum" => 60
    ]
    "as_of" => array:4 [
      "type" => "string"
      "default" => null
      "description" => "Y-m-d; omit = today"
      "pattern" => "^\d{4}-\d{2}-\d{2}$"
    ]
  ]
  "required" => array:1 [
    0 => "kennung"
  ]
]

provisions_pricing_list

Description: Active provision factor per kennung 0..60 for as_of (repo validFrom DESC). Requires mcp:aid.itemdata.pricing.read.

Handler: App\Mcp\Aid\ProvisionsPricingListTool::__invoke()

Parameters

Name Type Required Default Description
as_of string No Y-m-d; omit = today

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:1 [
    "as_of" => array:4 [
      "type" => "string"
      "default" => null
      "description" => "Y-m-d; omit = today"
      "pattern" => "^\d{4}-\d{2}-\d{2}$"
    ]
  ]
]

warengruppen_get

Description: Get one Warengruppe by warengruppe_id (integer PK). Includes path/hierarchy. Requires mcp:aid.itemdata.warengruppen.read.

Handler: App\Mcp\Aid\WarengruppenGetTool::__invoke()

Parameters

Name Type Required Default Description
warengruppe_id integer Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "warengruppe_id" => array:2 [
      "type" => "integer"
      "minimum" => 1
    ]
  ]
  "required" => array:1 [
    0 => "warengruppe_id"
  ]
]

warengruppen_list

Description: List Warengruppen (commodity groups; ≠ article_group ≠ product_group). Key=warengruppe_id int. Optional query/parent_id/active_only. Requires mcp:aid.itemdata.warengruppen.read.

Handler: App\Mcp\Aid\WarengruppenListTool::__invoke()

Parameters

Name Type Required Default Description
query string No -
limit integer No -
cursor string No -
parent_id integer No -
active_only boolean No -

Full Schema

array:2 [
  "type" => "object"
  "properties" => array:5 [
    "query" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "limit" => array:4 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
      "maximum" => 100
    ]
    "cursor" => array:2 [
      "type" => "string"
      "default" => null
    ]
    "parent_id" => array:3 [
      "type" => "integer"
      "default" => null
      "minimum" => 1
    ]
    "active_only" => array:2 [
      "type" => "boolean"
      "default" => null
    ]
  ]
]

warengruppen_write_apply

Description: Apply Warengruppen prepare stand. Requires prepare_token + plan_hash + normalized (or original fields). Sequence: warengruppen_write_prepare → this tool. Fail-closed on replay/lock. Requires mcp:aid.itemdata.warengruppen.write, area edit, masterdata write gate, MCP-Datenpflege aktiv.

Handler: App\Mcp\Aid\WarengruppenWriteApplyTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

warengruppen_write_prepare

Description: Prepare create/update for Warengruppen (nested-set). Create: {"name":"Demo","parent_id":null}. Update: {"warengruppe_id":6,"name":"KF310","active":true}. Returns prepare_token+plan_hash+normalized. Next: warengruppen_write_apply. Schau in den Ablauf: warengruppen_write_prepare. Requires mcp:aid.itemdata.warengruppen.read. No persist.

Handler: App\Mcp\Aid\WarengruppenWritePrepareTool::__invoke()

Parameters

Name Type Required Default Description
payload object Yes - -

Full Schema

array:3 [
  "type" => "object"
  "properties" => array:1 [
    "payload" => array:1 [
      "type" => "object"
    ]
  ]
  "required" => array:1 [
    0 => "payload"
  ]
]

Prompts 0

No prompts were registered.

Resources 0

No resources were registered.

Resource Templates 0

No resource templates were registered.