Skip to main content
Glama

get_log_retention_flag

Get the log retention flag for a Cloudflare zone (whether Logpull log retention is enabled).

Instructions

Get the log retention flag for a Cloudflare zone (whether Logpull log retention is enabled).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zone_idYesrequired,The ID of the zone

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

B3.4/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, and it does add domain context by explaining the flag's meaning (whether Logpull log retention is enabled). However, it does not state that this is a read-only, non-mutating per-zone lookup, nor anything about permissions or failure behavior when the flag is absent.

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?

A single front-loaded sentence with the resource and qualifier, and zero filler. Every clause earns its place.

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?

For a trivial one-parameter getter with no output schema, the description gives enough to know what is being read and what the value represents. It is only slightly short of ideal given the complete lack of annotations shouldering behavioral disclosure.

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 coverage is 100% for the single zone_id parameter, so the schema already documents it. The description adds no syntax, format, or scope detail about the zone identifier beyond what the schema provides, so the baseline of 3 applies.

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 ('Get the log retention flag for a Cloudflare zone') and clarifies the resource with a parenthetical defining what the flag means (Logpull log retention enabled). No sibling tool covers retention, so it is naturally distinct, but the description never explicitly differentiates itself from the many other log-related 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?

There is no statement of when to use this tool versus alternatives such as get_log_dataset, list_log_datasets, or retrieve_account_logs. The agent must infer the scenario entirely from the tool name.

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