Skip to main content
Glama
Supervisord MCP

Supervisord MCP

get_logs

Retrieve the tail of a Supervisord process log, bounded by line count and byte size, with optional stderr selection for targeted troubleshooting.

Instructions

Get the tail of a process log (bounded by lines and max_bytes)

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": {
      "name": "<name>"
    },
    "name": "get_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesProcess name
linesNoMaximum number of trailing lines to return
stderrNoGet stderr logs instead of stdout
max_bytesNoMaximum number of trailing log bytes to read

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that only a trailing slice is returned and that output is bounded by lines and max_bytes, so the agent knows results may be truncated. It does not state read-only safety, error behavior for unknown process names, or whether the response signals truncation.

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 the resource and its bounding behavior; nothing is wasted. The parenthetical is compact but slightly telegraphic, which keeps it just short of a 5.

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 single-purpose read tool with full schema coverage and no output schema, the definition covers what it fetches and how results are bounded. Return shape and failure modes are left implicit, but they are minor gaps given the tool's simplicity.

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 100%, so name, lines, stderr, and max_bytes are already fully documented with defaults and ranges. The description only re-states that lines and max_bytes bound the result, adding no format or interaction detail (e.g. which bound wins) beyond the schema.

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?

"Get the tail of a process log" gives a specific verb and resource, and adds scope (tail only, bounded). It is clearly distinct from the process-control siblings like start_process or get_process_status, though it does not explicitly name a log-related alternative.

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

Usage Guidelines3/5

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

Usage is implied by the resource name: an agent would call this to inspect recent output of a known process. There is no explicit statement of when to prefer this over get_process_status, nor any exclusion or prerequisite (e.g. process must exist), so guidance stays at the implied level.

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