Skip to main content
Glama

devanvil_analyze_logs

Analyze NDJSON/JSONL or plain-text application and server logs offline to get severity breakdowns, HTTP status classes, P50/P95/P99 latency, deduplicated error fingerprints, and leaked-secret counts.

Instructions

Analyze NDJSON/JSONL or text application/server logs offline: level breakdown, HTTP status classes, latency P50/P95/P99, deduplicated error fingerprints, and leaked secret count.

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": {
      "input": "<input>"
    },
    "name": "devanvil_analyze_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesRaw log lines (NDJSON, Pino, Winston, Nginx, or plain text).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does disclose the key traits that the analysis is offline and that it accepts multiple log dialects, which tells an agent no network or file access is needed. It remains silent on limits (how many lines are practical), whether the operation is purely read-only/deterministic, and what the response looks like.

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 sentence, front-loaded with the verb and accepted formats, followed by the exact metrics produced. Every clause carries information; nothing is redundant or padded.

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?

Given one parameter, no annotations, and no output schema, the description compensates well by enumerating the metrics returned, so an agent knows what to expect back. Minor gaps remain around input size and return shape (structure, units for latency), but these are small against the tool's simplicity.

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?

Only one parameter exists and the schema description already covers it at 100%, including the format list. The description's parenthetical format enumeration essentially restates the schema, so it adds little semantic meaning beyond the baseline 3 for high schema coverage.

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?

States a specific verb (Analyze) plus the exact resource (NDJSON/JSONL or text application/server logs) and enumerates the computed outputs: level breakdown, HTTP status classes, latency P50/P95/P99, deduplicated error fingerprints, leaked secret count. The scope is concrete enough to separate it from siblings like devanvil_scan_secrets or devanvil_convert_data without opening any schema.

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?

'Offline' implies the intended context (analyzing pasted log content rather than tailing a live service), which is useful implicit guidance. However, there is no explicit when-to-use vs when-not, no mention of how this differs from devanvil_scan_secrets for the leaked-secret portion, and no stated input-size or format prerequisites.

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