Skip to main content
Glama
merit-aktiva-mcp

merit-aktiva-mcp

by roosa-dev

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MERIT_API_IDYesMerit Aktiva API id obtained from Settings → Common settings → API settings.
MERIT_API_KEYYesMerit Aktiva API key obtained from Settings → Common settings → API settings.
MERIT_BASE_URLNoOptional Merit Aktiva base URL. Default is https://aktiva.merit.ee; for Poland use https://program.360ksiegowosc.pl.https://aktiva.merit.ee
GOOGLE_CLIENT_IDNoGoogle OAuth client ID, needed for fetching purchase invoice attachments from Gmail.
GOOGLE_CLIENT_SECRETNoGoogle OAuth client secret, needed for fetching purchase invoice attachments from Gmail.
GOOGLE_REFRESH_TOKENNoGoogle OAuth refresh token with the gmail.readonly scope, needed for fetching purchase invoice attachments from Gmail.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_invoicesA

List sales invoices. Body: PeriodStart, PeriodEnd (yyyymmdd, max 3 months apart), optional UnPaid (bool), DateType (0=doc date, 1=changed date), BankId.

get_invoices_by_no_or_customerB

List sales invoices filtered by invoice number or customer. Body: InvoiceNo and/or Customer name filters.

get_invoiceB

Get one sales invoice with rows and payments. Body: Id (GUID), optional AddAttachment (bool).

create_invoiceA

Create a sales invoice (use negative Quantity/TotalAmount for credit invoice; invoices cannot be updated — delete and recreate). Body: Customer {Name, RegNo, CountryCode, ...}, InvoiceNo, DocDate, DueDate, InvoiceRow[] {Item {Code, Description, Type, UOMName}, Quantity, Price, TaxId}, TaxAmount[] {TaxId, Amount}, TotalAmount.

delete_invoiceA

DESTRUCTIVE: delete a sales invoice. Body: Id (GUID).

get_invoice_pdfA

Get sales invoice PDF as base64 (FileName + FileContent). Body: Id (GUID), optional DelivNote (bool).

email_invoiceB

Email a sales invoice to the customer. Body: Id (GUID of invoice, SIHId), optional DelivNote (bool).

get_purchase_invoicesB

List purchase invoices. Body: PeriodStart, PeriodEnd (yyyymmdd, max 3 months), optional UnPaid (bool), DateType (0=doc date, 1=changed).

get_purchase_invoiceC

Get one purchase invoice with rows and payments. Body: Id (GUID), optional SkipAttachment.

create_purchase_invoiceA

Create a purchase invoice (creates document + GL entry, bypasses approval flow — prefer create_purchase_invoice_for_approval). Body: Vendor {Name, RegNo, CountryCode, ...}, BillNo, DocDate, DueDate, InvoiceRow[], TaxAmount[], TotalAmount; optional Attachment (same forms as create_purchase_invoice_for_approval).

create_purchase_invoice_for_approvalA

Send a purchase invoice to the approval queue (Kinnitamata ostuarved); no GL entry until approved in Merit. Body: Vendor {Id or Name, VatAccountable, CountryCode, RegNo, VatRegNo}, DocDate, DueDate, BillNo (max 35), InvoiceRow[] {Item {Code, Description}, Quantity, Price, TaxId, optional GLAccountCode}, TotalAmount (excl. VAT), TaxAmount[] {TaxId, Amount}; optional RefNo, CurrencyCode, Hcomment, Attachment (PDF) as {FileName, FileContent (base64)} or by reference — {Url} (https download) or {GmailMessageId, optional GmailAttachmentId, optional FileName} (server fetches it from Gmail; without an id it picks the attachment named FileName, else the first PDF); ExpenseClaim (bool).

get_purchase_ordersA

List purchase invoices waiting approval (Kinnitamata ostuarved) / purchase orders. Body: PeriodStart, PeriodEnd (yyyymmdd), optional DateFilter (0=off, 1=doc date, 2=created date), StatusFilter (0=off), WithAttachments (bool).

delete_purchase_invoiceA

DESTRUCTIVE: delete a purchase invoice. Body: Id (GUID).

get_paymentsB

List payments. Body: PeriodStart, PeriodEnd (yyyymmdd, max 3 months), optional PaymentType (int), BankId (GUID), DateType.

get_payment_typesB

List payment types. Body: Type (int: 1=purchases, 2=expense reports, 3=sales).

create_sales_paymentB

Record a payment against a sales invoice. Body: CustomerName, InvoiceNo, PaymentDate, Amount, BankId or IBAN; optional CurrencyCode.

create_purchase_paymentB

Record a payment for a purchase invoice. Body: VendorName, BillNo, PaymentDate (YYYYmmddHHii), Amount, BankId or IBAN; optional CurrencyCode.

delete_paymentB

DESTRUCTIVE: delete a payment. Body: Id (GUID).

get_customersA

List/search customers. Body filters (empty = all, can be large): Id (GUID), RegNo, VatRegNo (exact), Name (partial), ChangedDate (yyyymmdd), WithComments, CommentsFrom.

create_customerC

Create a customer. Body: Name (unique, max 150), NotTDCustomer (bool), CountryCode (2 chars); optional RegNo, VatRegNo, Email, Address, PaymentDeadLine, ...

update_customerC

Update a customer. Body: Id (GUID) + fields to change.

get_customer_groupsB

List customer groups. Body: {} (empty).

create_customer_groupB

Create a customer group. Body: Id (GUID), Name (max 64), Code (max 20).

get_vendorsB

List/search vendors. Body filters: Id (GUID), RegNo, VatRegNo, Name, ChangedDate (yyyymmdd).

create_vendorB

