Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLUIG_HOSTYesURL base do portal, com esquema e porta
FLUIG_PASSYesSenha desse login
FLUIG_USERYesLogin do Fluig

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
fluig_pingA

Check authentication and session against the configured Fluig server.

fluig_dataset_listA

List datasets on the server (id + type). Optional substring filter over id and description.

fluig_dataset_getA

Return the source code of a CUSTOM dataset.

fluig_dataset_runB

Run a dataset (form-backed or custom) and return its rows.

fluig_dataset_structureA

Return a dataset's structure (columns and types) WITHOUT running it — useful to learn the schema before composing a query.

fluig_dataset_saveB

Create or update a CUSTOM dataset. The code runs on the server under Rhino, so it must be ES5 (no let/const, arrow functions or template literals).

fluig_dataset_deleteC

DESTRUCTIVE. Delete a CUSTOM dataset from the server. Also how this server cleans up its own throwaway datasets.

fluig_form_listB

List forms (documentId, version, description, dataset). Optional substring filter.

fluig_form_eventsB

Return a form's customisation events (displayFields, validateForm, enableFields, ...) with their source.

fluig_form_filesB

List the file names (HTML/JS/CSS/images) that make up a form.

fluig_form_fileB

Return the text content of one file of a form.

fluig_form_fullA

Read a whole form: metadata, every file and every event. Do this before editing or publishing.

fluig_form_saveA

Publish a form as a new (revertible) version. The API REPLACES the whole set, so send ALL files and events — read it with fluig_form_full first and change only what you need.

fluig_globalevent_listB

List the server's global events.

fluig_globalevent_saveB

Create or update a global event.

fluig_db_queryA

Run a SELECT against the Fluig database through a throwaway dataset. Read-only (SELECT/WITH only). Reaches any table, including event_proces, DEF_PROCES and the FDN_* metadata.

fluig_rm_db_queryA

Run a SELECT directly against the TOTVS RM database, when Fluig has a datasource for it. Read-only (SELECT/WITH only).

fluig_rm_queryA

Query TOTVS RM through the stored-SQL bridge dataset: a registered statement code plus branch (CODCOLIGADA) and application (CODAPLICACAO). Read-only. The columns the statement returns must be declared.

fluig_rm_db_execA

WRITE. Run INSERT/UPDATE/DELETE against the TOTVS RM database. Note that the RM datasource is often configured read-only, in which case the supported write path is the RM DataServer API instead.

fluig_process_export_xmlA

Download a process definition as .ecm30.xml. It contains everything: activities (ProcessState), transitions (ProcessLink), fields and the source of every process event.

fluig_process_events_xmlA

Read process events (beforeStateEntry, afterTaskCreate, afterProcessFinish, ...) with their source, straight from the definition XML. This is the authoritative copy — no add-on widget and no database access needed.

fluig_process_versionsA

List the versions of a process (number, bound form, whether it is still in edition). Use before withdrawing or deleting a version.

fluig_process_versionC

Active version of a process (SOAP).

fluig_process_formidB

Return the documentId of the form bound to a process.

fluig_process_imageA

Return the flow diagram of a process (URL or base64, depending on the server).

fluig_process_searchB

Search processes by text. Set favorite=true to return only the user's favourites.

fluig_process_availableA

List the processes the logged-in user is allowed to start.

fluig_deploy_listA

List the processes available for export/deploy (SOAP WorkflowEngineService). Useful to validate a deploy with a round trip.

fluig_process_event_getA

Read the source of a process event from the event_proces table. Legacy path — prefer fluig_process_events_xml, which reads the authoritative definition.

fluig_process_event_set_xmlA

WRITE. Set the source of a process event through the supported path: export the definition XML, patch the event, re-import. Produces a NEW, revertible version and passes server-side validation. Try dryRun=true first.

fluig_process_import_xmlA

WRITE, STRUCTURAL. Deploy a process definition (.ecm30.xml) over the v2 REST API. One call replaces the SOAP sequence createWorkFlowProcessVersion -> importProcess -> releaseProcess. Validate with a round trip (export, then import unchanged) before trusting it.

fluig_deploy_processA

WRITE, STRUCTURAL. Deploy a process definition over SOAP WorkflowEngineService (importProcess + releaseProcess). Alternative to fluig_process_import_xml for servers that do not expose the v2 REST route.

fluig_process_version_withdrawA

WRITE. Withdraw a process version — the inverse of release, and how a bad deploy is rolled back. Also mandatory before deleting a released version.

fluig_process_version_deleteA

DESTRUCTIVE. Delete a process version (withdraw it first if released). Deleting the LAST version removes the entire process definition.

fluig_process_diagram_setA

WRITE. Replace the SVG diagram of a process version. Required after changing the topology in the XML, otherwise the published drawing no longer matches the flow.

fluig_process_event_setA

DEPRECATED, WRITE. Patch a process event in place in the event_proces table, keeping a backup of the previous source. Bypasses server-side validation and does not create a new version — prefer fluig_process_event_set_xml.

fluig_process_statesC

List the valid target states (choosedState) from an instance's current state.

fluig_process_states_detailA

Target states with name and type from the current state — richer than fluig_process_states.

fluig_process_active_statesB

List the states an instance currently sits on.

fluig_process_actual_threadC

Return the current thread of a given state sequence of an instance.

fluig_process_card_getA

Read the WHOLE card of a running instance as {field: value}. Do this before fluig_process_move, because moving REPLACES the card.

fluig_process_card_valueA

Read a single card field of a running instance.

fluig_process_historyA

Full movement history of an instance: who moved it, when, from and to which activity, with comments.

fluig_process_attachmentsB

List the attachments of an instance.

fluig_process_available_usersC

Users eligible to receive the task at a given state of a running instance.

fluig_process_available_users_startA

Users eligible to receive the first task when starting a process.

fluig_user_replacementsA

List configured user replacements — who answers for whom, and for how long. Explains why a task landed on someone else.

fluig_process_startA

WRITE. Start a process instance. cardData holds the form fields; choosedState is the target state when the start activity completes. The configured user needs the start role.

fluig_process_moveA

WRITE. Save and move an existing instance. cardData REPLACES the card — send every field that must survive or it is wiped. Call fluig_process_take first if the task belongs to a pool.

fluig_process_takeA

WRITE. Take ownership of a task — required for pool/role tasks before moving them.

fluig_process_cancelB

WRITE. Cancel/close a running instance.

fluig_workflow_checkA

Check whether the optional FluiggersWidget add-on is installed. Not required: the fluig_process_*_xml tools cover process events on a stock server.

fluig_workflow_events_getA

Read a process's events through the FluiggersWidget add-on. Requires the widget; fluig_process_events_xml does not.

fluig_workflow_events_updateA

WRITE. Set a process's events through the FluiggersWidget add-on. Requires the widget; fluig_process_event_set_xml does not and is versioned.

fluig_rest_getB

Escape hatch: authenticated GET against any path of the Fluig API.

fluig_rest_postA

Escape hatch: authenticated POST against any path. body is a JSON string; set form=true for x-www-form-urlencoded.

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/alucardigo/fluig-mcp'

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