Skip to main content
Glama
AkaciaNL

BasicDeploy MCP Server

get_logs

Read-only

Retrieve recent logs from a container to debug crashes or inspect application output. Accepts container ID and optional line count for tail.

Instructions

Fetch recent logs from a container. Use this to debug crashes or check application output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tailNoNumber of log lines to return from the end (default 200)
containerIdYesUUID of the container

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
logsYesRecent log output.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.3

TDQS

A4/5.0
Behavior3/5

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

Annotations already cover readOnlyHint=true and destructiveHint=false. Description adds purpose context but no additional behavioral details (e.g., side effects, limitations). No contradiction.

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?

Two sentences, front-loaded with the action, and no unnecessary words. Efficient and well-structured.

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?

For a simple read-only log fetch, the description provides enough context about purpose and usage. Output schema and annotations cover the rest, making it adequate without being verbose.

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 fully describes both parameters (containerId as UUID, tail with default 200). Description adds no extra parameter information, so baseline of 3 applies due to high schema coverage.

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?

Description states a specific verb ('Fetch') and resource ('logs from a container'), clearly distinguishing it from sibling tools like list_containers or exec_command. The purpose is unambiguous.

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

Usage Guidelines4/5

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

Explicitly provides a when-to-use context: 'Use this to debug crashes or check application output.' Does not name alternatives, but the guidance is clear and actionable.

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