Create, use, and delete disposable PGRun Postgres branches — CLI and MCP server.
Four tools with complete input schemas and clear descriptions. Naming follows verb_noun convention (create_, list_, get_, delete_). Descriptions are substantive (100-200 chars), explaining WHAT the tool does and WHEN to use it. All parameters have types and descriptions. However, output schemas are not documented, LLMs cannot plan downstream calls or extract required fields. No error handling guidance (e.g., what to do if a branch is not found, or if deletion fails due to children). No tool annotations (destructiveHint on delete_branch, readOnlyHint on list/get). Parameter descriptions lack format constraints (e.g., branch name rules, project slug format). Risk classification present but not integrated into tool metadata.
Create a disposable PGRun Postgres branch. By default waits until it is ready (or failed) before returning; the returned JSON includes connection_url, a database_url alias, and ready:true once ready. Branches are cheap and meant to be deleted when done — always set a ttl for CI/agent use.
Delete a branch. Deleting the base branch, or a branch with children, fails with a 409 — delete children first.
Get one branch's current status. connection_url is present only when the branch is ready and credentialed.
List a project's branches. Never includes connection_url — use pgrun_get_branch for that.
Output schemas not documented. LLMs cannot infer what fields are returned (e.g., connection_url, ready, status, children) or plan downstream calls. Agents cannot extract IDs needed for chaining.
No error handling guidance. Descriptions do not explain what errors are possible (e.g., 'branch not found', 'permission denied', 'branch has children') or what the LLM should do next. Agents cannot self-correct.
Tool annotations missing. pgrun_delete_branch should declare destructiveHint=true; pgrun_list_branches and pgrun_get_branch should declare readOnlyHint=true. Agents cannot reason about side effects.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 66 | 2026-07-28+ | v2 |
Parameter format constraints not documented. 'project' and 'name' lack format rules (e.g., 'lowercase alphanumeric, 1-50 chars'). 'ttl' enum is clear, but 'timeout_seconds' lacks min/max bounds. LLMs may pass invalid values.
No confirmation or dry-run pattern for destructive operations. pgrun_delete_branch can fail with 409 if children exist, but no guidance on how to discover children or confirm before deletion. Agents may retry blindly.