Skip to main content
Glama

Ferrite

Read app logs

logs
Read-onlyIdempotent

Read an owned app's durable captured-log tail (newest last), including each ended instance set's last lines followed by its end line: when, why, and how many processes it stopped.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>"
    },
    "name": "logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYes
tailNo
tokenNofallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavior beyond that: logs are durable and ordered newest-last, and the tail includes each ended instance set's final lines plus a terminating end line recording when, why, and how many processes stopped. It stops short of describing truncation limits, empty-log behavior, or retention windows.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One dense sentence that front-loads the core action, but the trailing clause 'when, why, and how many processes it stopped' is syntactically tangled and its referent (the end line) takes a second read to parse.

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 does a fair job of previewing the return shape (ordered log lines plus per-instance end lines), but for a three-parameter read tool it omits the tail sizing semantics and any indication of volume, pagination, or behavior on an app with no captured logs.

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 only 33%: only the token fallback is documented in the schema. The description partially compensates by framing output as a 'log tail (newest last)', which implies what the `tail` integer controls, but it never states a default, maximum, or units, and the `app` parameter's expected identifier form is left entirely 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?

States a concrete verb plus resource: read an owned app's durable captured-log tail. The scope qualifier ('owned app') and the note that output is newest-last make the operation distinguishable from sibling history/status readers like deploy_history or build_status, though no sibling is named explicitly.

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 when-to-use or when-not-to-use guidance. The description never says to prefer this over deploy_history, build_status, or dead_letters when diagnosing a failure, nor does it state prerequisites such as app ownership or authentication beyond the incidental word 'owned'.

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.