Skip to main content
Glama

app_logs

Fetch container logs for an app or preview by repository and branch, with a configurable tail limit, to diagnose runtime issues and inspect behavior.

Instructions

Container-Logs einer App/Preview.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "repo": "<repo>"
    },
    "name": "app_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYes
tailNo
branchNomain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and it says essentially nothing: not whether the call is read-only (implied only), not whether logs are streamed or a one-shot snapshot, not whether an error occurs when the container is stopped, and not permissions required. The only signal is that the output is log text.

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 is under-specification rather than conciseness: a single sentence fragment with no structure and no front-loaded action. There is no wasted wording because there is almost no wording at all.

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

Completeness1/5

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

For a three-parameter tool with no annotations, no output schema, and no enum or default documentation, the description leaves everything an agent needs (branch semantics, tail truncation, error behavior, return shape) unexplained.

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

Parameters1/5

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

Schema description coverage is 0% for three parameters, and the description does not mention any of them. It never explains what 'repo' identifies, that 'branch' defaults to 'main', or that 'tail' defaults to 200 lines and presumably caps the returned log volume — the single most decision-relevant parameter for a log tool.

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

Purpose3/5

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

The fragment 'Container-Logs einer App/Preview' identifies the resource being fetched (container logs for an app or preview), which is more than a restatement of the name. However, it is a noun phrase with no verb, no scope, and nothing that distinguishes it from siblings such as app_build_preview or app_deploy that also deal with an app. An agent can guess the intent but gets no confirmation.

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 when-to-use or when-not-to-use guidance, no mention of alternatives, and no preconditions (e.g. must the app be running? does a preview need to exist?). Usage is only inferable from the words 'logs' being a debugging artifact.

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