Skip to main content
Glama

pangea_get_postgres

Read self-service Managed PostgreSQL status, eligibility, resource allocation, internal host, injected env names, and Kubernetes sync state for a Pangea project.

Instructions

Read self-service Managed PostgreSQL (CloudNativePG PostgreSQL 17) status, eligibility, allocated CPU/RAM/PVC spec, internal host, injected env names, and Kubernetes sync state.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pangea_get_postgres"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectNoOptional project ID (prj_...) or project name (omit when directory has pangea.yaml)
directoryNoOptional local directory containing pangea.yaml

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral burden and it does only partially: it establishes a read-only, status-oriented scope and hints at an "eligibility" concept, but says nothing about required permissions, what happens when PostgreSQL is not enabled, or whether an operation must be awaited first. It stops short of the mutation/read-safety disclosure an unannotated tool ideally needs.

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?

A single front-loaded sentence that wastes no words, with the resource and read-only intent stated before the enumerated data points. The long comma-separated inventory of fields is dense but each item earns its place by telling the agent what comes back in the absence of an output schema.

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 read-only status tool with two optional parameters and no output schema, the description compensates well by enumerating the returned fields (spec, host, env names, sync state). The remaining gap is error/precondition behavior, but the core completeness need is met.

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

Parameters4/5

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

Schema description coverage is 100%, so both optional parameters (project ID/name and local directory containing pangea.yaml) are already fully documented in the schema, and no parameters are required. The description appropriately adds no redundant parameter text; a 4 reflects that the schema does the work and the description stays out of the way for a zero-required-parameter tool.

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 pairs a specific verb ("Read") with a precise resource (Managed PostgreSQL / CloudNativePG PG 17) and enumerates the returned facts: eligibility, CPU/RAM/PVC spec, internal host, injected env names, and Kubernetes sync state. It is clearly distinguishable from mutation siblings like pangea_enable_postgres and from pangea_get_redis, though it never names a sibling explicitly.

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 when-to-use or when-not-to-use guidance and no mention of alternatives such as pangea_get_resources or pangea_get_redis, which also report allocation data. The only usage cue is the verb "Read", leaving the agent to infer that this is the inspection tool for a provisioned PostgreSQL instance.

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