Skip to main content
Glama

artex_docker_logs

Tail a Docker container's logs (default: ARTEX server container) to monitor runtime activity and diagnose issues by specifying the container and line count.

Instructions

Tail a container's logs (default: the ARTEX server container).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "artex_docker_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
tailNo
containerNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 does not meet it. It does not say whether "tail" returns a snapshot of the last N lines or a blocking live stream, what happens if the container is missing, or whether the call is read-only and safe to repeat. Given the output schema exists, return format is covered, but operational behavior is not.

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?

A single front-loaded sentence with a parenthetical default; no wasted words. It is arguably over-terse rather than padded, so brevity is not the problem here.

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

Completeness3/5

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

The tool is simple (two optional params, output schema present), so the bar is modest, but the central ambiguity of whether this tails live or returns the last N lines is unresolved. For a log-inspection tool an agent may call repeatedly, that distinction affects usage materially.

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 0%, so the description should compensate. It does clarify the `container` parameter's default (the ARTEX server container) and the verb "tail" hints at the meaning of the `tail` parameter, but the default of 60 lines and the unit/interpretation of `tail` are never stated.

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 ("Tail a container's logs") and adds a useful default target, the ARTEX server container. It is distinguishable from a container-listing sibling like artex_docker_ps, though it names no sibling explicitly.

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, when-not-to-use, or alternative routing is given. An agent must infer that this is for debugging/inspection rather than, say, artex_full_diagnostic or artex_health. Nothing indicates prerequisites (does the container need to be running?) or whether the container must be ARTEX-related.

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