Skip to main content
Glama
Moenamatics

Opus MCP Server

by Moenamatics

get_job_audit_log

Retrieve detailed audit logs of all system actions performed during a specific job execution in Opus workflow automation.

Instructions

Get detailed audit log of all system actions during job execution

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobExecutionIdYesThe job execution ID to retrieve audit log for

Implementation Reference

  • The handler function that implements the get_job_audit_log tool by making an API GET request to `/job/{jobExecutionId}/audit` and returning the response data as formatted JSON text.
    private async getJobAuditLog(args: any) { const { jobExecutionId } = args; const response = await this.axiosInstance.get( `/job/${jobExecutionId}/audit` ); return { content: [ { type: "text", text: JSON.stringify(response.data, null, 2), }, ], }; }
  • Input schema defining the required 'jobExecutionId' parameter for the tool.
    inputSchema: { type: "object", properties: { jobExecutionId: { type: "string", description: "The job execution ID to retrieve audit log for", }, }, required: ["jobExecutionId"], },
  • src/index.ts:226-240 (registration)
    The tool registration entry in the listTools response, including name, description, and input schema.
    { name: "get_job_audit_log", description: "Get detailed audit log of all system actions during job execution", inputSchema: { type: "object", properties: { jobExecutionId: { type: "string", description: "The job execution ID to retrieve audit log for", }, }, required: ["jobExecutionId"], }, },
  • Switch case in the CallToolRequest handler that dispatches to the specific tool handler.
    case "get_job_audit_log": return await this.getJobAuditLog(args);

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/Moenamatics/Opus-MCP'

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