Skip to main content
Glama

diagnose_retention_gaps

Identify WORM/retention gaps in MinIO buckets: lock without retention, retention exceeding lifecycle expiry, versioning disabled. Failed probes are reported separately.

Instructions

[READ][risk=low] WORM/retention gaps across every bucket, worst-first.

Finds the contradictions rather than a house style: lock enabled with no default retention (protects nothing), a lifecycle expiry that retention outlives (the rule can never delete and the capacity never returns — both day counts reported), object lock on a bucket whose versioning is not active, and the mode choice with its consequence spelled out.

Buckets whose probes fail are listed in bucketErrors rather than skipped: a clean findings list does not mean those buckets are clean.

Args: limit: Maximum findings to return (envelope reports truncation). target: MinIO target name from config; omit for the default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
targetNo
Behavior5/5

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

With no annotations, the description carries the full disclosure burden. It states the read-only nature, low risk, and importantly explains that failed probes are reported in bucketErrors rather than skipped, so a clean findings list does not imply clean buckets. It also discloses reporting of day counts and mode-choice consequences.

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 front-loaded with READ/risk and a one-line summary, then organized into behavioral bullets and an Args block. It is a bit long but every section adds necessary detail; nothing feels redundant.

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?

There is no output schema, so the description must hint at return behavior. It mentions envelope truncation, bucketErrors, both day counts, and the contradiction types, which is sufficient for a diagnostic tool. It doesn't fully specify the response shape, but the provided context is adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides no descriptions for limit or target (0% coverage), but the Args section fully compensates: limit caps findings and notes envelope truncation, while target selects the MinIO target and defaults when omitted. This adds meaningful semantics beyond the raw schema.

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 tool as a read-only diagnostic that finds WORM/retention gaps across every bucket, sorted worst-first, and enumerates specific contradiction types. It does not explicitly contrast with the similar sibling lifecycle_gap_analysis, but the scope and focus are distinctive enough.

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 use when you need to diagnose retention/WORM gaps, supported by the '[READ][risk=low]' prefix and the list of checks. However, it provides no explicit when-to-use vs. alternatives or exclusions, so only implied guidance is present.

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/AIops-tools/MinIO-AIops'

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