get_container_logs
Fetch logs from a specified container to troubleshoot errors or monitor runtime behavior.
Instructions
Get container logs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tail | No |
Fetch logs from a specified container to troubleshoot errors or monitor runtime behavior.
Get container logs
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| tail | No |
Changes observed during successful MCP inspections.
v1.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden. It discloses nothing about read-only safety, authentication needs, whether logs are live or historical, whether tail limits output, or what the return stream looks like; 'Get' only weakly implies a read and cannot substitute for explicit disclosure.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The three-word fragment is not verbose, but it is under-specified rather than appropriately concise. It omits essential structure such as scope, parameter meaning, and output expectations.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and 0% schema description coverage, the description is far too thin for a logs-retrieval tool. It should explain the container identifier semantics, tail behavior, and at least generally what the logs return; none of this is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description supplies no meaning for either parameter. The required 'id' and optional 'tail' remain opaque—an agent cannot tell whether 'id' is a container ID, name, or numeric identifier, or what units or defaults apply to 'tail'.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description restates the tool name almost verbatim ('Get container logs' from 'get_container_logs') and adds no scope, output, or filtering detail. It does not name any sibling alternative or explain how it differs from get_container_stats, get_container_status, or inspect_container.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
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. The description does not mention alternatives such as inspect_container for metadata or clean_container_log for log cleanup, nor does it indicate when logs retrieval is appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.