Skip to main content
Glama

MCP Background Job Server

by dylan-gluck

tail_job_output

Retrieve the last N lines of stdout and stderr for a specific job on the MCP Background Job Server, enabling real-time monitoring and debugging of long-running processes.

Instructions

Get the last N lines of stdout and stderr from a job.

Args: job_id: The UUID of the job to tail lines: Number of lines to return (1-1000, default 50)

Returns: ProcessOutput containing the last N lines of stdout and stderr

Input Schema

NameRequiredDescriptionDefault
job_idYesJob ID to tail
linesNoNumber of lines to return

Input Schema (JSON Schema)

{ "properties": { "job_id": { "description": "Job ID to tail", "title": "Job Id", "type": "string" }, "lines": { "default": 50, "description": "Number of lines to return", "maximum": 1000, "minimum": 1, "title": "Lines", "type": "integer" } }, "required": [ "job_id" ], "type": "object" }

Other Tools from MCP Background Job Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/dylan-gluck/mcp-background-job'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server