Skip to main content
Glama

Read the continuous restorable PITR window

pitr_window_get
Read-onlyIdempotent

Retrieve a cluster's latest continuous restorable point-in-time recovery window and backed interval. Returns 409 guidance for missing prerequisites and 400 for unsupported engines.

Instructions

Read the continuous restorable PITR window

Returns the latest continuous backed interval; an initializing cluster with no ready replica set or no configured backup storage returns 409 invalid_state with PITR prerequisite guidance instead of an internal error. Established coverage remains queryable during scaling, upgrades, resource changes, joins and reloads; live agent/storage failures can still affect availability. Engines without PITR return 400 invalid_request with reason unsupported and a message naming the engine capability.

Input Schema

NameRequiredDescriptionDefault
clusterYes
namespaceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

A3.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations by disclosing concrete failure semantics: 409 invalid_state for initializing clusters lacking a ready replica set or backup storage, and 400 invalid_request with reason 'unsupported' for engines without PITR. It also explains availability behavior during scaling, upgrades, resource changes, joins and reloads, and that live agent/storage failures can still affect availability.

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?

Front-loaded with the purpose, then error and availability semantics in three compact sentences with no filler. The opening clause merely restates the title verbatim, which is minor redundancy rather than bloat.

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?

Error paths and availability caveats are thoroughly covered, but with no output schema the description should characterize the returned interval (e.g. time bounds, whether it is empty) and it only says 'latest continuous backed interval'. Combined with the unaddressed namespace parameter, the definition is adequate but incomplete for a read tool with no output schema.

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

Parameters2/5

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

Schema description coverage is 0% for the top-level properties, so the description should compensate but says nothing about 'cluster' (the required identifier) or 'namespace' (optional scoping and its default behavior). Only the $defs entry for NamespaceName carries any documentation, so an agent gets no added meaning from the description for the parameters that matter.

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 ('Read the continuous restorable PITR window') and clarifies it returns the latest continuous backed interval, which is a meaningful scope statement. It does not name any sibling (e.g. backup_get, restores_list, backup_storage_get) or explain how it differs from those backup-oriented reads, so differentiation is left to the caller.

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?

Usage is only implied: an agent can infer this is the tool for checking restorable coverage of a cluster. There is no explicit 'use this when…' statement, no guidance versus backup_get or restores_list, and no stated prerequisites (though prerequisite failures are described as 409s).

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