Skip to main content
Glama

Logi site

forge_get_site_logs
Read-onlyIdempotent

Retrieve recent site logs from Laravel Forge, including application, nginx-error, and nginx-access entries. Returns the latest lines to help debug issues.

Instructions

Pobiera logi site: application (log aplikacji Laravel), nginx-error (bledy serwera WWW) albo nginx-access (ruch). Zwraca ostatnie linie, bo logi czyta sie od konca.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orgNoSlug organizacji, domyslnie z konfiguracji serwera
siteYesDomena albo identyfikator site
typeNoRodzaj logu, domyslnie application
linesNoIle ostatnich linii pokazac (domyslnie 200)
Install Server

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so safety is covered outside the description. The description adds the useful behavioral trait that only the last lines are returned because logs are read from the end, which is not visible in annotations. It does not describe output formatting, but the tail behavior is the key fact.

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?

A single, front-loaded sentence that packs the resource, the three log types, and the tail behavior with no wasted words. It does not repeat schema defaults.

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 read-only site-log tool with a well-covered schema, the core contract is clear: site is required, types are explained, and the response is the last lines. It could be slightly more complete by saying more about the output representation and by pointing to forge_get_server_log for server-level logs, so it falls short of a top score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning to the type enum by mapping application to the Laravel app log, nginx-error to web-server errors, and nginx-access to traffic. The schema only lists the enum values without those semantic labels.

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?

The description names a specific verb and resource (pobiera logi site) and enumerates the three supported log types, so an agent knows exactly what the tool retrieves. It does not explicitly contrast with sibling forge_get_server_log, but the 'site' scoping makes the resource clear.

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

Usage Guidelines2/5

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

There is no guidance about when to prefer this tool over alternatives such as forge_get_server_log or when not to use it. The description gives the main purpose but no situational context or exclusions.

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