Skip to main content
Glama
Inferni MCP

Inferni MCP

read_logs

Read-only

Retrieve the tail of an app's log with secrets from its .env file automatically redacted, optionally filtering by level, line count, or search text.

Instructions

Read the end of an app's log. Secrets from the app's .env file are blanked out.

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": "read_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesApp name from list_apps
levelNo'errors': errors and tracebacks only; 'warnings' adds warningsall
linesNoHow many lines to return (max 200)
searchNoOnly lines containing this text

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavior: log content is redacted for .env secrets, which tells the agent output may differ from raw log text. It still omits whether only the tail is returned by default or how lines are counted.

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, front-loaded with the core action and the redaction caveat immediately after. Nothing is wasted.

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?

With an output schema present, return-value explanation is unnecessary, and the description covers what the tool reads plus a key output caveat. For a simple four-parameter read tool this is nearly complete, missing only guidance on the level/search interplay.

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 app, level, lines, and search are already fully documented in the schema, including enum meanings and the 200-line cap. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 specific verb and resource ("Read the end of an app's log") and the "end" qualifier signals tail-style retrieval rather than a full-log fetch. It does not explicitly distinguish itself from siblings like crash_report, so it stops short of a 5.

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?

No when-to-use or when-not-to-use guidance is given; nothing says to prefer crash_report for stack traces or app_status for health checks. Usage is only implied by the word "log".

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

Deploy Server

Other Tools