Skip to main content
Glama
ivossos

FCCS MCP Agentic Server

by ivossos

import_journals

Import consolidation journals into Oracle EPM Cloud FCCS to manage financial consolidation and close processes.

Instructions

Import consolidation journals / Importar diarios de consolidacao

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parametersNoImport parameters

Implementation Reference

  • The main handler function for the 'import_journals' MCP tool. It calls the underlying FCCS client to submit an import journals job and wraps the result in a success response.
    async def import_journals(
        parameters: Optional[dict[str, Any]] = None
    ) -> dict[str, Any]:
        """Import consolidation journals / Importar diarios de consolidacao.
    
        Args:
            parameters: Import parameters.
    
        Returns:
            dict: Job submission result.
        """
        result = await _client.import_journals(_app_name, parameters)
        return {"status": "success", "data": result}
  • The input schema definition for the 'import_journals' tool, specifying an optional 'parameters' object.
    {
        "name": "import_journals",
        "description": "Import consolidation journals / Importar diarios de consolidacao",
        "inputSchema": {
            "type": "object",
            "properties": {
                "parameters": {"type": "object", "description": "Import parameters"},
            },
        },
    },
  • Registration of the 'import_journals' handler in the central TOOL_HANDLERS dictionary used by the agent to dispatch tool calls.
    "import_journals": journals.import_journals,
  • Inclusion of journals.TOOL_DEFINITIONS (containing the schema) into the aggregated ALL_TOOL_DEFINITIONS list exposed to MCP.
    journals.TOOL_DEFINITIONS +
  • Underlying client method that performs the actual HTTP POST to FCCS /jobs endpoint with jobType 'IMPORTJOURNALS', called by the tool handler.
    async def import_journals(
        self,
        app_name: str,
        parameters: Optional[dict[str, Any]] = None
    ) -> dict[str, Any]:
        """Import journals / Importar lancamentos."""
        if self.config.fccs_mock_mode:
            return {"jobId": "602", "status": "Submitted", "jobType": "ImportJournals"}
    
        payload = {"jobType": "IMPORTJOURNALS", **(parameters or {})}
        response = await self._client.post(
            f"/{app_name}/jobs{self._get_query_params()}",
            json=payload
        )
        response.raise_for_status()
        return response.json()

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/ivossos/fccs-mcp-ag-server'

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