Create a vendor. Body: Name (unique, max 150), VatAccountable (bool), CountryCode (2 chars).

update_vendorB

Update a vendor (v2 supports Dimensions). Body: Id (GUID) + fields to change.

get_vendor_groupsB

List vendor groups. Body: {} (empty).

create_vendor_groupB

Create a vendor group. Body: Id (GUID), Name (max 64), Code (max 20).

get_itemsB

List/search items. Body filters: Id, Code, Description; optional LocationCode, Usage, Type.

create_itemsB

Create items. Body: Items[] {Type (1=stock, 2=service, 3=item), Usage (1=sales, 2=purchases, 3=both), Code (max 20), Description (max 100), UOMName}.

update_itemC

Update an item. Body: Id (GUID) + fields to change.

get_item_groupsB

List item groups. Body: {} (empty).

create_item_groupsB

Create item groups. Body: ItemGroups[] {Code, Name}.

get_accountsC

Chart of accounts. Body: {} or UsageFilter (1=cost, 2=contra, 3=purchase VAT).

get_taxesA

List tax rates (TaxId values used on invoice rows). Body: {} (empty).

create_taxC

Create a tax (e.g. OSS). Body: TaxType (int, e.g. 12=OSS EU sale), CountryCode.

get_dimensionsB

List dimensions and their values. Body: AllValues (bool).

create_dimensionsB

Create dimensions. Body: Dimensions[] {Id, Name (max 50), Type (1=detail, 2=summary)}.

create_dimension_valuesB

Create or end-date dimension values. Body: Dimensions[] {DimId, DimValueCode, DimValueName, EndDate}.

get_departmentsB

List departments. Body: {} (empty).

get_projectsB

List projects (Code, Name, EndDate). Body: {} (empty).

get_cost_centersB

List cost centers. Body: {} (empty).

get_unitsB

List units of measure. Body: {} (empty).

create_unitC

Create a unit of measure. Body: Name, NamePlural (+ optional localized names).

get_banksB

List banks. Body: {} (empty).

get_financial_yearsB

List accounting periods / financial years. Body: {} (empty).

create_gl_batchA

Create a general ledger transaction batch. Body: DocNo (max 35), BatchDate, EntryRow[] {AccountCode, Debit, Credit, Description}.

get_gl_batchesB

List GL batches. Body: PeriodStart, PeriodEnd (yyyymmdd, max 3 months), DateType.

get_gl_batchA

Get one GL batch with entries. Body: Id (GUID), optional AddAttachment (bool).

get_gl_batches_fullA

GL batches with entries and cost allocations in one call. Body: PeriodStart, PeriodEnd (max 31 days), WithLines (0/1), WithCostAlloc (0/1), DateType.

get_offersA

List sales offers/quotes/orders/prepayment invoices. Body: PeriodStart, PeriodEnd (yyyymmdd, max 3 months), optional DateType, UnPaid.

get_offerB

Get one offer with rows. Body: Id (GUID).

create_offerC

Create a sales offer/quote/order. Body: OfferNo, Customer object, OfferRow[], TaxAmount[].

update_offerC

Update an existing offer. Body: OfferNo, DeliveryDate, HComment, FComment.

set_offer_statusC

Change offer status. Body: Id (GUID), NewStatus (int 1-5, 7), Comment (required for status 5).

offer_to_invoiceB

Convert an offer into a sales invoice. Body: Id (GUID of offer).

get_customer_debts_reportC

Customer debts report. Body: CustName or CustId (GUID), OverDueDays (int), optional DebtDate (yyyymmdd).

get_customer_payments_reportB

Customer payments report (paginated: response HasMore/Id4More, continue with get_more_data). Body: CustName or CustId, PeriodStart, PeriodEnd, CurrncyCode.

get_profit_reportB

Income statement (profit & loss). Body: EndDate (yyyymmdd), PerCount (months back), optional DepFilter.

get_balance_reportC

Balance sheet. Body: EndDate (yyyymmdd), PerCount (months).

get_inventory_reportC

Inventory report. Body: RepDate (yyyymmdd), optional Location, ArticleGroups[], ShowZero, WithReservations.

get_sales_reportC

Sales report. Body: StartDate, EndDate, ReportType (1-5: grouping).

get_purchase_reportC

Purchase report. Body: StartDate, EndDate, ReportType (1=invoices, 2=vendors, 3=articles, 4=fixed assets).

get_more_dataA

Continuation for paginated report responses. Body: Id (the Id4More value from a previous response with HasMore=true).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 64 tools

Disambiguation3/5

Most tools target a distinct resource/action, but there are several adjacent/overlapping list variants: get_invoices vs get_invoices_by_no_or_customer, get_gl_batches vs get_gl_batches_full, and get_purchase_invoices vs get_purchase_orders/approval lists. Descriptions help, but with 64 tools an agent still has to parse subtle differences between listing, full-listing, and report endpoints.

Naming Consistency4/5

The surface follows a largely predictable verb_noun snake_case convention: get_invoice, create_invoice, delete_invoice, get_customers, create_customer, etc. Minor deviations exist, such as plural create tools (create_items, create_item_groups, create_dimensions) and the _full suffix, but naming remains readable and mostly consistent.

Tool Count2/5

64 tools is very heavy for a single server, even for an ERP domain. Many endpoints are variants or convenience wrappers (full GL batch listing, pagination helper, multiple report/list styles), making the surface bloated rather than tightly scoped.

Completeness4/5

Coverage is broad across sales/purchase invoices, payments, customers, vendors, items, GL, offers, dimensions, and reports, so core accounting workflows are supported. There are still gaps such as delete/update for several master-data entities and no per-record getters for some resources, but agents can mostly work around them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues