Skip to main content
Glama

databases_get

Read-only

Retrieve details for a single managed PostgreSQL cluster, including status, connection details, pooler, standby, and allow list, using its database id.

Instructions

One managed PostgreSQL cluster: status, connection details, pooler, standby, allow list. Scope databases:read.

Input Schema

NameRequiredDescriptionDefault
idYesDatabase id from databases_list: pg-<n>

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

The readOnlyHint=true annotation already establishes the safety profile, and the description adds context the annotations do not: the required auth scope 'databases:read' and an inventory of the returned facets (pooler, standby, allow list). It does not cover error behavior for a missing id, but for a read tool with annotation coverage this is solid added value.

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 telegraphic fragment with zero filler, front-loading the returned content and ending with the scope requirement. The clipped style costs a little readability but wastes no words.

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 one required parameter, no output schema, and a read-only annotation, the description does enough: it says what entity is fetched, what is included in the response, and what scope is needed. Only not-found behavior is left unaddressed.

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 the single parameter is well documented ('Database id from databases_list: pg-<n>'). The description adds nothing about the id argument, 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?

The description names the resource precisely (a single managed PostgreSQL cluster) and enumerates what is returned: status, connection details, pooler, standby, allow list. That clearly separates it from the list/delete/allow-list siblings, though the retrieval verb itself is only implied by the noun phrase.

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 implied rather than stated: it is a singular-fetch tool, and the schema note 'Database id from databases_list' hints at the list-then-get flow. There is no explicit when-to-use, no exclusion of alternatives such as databases_list, and no mention of what happens for an unknown id.

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