Skip to main content
Glama

Log serwera

forge_get_server_log
Read-onlyIdempotent

Fetch a server system log by key, such as 'nginx-error'. Specify server, log key, and optional line count to retrieve recent entries.

Instructions

Pobiera zawartosc logu systemowego serwera po jego kluczu, np. "nginx-error". Logi konkretnego site pobierzesz narzedziem forge_get_site_logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKlucz logu, np. "nginx-error"
orgNoSlug organizacji, domyslnie z konfiguracji serwera
linesNoIle ostatnich linii pokazac (domyslnie 200)
serverYesNazwa albo identyfikator serwera
Install Server

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds useful scoping context (system-level logs by key), but does not describe output format or pagination behavior; with annotations covering side effects, this is adequate.

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 short sentences with no filler. The core purpose and example come first, and the alternative-tool pointer comes second. Every word contributes.

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 with fully documented parameters and safe annotations, the description provides enough context to call the tool correctly. The main minor gap is not listing possible log keys beyond the one example, but that is not essential for basic correct usage.

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 the schema already documents all four parameters including defaults and constraints. The description adds only a key example, which largely duplicates the schema, so a baseline score of 3 is appropriate.

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 action: retrieving a server system log by its key, with a concrete example ('nginx-error'). It also explicitly differentiates from forge_get_site_logs, so agents can tell the tools apart without inspecting schemas.

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

Usage Guidelines5/5

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

The description explicitly tells the agent to use forge_get_site_logs for site-specific logs, which is a clear when-not condition. This prevents a common misuse and is sufficient guidance for a simple read-only tool.

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

Other Tools

Latest Blog Posts

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/wdevcom/laravel-forge-mcp'

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