Skip to main content
Glama
ivan23kor

logpiper-mcp

by ivan23kor

get_logs_paginated

Fetch session logs in paginated chunks using cursor-based navigation. Supports reverse reading and optional log consumption after retrieval.

Instructions

Get logs with cursor-based pagination and automatic chunking

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of log entries to return
cursorNoStarting cursor position (line number). Defaults to 0.
reverseNoRead in reverse order (latest first)
sessionIdYesSession ID to get logs from
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 behavioral disclosure. It fails to mention the significant side effect that consumeLogs defaults to true, meaning logs are removed after fetching. Only 'automatic chunking' is disclosed, leaving destructive behavior hidden from the description.

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 sentence with no filler and front-loads the core action and resource. It is concise and readable, though the brevity contributes to missing behavioral context.

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?

For a tool with 5 parameters, no annotations, and no output schema, this description is too thin. It omits important use-case differentiation, the destructive consume behavior, and details about pagination/chunking behavior that an agent would need to call it safely.

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 all five parameters are already documented in the schema. The description adds little parameter-level meaning beyond the pagination theme, which matches the baseline of 3.

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 identifies the action ('Get logs') and the distinguishing mechanism (cursor-based pagination, automatic chunking). It is clear about what the tool does, though it does not explicitly differentiate it from siblings like get_new_logs or search_logs.

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 provided about when to use this tool versus alternatives such as get_new_logs or search_logs. The pagination wording weakly implies it is for iterating logs, but there is no explicit when-to-use or when-not-to-use guidance.

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