Skip to main content
Glama

gateway_logs

Search or tail Ignition Gateway logs by severity, keyword, and trailing line count to diagnose issues and surface matching entries with their source.

Instructions

Search or tail gateway logs.

Args: level: Minimum level to include (DEBUG/INFO/WARN/ERROR). keyword: Case-insensitive substring filter. lines: Number of trailing log lines to inspect.

Returns: Matching log lines and the source that produced them.

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

Input Schema

NameRequiredDescriptionDefault
levelNoWARN
linesNo
keywordNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully clarifies that "tail" means a bounded trailing window ("lines: Number of trailing log lines to inspect") rather than a live stream, but says nothing about permissions, log source scope, size caps, or whether the call is expensive.

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?

The Google-docstring layout is front-loaded with the one-line purpose, then Args and Returns. Minor redundancy from restating parameter names already visible in the schema, but no wasted prose.

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 three-optional-param read tool with an output schema available, the description covers purpose, all parameters, and the shape of the result ("matching log lines and the source that produced them"). The main remaining gap is the absence of any provenance or cost context, which matters given zero annotations.

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?

With 0% schema description coverage, the description compensates well by defining all three params: level as a minimum threshold with the DEBUG/INFO/WARN/ERROR value set (an enum not present in the schema), keyword as a case-insensitive substring, and lines as a trailing count. It adds real meaning beyond the bare property names.

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?

"Search or tail gateway logs" gives a specific verb pair and a specific resource, and the two modes (filter vs. trailing window) are immediately distinguishable. It does not explicitly contrast itself with nearby siblings such as gateway_diagnostics, so it falls 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 Guidelines3/5

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

Usage is only implied by the words "search" and "tail" plus the arg semantics; there is no statement of when to prefer this over gateway_diagnostics or gateway_status, and no when-not guidance. An agent can infer intent but receives no explicit routing rule.

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