Skip to main content
Glama

Get CaaS pod logs

get_caas_pod_logs
Read-only

Retrieve logs from a Kubernetes pod in a specified CaaS namespace and zone to diagnose issues or monitor container output.

Instructions

[READ] OpenAPI: GET /api/v1/namespaces/{namespace}/pods/{name}/log

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
zoneYesCaaS zone from OpenAPI servers, e.g. ir-tbz-sh1 (Shahriar) or ir-thr-ba1 (Bamdad)
namespaceYesKubernetes namespace / project name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.3

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the '[READ]' prefix adds nothing. The description discloses nothing beyond the annotations — no note on log retention, container selection, tail/since behavior, or what happens when the pod has multiple containers.

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

Conciseness2/5

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

It is short, but that brevity is under-specification rather than conciseness — the single fragment carries no actionable content beyond the endpoint string, so no sentence earns its place in a useful way.

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

Completeness2/5

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

For a log-retrieval tool with no output schema and only two annotations, the description should at minimum say what is returned (raw log text, which container, how much history). None of that is present, leaving the agent unable to predict the call's result.

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

Parameters2/5

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

Schema description coverage is 67% (zone and namespace documented, name not). The description contributes no parameter meaning beyond echoing the path template, so it fails to compensate for the uncovered parameter or to explain log-specific options (container, tailLines, sinceSeconds) that a logs endpoint typically needs.

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

Purpose2/5

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

The description is only an endpoint reference plus a redundant '[READ]' tag; it never states in prose that it retrieves logs for a named pod. The GET path does imply the resource (pod log under a namespace), so it is slightly more than a pure restatement of the title, but it is essentially a tautology with the tool name.

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

Usage Guidelines1/5

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

No when-to-use guidance at all. With close siblings like get_caas_pod, list_caas_pods, and invoke_caas_api, the agent gets no help deciding which one applies, nor any prerequisite (e.g. pod must exist/running) for fetching logs.

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

Deploy Server

Other Tools