Skip to main content
Glama

Error log

tail_error_log
Read-onlyIdempotent

Last lines of a domain's errors: source="php" reads the error_log in its document root, source="web" the web server's error log for that domain. Obvious secrets (password=..., tokens) are masked.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tail_error_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNomax 1000
domainNoDomain on the account. Defaults to the main domain.
sourceNophp
service_idNoId of a paas or email_hosting service from list_services (unique across all the accounts this connection reaches). Optional when there is a single such service.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / service_id / description
      Previous value: -"Hosting service id from list_services (unique across all the accounts this connection reaches). Optional when there is a single hosting service."New value: +"Id of a paas or email_hosting service from list_services (unique across all the accounts this connection reaches). Optional when there is a single such service."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: it names which physical log file each source maps to, clarifies the domain scoping, and discloses that secrets such as passwords and tokens are masked in the output — an important property an agent could not infer from the schema.

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?

Two dense sentences with no filler; the core purpose is front-loaded and the source semantics follow immediately. The phrasing around the second source ('the web server's error log for that domain') is slightly compressed but still clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of describing return values, and it only says 'last lines' plus a masking note — ordering, line format, and truncation behavior are unspecified. The security note and source mapping are valuable, but an agent still cannot predict the shape of the response.

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 coverage is 75%, so parameters are mostly documented already, and the description's main contribution is explaining the semantic difference between the two 'source' enum values. It adds nothing for 'lines' (caps/truncation) or 'service_id', leaving those to 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?

The description states a specific action (reading the last lines of a domain's error log) and names the two log sources, so the resource and scope are unambiguous. It does not explicitly distinguish itself from the log-oriented siblings (hodiploy_get_logs, hodifly_get_logs), but it is self-contained enough to stand alone.

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?

The description implies when each source applies (php = document-root error_log, web = server error log for the domain), which is genuinely useful selection guidance. It never states when not to use this tool or names an alternative for broader/server-wide logs, so usage guidance is inferred rather than explicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources