Skip to main content
Glama
akuity
by akuity

get_application_events

Retrieve application events by application name using the argocd-mcp server. Streamline monitoring and troubleshooting with targeted event data.

Instructions

get_application_events returns events for application by application name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applicationNameYes

Implementation Reference

  • Registers the 'get_application_events' tool with description, input schema { applicationName: z.string() }, and handler lambda that delegates to argocdClient.getApplicationEvents.
    'get_application_events', 'get_application_events returns events for application by application name', { applicationName: z.string() }, async ({ applicationName }) => await this.argocdClient.getApplicationEvents(applicationName) ); this.addJsonOutputTool(
  • Inline handler function for the tool that calls the ArgoCD client's getApplicationEvents method.
    );
  • ArgoCD client method implementing the core logic: fetches application events from the ArgoCD API endpoint /api/v1/applications/{applicationName}/events and returns the event list.
    public async getApplicationEvents(applicationName: string) { const { body } = await this.client.get<V1EventList>( `/api/v1/applications/${applicationName}/events` ); return body; }

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/akuity/argocd-mcp'

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