Skip to main content
Glama
horatiuvlad

oblio-mcp-server

by horatiuvlad

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBLIO_CIFNoDefault company CIF; can be changed at runtime with set_cif
OBLIO_API_EMAILYesOblio account email (Setari > Date Cont)
OBLIO_API_SECRETYesOblio API secret (Setari > Date Cont)
OBLIO_TOKEN_FILENoPath where the OAuth access token is persisted so it survives restarts (defaults to in-memory only)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
create_documentA

Issue a new fiscal document in Oblio: an invoice (factura), a proforma, or a delivery notice (aviz). Provide the document body (client, series, line items, dates). NOTE: Oblio has no draft state — the document is issued immediately. Pass an idempotencyKey to guard against accidental double-issue on retries.

get_documentA

Fetch a single document (invoice/proforma/notice) by its series name and number, including totals, status and a link.

list_documentsA

List documents of a given type, with optional filters: series, number, client, issue-date range, draft/cancelled flags, sorting and pagination.

cancel_documentA

Cancel (annul) a document. The document stays in Oblio marked as cancelled and can later be restored with restore_document.

restore_documentA

Restore a previously cancelled document back to its active state.

delete_documentA

Permanently delete a document. Oblio only allows deleting the last document in a series; prefer cancel_document for anything else.

collect_paymentA

Record a payment (incasare) against an existing invoice, identified by series name and number. The collect object specifies the payment method (Chitanta, Ordin de plata, Card, etc.) and optionally the amount and date; when no value is given the full remaining invoice amount is collected. Applies to invoices only.

get_nomenclaturesA

Fetch Oblio reference data: companies on the account, saved clients, products, VAT rates, document series, languages, or management units (gestiuni). Use this to discover valid values (e.g. series names, VAT rate names) before creating documents. Supports an optional name filter and extra query filters such as pagination offset.

create_einvoiceA

Submit an existing Oblio invoice to Romania's SPV (e-Factura). The invoice must already be issued in Oblio; this sends its XML to ANAF. The response includes an einvoice status: 0 = processing, 1 = success, 2 = errors, -1 = not sent.

get_einvoiceA

Fetch the SPV (e-Factura) status and archive for an invoice previously submitted with create_einvoice. Status codes: 0 = processing, 1 = success, 2 = errors, -1 = not sent.

set_cifA

Set the active company CIF used for all subsequent Oblio requests. Use this to switch between companies on the same Oblio account.

get_cifA

Return the company CIF currently used for Oblio requests.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/horatiuvlad/oblio-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server