Skip to main content
Glama
akuity
by akuity

get_application_resource_tree

Retrieve the resource tree for an ArgoCD application by specifying its name to visualize and manage Kubernetes resources.

Instructions

get_application_resource_tree returns resource tree for application by application name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applicationNameYes

Implementation Reference

  • The core handler function that fetches the ArgoCD application resource tree via HTTP GET to the /resource-tree API endpoint.
    public async getApplicationResourceTree(applicationName: string) { const { body } = await this.client.get<V1alpha1ApplicationTree>( `/api/v1/applications/${applicationName}/resource-tree` ); return body; }
  • MCP tool registration using addJsonOutputTool, including input schema validation with Zod and handler callback that delegates to ArgoCDClient.
    'get_application_resource_tree', 'get_application_resource_tree returns resource tree for application by application name', { applicationName: z.string() }, async ({ applicationName }) => await this.argocdClient.getApplicationResourceTree(applicationName) );
  • Zod input schema for the tool: requires 'applicationName' as string.
    { applicationName: z.string() },

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