Skip to main content
Glama
DigiBugCat

Logpush MCP

by DigiBugCat

get_log_stats

Retrieve aggregated log statistics for a specific date and environment, including request counts by worker, status distribution, and error rates from Cloudflare Workers logpush data.

Instructions

Get aggregated statistics for logs on a specific date.

Args: date: Date in YYYYMMDD format. environment: Environment (production or staging).

Returns: Dict with statistics including request counts by worker, status distribution, error rate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
environmentNoproduction

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that the tool returns aggregated statistics in a dict format, including specific metrics like request counts and error rate, which adds useful context. However, it doesn't cover behavioral traits such as rate limits, authentication needs, or potential side effects, leaving gaps for a tool with no annotation support.

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 appropriately sized and front-loaded, with the core purpose stated first. The 'Args' and 'Returns' sections add structure without redundancy. However, the inclusion of 'Returns' details might be slightly redundant given the output schema, but it's still efficient overall.

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 the tool's moderate complexity (2 parameters, no annotations, but with an output schema), the description is fairly complete. It explains the purpose, parameters, and return values. Since an output schema exists, it doesn't need to detail return values extensively, but it still provides a summary. There are minor gaps in usage guidelines and full behavioral context.

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?

The schema description coverage is 0%, so the description must compensate. It adds meaning by specifying the date format (YYYYMMDD) and environment options (production or staging), which are not in the schema. However, it doesn't fully document all parameters (e.g., default values or constraints), but it provides enough context to justify a score above baseline.

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 tool's purpose: 'Get aggregated statistics for logs on a specific date.' It specifies the verb ('Get aggregated statistics'), resource ('logs'), and scope ('on a specific date'). However, it doesn't explicitly differentiate from sibling tools like 'get_errors' or 'search_logs', which might also retrieve log-related data, so it doesn't reach the highest score.

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?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'get_errors' for error-specific data or 'search_logs' for detailed queries, nor does it specify prerequisites or exclusions. The usage context is implied but not explicitly stated.

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