Skip to main content
Glama

Argocd Get Pod Logs

argocd_get_pod_logs
Read-onlyIdempotent

Fetch pod logs from Argo CD applications to troubleshoot container issues, filter lines, and review prior container instance logs.

Instructions

Get container logs (never follows). Returns lines with pod and timestamp, the pods seen, and a shown_lines count; stops at the stream's last marker.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoOwner kind, e.g. Deployment
nameYesApplication name; accepts namespace/name for apps-in-any-namespace
groupNoOwner API group
filterNoOnly lines containing this string
projectNoProject; with it a missing app is 404 and a wrong-project app is 403
pod_nameNoPod name; or pass kind + resource_name
previousNoLogs from the previous container instance
containerNoContainer name
namespaceNoPod namespace
match_caseNoCase-sensitive filter
tail_linesNoLines from the tail (0-1000)
app_namespaceNoOverride appNamespace; defaults to ARGOCD_APP_NAMESPACE
resource_nameNoOwner resource name
since_secondsNoOnly logs newer than N seconds

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and openWorld, so the safety profile is covered. The description adds real behavioral context beyond that: it 'never follows' (non-streaming), terminates at the stream's last marker, and reports pods seen plus a shown_lines count.

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

Conciseness4/5

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

Two tight sentences with no filler; the key constraint ('never follows') is front-loaded and the return-shape details follow. Efficient and well-ordered.

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?

For a 14-parameter tool, the schema fully documents every parameter and an output schema exists to cover the return shape, so the description does not need to. It supplements with the streaming/termination behavior, leaving it adequately complete.

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%, so all 14 parameters are already documented in the schema (including the pod_name vs kind+resource_name selector and the project 403/404 semantics). The description adds no parameter-level detail, 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 container logs') with an added behavioral qualifier ('never follows'). It is unambiguous, and no sibling tool covers logs, so there is little risk of confusion, though the description does not explicitly differentiate itself from any named sibling.

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?

There is no guidance on when to use this tool versus alternatives, nor any prerequisites or context. The usage is only implied by the resource name; an agent gets no routing help.

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