Skip to main content
Glama
lukleh

mcp-read-only-argocd

by lukleh

get_application_logs

Retrieve logs from Argo CD application pods. Filter by namespace, pod, container, tail lines, or time range to diagnose issues.

Instructions

Get logs for an application's pods.

Args: connection_name: Name of the Argo CD connection name: Application name namespace: Optional namespace (defaults to application's namespace) pod_name: Optional specific pod name to get logs from container: Optional container name within the pod tail_lines: Number of lines from the end to return (e.g., 100) since_seconds: Return logs from the last N seconds

Returns: JSON string with log entries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
connection_nameYes
nameYes
namespaceNo
pod_nameNo
containerNo
tail_linesNo
since_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It mentions parameter defaults ('namespace defaults to application's namespace') but does not disclose whether the operation is read-only, error handling, authentication requirements, or effects like rate limits. The return type is stated as 'JSON string with log entries' but lacks details on log format or truncation.

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?

The description is succinct and well-structured: a one-line summary, followed by a clear Args list, and a Returns line. Every sentence adds value with no redundancy. It is front-loaded with the purpose.

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?

The description covers the tool's purpose and parameters adequately for a log retrieval tool. However, it lacks information on default behavior when optional parameters like pod_name are omitted (e.g., whether logs from all pods are returned) and does not clarify error scenarios or response format details. With an output schema present, return value details are partially covered, but behavioral edges remain.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate. It provides meaningful explanations for all 7 parameters, including defaults and examples (e.g., 'tail_lines: Number of lines from the end to return (e.g., 100)'). This significantly enriches understanding beyond the bare schema.

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

Purpose5/5

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

The description clearly states 'Get logs for an application's pods', which is a specific verb and resource. It distinguishes from sibling tools that retrieve other application details (e.g., get_application, get_application_managed_resources) or unrelated resources (e.g., get_cluster).

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

Usage Guidelines3/5

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

The description implies usage for fetching application logs but provides no explicit guidance on when to use this tool versus alternatives (e.g., when pod logs vs. application-level logs). No exclusions or context-specific conditions are given.

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

Install Server

Other Tools

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/lukleh/mcp-read-only-argocd'

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