Skip to main content
Glama

Argocd Get Application Events

argocd_get_application_events
Read-onlyIdempotent

Retrieve Kubernetes events for an Argo CD application, newest first, to troubleshoot issues and inspect warnings; supports filters, paging, and 500-char message caps.

Instructions

Get Kubernetes events for an application, newest first, with messages capped at 500 chars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesApplication name; accepts namespace/name for apps-in-any-namespace
limitNoMax results to return (1-200)
offsetNoResult offset for paging
projectNoProject; with it a missing app is 404 and a wrong-project app is 403
resource_uidNoResource UID
app_namespaceNoOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
resource_nameNoFilter to one resource
warnings_onlyNoOnly Warning events
resource_namespaceNoResource namespace

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint and idempotentHint, so the safety profile is covered. The description adds real value beyond that: result ordering (newest first) and message truncation at 500 chars, which an agent could not know from annotations or schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that front-loads the core action and packs ordering plus truncation into the remainder. No filler, no repetition of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and annotations cover safety. The description covers ordering and truncation; the only omission is any guidance on paging (limit/offset) behavior or when this tool is the right choice, which is a minor gap for a read-only list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and nine parameters are documented in-schema, including the project 403/404 semantics and the app_namespace override. The description adds nothing about parameters, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get Kubernetes events for an application') and adds two distinguishing traits: ordering ('newest first') and message truncation ('capped at 500 chars'). It is clearly separable from log/resource siblings, though it never names a sibling to contrast against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use statement, no conditions, no alternatives. Nothing tells the agent whether to reach for this instead of argocd_get_pod_logs or argocd_get_resource when debugging an app; usage must be inferred from the tool name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.