Skip to main content
Glama
DigiBugCat

Logpush MCP

by DigiBugCat

read_log_file

Retrieve and parse Cloudflare Workers logpush data from R2 storage to analyze log entries with configurable limits.

Instructions

Read and parse a specific log file from R2.

Args: path: Full object path/key (e.g., "production/20260111/filename.log.gz"). limit: Maximum number of entries to return (default 100).

Returns: Dict with entries array and count.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations provided, the description carries full burden but only states basic behavior ('Read and parse'). It doesn't disclose permissions needed, rate limits, error handling, or whether it handles compressed files (implied by '.gz' in example). This leaves significant gaps for a tool interacting with storage.

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?

The description is well-structured with a brief purpose statement followed by clear Arg/Returns sections. Every sentence adds value, and it's front-loaded with the core functionality, making it efficient and easy to parse.

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 2 parameters, no annotations, and an output schema (which handles return values), the description covers purpose and parameters adequately. It could improve by adding more behavioral context (e.g., auth needs), but the output schema reduces the burden, making it mostly complete for this complexity.

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?

Schema description coverage is 0%, so the description must compensate. It explains 'path' as 'Full object path/key' with an example, and 'limit' as 'Maximum number of entries to return' with a default, adding clear meaning beyond the bare schema. However, it doesn't detail format constraints for 'path' or bounds for 'limit'.

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?

The description clearly states the verb ('Read and parse'), the resource ('a specific log file from R2'), and distinguishes it from siblings like 'list_log_files' (which lists files) and 'search_logs' (which searches content). It's specific about what it does versus other available tools.

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?

The description implies usage by specifying it reads a 'specific log file', suggesting it's for individual file access rather than listing or searching. However, it doesn't explicitly state when to use this versus alternatives like 'get_latest' or 'search_logs', leaving some ambiguity in context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DigiBugCat/logpush-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server