Skip to main content
Glama
ivossos

FCCS MCP Agentic Server

by ivossos

generate_intercompany_matching_report

Generate intercompany matching reports in Oracle EPM Cloud FCCS to identify and resolve discrepancies between related entities during financial consolidation.

Instructions

Generate intercompany matching report / Gerar relatorio de correspondencia ICP

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
parametersNoReport parameters (scenario, year, period, etc.)

Implementation Reference

  • The main async handler function that executes the tool logic by delegating to the FCCS client to generate the intercompany matching report.
    async def generate_intercompany_matching_report(
        parameters: Optional[dict[str, Any]] = None
    ) -> dict[str, Any]:
        """Generate intercompany matching report / Gerar relatorio de correspondencia ICP.
    
        Args:
            parameters: Report parameters (scenario, year, period, etc.).
    
        Returns:
            dict: Job submission result.
        """
        result = await _client.generate_intercompany_matching_report(_app_name, parameters)
        return {"status": "success", "data": result}
  • The tool schema definition including name, description, and input schema for parameters.
    {
        "name": "generate_intercompany_matching_report",
        "description": "Generate intercompany matching report / Gerar relatorio de correspondencia ICP",
        "inputSchema": {
            "type": "object",
            "properties": {
                "parameters": {
                    "type": "object",
                    "description": "Report parameters (scenario, year, period, etc.)",
                },
            },
        },
    },
  • Registration of the tool handler in the agent's TOOL_HANDLERS dictionary.
    "generate_intercompany_matching_report": consolidation.generate_intercompany_matching_report,
  • Supporting client method that performs the actual HTTP POST to FCCS jobs endpoint with jobType INTERCOMPANYMATCHING.
    async def generate_intercompany_matching_report(
        self,
        app_name: str,
        parameters: Optional[dict[str, Any]] = None
    ) -> dict[str, Any]:
        """Generate intercompany matching report / Gerar relatorio ICP."""
        if self.config.fccs_mock_mode:
            return {"jobId": "501", "status": "Submitted", "jobType": "IntercompanyMatching"}
    
        payload = {"jobType": "INTERCOMPANYMATCHING", **(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