Skip to main content
Glama

retrieve_account_logs

Retrieve stored log entries for a Cloudflare account (Logpull). Returns NDJSON. Supports start, end, and path filters.

Instructions

Retrieve stored log entries for a Cloudflare account (Logpull). Returns NDJSON. Supports start, end, and path filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd time (RFC3339 or Unix timestamp)
pathNoPath/bucket of the log file(s) to retrieve
startNoStart time (RFC3339 or Unix timestamp)
account_idYesrequired,The ID of the Cloudflare account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses the return format (NDJSON) and the filter surface, but omits permissions required, volume/size constraints, pagination, retention window, and whether the call is read-only or billable. The return-format disclosure is genuine added value, but key operational behavior is missing.

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?

Three short, front-loaded sentences with no filler: purpose, return format, filters in that order. Slightly telegraphic wording ('Supports start, end, and path filters') but nothing is wasted.

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

Completeness3/5

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

There is no output schema, so the description must carry return-value context; it does mention NDJSON, which is helpful. But it does not describe the NDJSON record shape, expected volume, or how results are bounded, leaving gaps for a tool whose output is opaque to the agent.

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 schema already documents account_id, start, end, and path with their formats. The description only restates that start/end/path filters exist and adds no syntax, default, or mutual-dependency detail beyond the schema, so the baseline 3 is correct.

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?

States a specific verb and resource ('Retrieve stored log entries for a Cloudflare account') and adds the concrete mechanism ('Logpull') plus return format (NDJSON), which distinguishes it from SQL-based siblings like query_account_logs_sql. However, it never names an alternative sibling explicitly, so differentiation is implied rather than stated.

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?

There is no when-to-use guidance at all. The description never explains when to choose this over query_account_logs_sql, list_account_log_files, get_log_by_rayid, or list_received_logs, all of which sit in the same log-access space. Only the word 'Logpull' weakly implies raw bulk retrieval.

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