Skip to main content
Glama
ivanantigravity-lgtm

Nano Banana 2 Polza MCP Server

Maintenance and cleanup operations

maintenance
Read-only

Clean up expired database entries, remove old local files based on age or LRU, check Files API storage quota, and fix database inconsistencies. Supports dry-run mode.

Instructions

Perform maintenance operations following workflows.md patterns.

Available operations:

  • cleanup_expired: Remove expired Files API entries from database

  • cleanup_local: Clean old local files based on age/LRU

  • check_quota: Check Files API storage usage vs. ~20GB budget

  • database_hygiene: Clean up database inconsistencies

  • full_cleanup: Run all cleanup operations in sequence

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesMaintenance operation to perform: 'cleanup_expired', 'cleanup_local', 'check_quota', 'database_hygiene', 'full_cleanup'
dry_runNoIf true, only report what would be done without making changes
max_age_hoursNoFor local cleanup: maximum age in hours (default: 168 = 1 week)
keep_countNoFor local cleanup: minimum number of recent files to keep
Behavior1/5

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

The annotations declare readOnlyHint=true (suggesting no side effects), but the description lists destructive operations like 'cleanup_expired: Remove expired Files API entries' and 'cleanup_local: Clean old local files', implying data deletion. This is a clear contradiction. Additionally, no disclosure of auth requirements or rate limits.

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 short and uses a bullet list for operations, aiding readability. It is front-loaded with 'Perform maintenance operations'. The reference to 'workflows.md patterns' is vague but does not significantly detract. Every sentence contributes, though the external reference could be clarified.

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

Completeness2/5

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

No output schema is present, and the description does not explain what the tool returns (e.g., a report, status, or nothing). For destructive operations, knowing the output type is important. The dry_run parameter hints at reporting, but the default behavior is unspecified. The tool's impact on data is described, but consequences (e.g., irreversible deletion) are not highlighted.

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 parameters are already well-documented. The description adds marginal value by listing operation names with one-line summaries (e.g., 'check_quota: Check Files API storage usage'), which slightly enriches understanding beyond the schema's plain enumeration. However, for dry_run, max_age_hours, and keep_count, no additional semantics are provided.

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 'Perform maintenance operations' and enumerates five specific operations with brief explanations (e.g., 'Remove expired Files API entries'). This distinguishes it from sibling tools (fetch_generation, generate_image, etc.) which are unrelated. The title 'Maintenance and cleanup operations' reinforces the resource.

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 references 'following workflows.md patterns', implying a prescribed usage context, but does not explicitly state when to use this tool versus alternatives (e.g., when to choose cleanup_expired vs. cleanup_local). No when-not-to-use guidance is provided, though sibling tools are unrelated, so confusion is minimal.

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/ivanantigravity-lgtm/nanobanana-2-polzaia-mcp-server'

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