Skip to main content
Glama
ivan23kor

logpiper-mcp

by ivan23kor

get_new_logs

Fetch new log entries since a cursor position, with configurable limits and optional consumption to enable incremental streaming.

Instructions

Get new logs since a specific cursor position (streaming)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of log entries to return
sinceNoLine number cursor to get logs after. Defaults to 0.
sessionIdNoSession ID to get logs from. If not provided, returns from all active sessions.
consumeLogsNoWhether to remove logs after fetching them (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of disclosing behavior. It fails to mention that consumeLogs defaults to true, meaning logs are removed by default after fetching. The word 'Get' misleadingly suggests a purely read-only operation despite a destructive default.

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 description is a single, front-loaded sentence with no filler. It is concise and readable, though it leaves important behavioral details unstated.

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

Completeness2/5

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

The tool has several parameters, no annotations, and no output schema, so the description needs to provide more operational context. It omits the default log-consumption behavior and fails to clarify how this streaming tool relates to the paginated variant, making the definition incomplete for safe invocation.

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 the parameters are already well documented. The description adds minimal value by hinting at the 'since' cursor concept, but it does not elaborate on limit, sessionId, or consumeLogs semantics.

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 clearly states the verb 'get', the resource 'logs', and the key mechanism 'since a specific cursor position (streaming)'. It distinguishes itself from typical list/search tools, though it does not explicitly compare itself to sibling tools.

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 guidance is given about when to use this tool versus get_logs_paginated, search_logs, or other siblings. The 'streaming' hint implies a use case, but the agent is left to infer when this tool is the right choice.

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