Skip to main content
Glama

Local Logs MCP Server

by mariosss

tail_log

Retrieve the last N lines from a log file to monitor recent application activity and debug issues by viewing recent log entries.

Instructions

Get the last N lines from a log file

Input Schema

NameRequiredDescriptionDefault
filenameNoName of the log file (default: combined.log)combined.log
linesNoNumber of lines to return (default: 50)

Input Schema (JSON Schema)

{ "properties": { "filename": { "default": "combined.log", "description": "Name of the log file (default: combined.log)", "type": "string" }, "lines": { "default": 50, "description": "Number of lines to return (default: 50)", "type": "number" } }, "required": [], "type": "object" }

Other Tools from Local Logs MCP 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/mariosss/local-logs-mcp-server'

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