Skip to main content
Glama
dockndevai

mcp-percona-pg

Get cluster (summary)

get_cluster
Read-onlyIdempotent

Retrieve a PerconaPGCluster summary by name to inspect PostgreSQL state, size, PgBouncer, version, standby, and host details in a Kubernetes context.

Instructions

Summary of a PerconaPGCluster: state, PostgreSQL size, PgBouncer, version, standby, host.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesPerconaPGCluster name
contextNokube-config context to target (defaults to current-context)
namespaceNoNamespace (defaults to PERCONA_NAMESPACE if set)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.3
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds the concrete contents of the summary, which is genuine value for a tool with no output schema, though it says nothing about missing-cluster errors or namespace/context fallbacks.

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 tight sentence that front-loads the action and resource and then lists the payload. Nothing is wasted.

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?

With no output schema, the field enumeration usefully stands in for documented return values, and annotations carry the safety profile. It is nearly sufficient, losing a point only for leaving the distinction from get_cluster_status and error behavior unstated.

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% and all three parameters (name, context, namespace) are documented in the schema, including defaults. The description adds no parameter-level meaning beyond that, so the baseline 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+resource ('Summary of a PerconaPGCluster') and enumerates the content returned (state, PostgreSQL size, PgBouncer, version, standby, host). It does not explicitly distinguish itself from the nearby sibling get_cluster_status, so it stops short of a 5.

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?

No when-to-use guidance, no prerequisites, and no alternative named. With get_cluster_status and get_connection_info among siblings, the agent is left to infer when a summary is preferable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.