Skip to main content
Glama
akuity
by akuity

get_application_events

Retrieve deployment events for an ArgoCD application by name to monitor status and troubleshoot issues.

Instructions

get_application_events returns events for application by application name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applicationNameYes

Implementation Reference

  • Registration of the MCP tool 'get_application_events', including schema { applicationName: z.string() }, description, and inline handler that delegates to argocdClient.getApplicationEvents
    this.addJsonOutputTool( 'get_application_events', 'get_application_events returns events for application by application name', { applicationName: z.string() }, async ({ applicationName }) => await this.argocdClient.getApplicationEvents(applicationName) );
  • Inline handler function for the 'get_application_events' tool that calls the ArgoCD client's getApplicationEvents method
    async ({ applicationName }) => await this.argocdClient.getApplicationEvents(applicationName)
  • Input schema for the tool using Zod: applicationName as string
    { applicationName: z.string() },
  • Core implementation in ArgoCD client: fetches application events from ArgoCD API endpoint /api/v1/applications/{applicationName}/events and returns V1EventList
    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