postgresai
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_issuesC | List issues from PostgresAI API (same as CLI 'issues list') |
| view_issueA | View a specific issue with its comments and who has seen it (seen_by). Viewing records the token owner in the issue's seen-by list as an AI agent. |
| post_issue_commentA | Post a new comment to an issue (optionally as a reply). Local files passed via 'attachments' are uploaded to PostgresAI storage and the resulting markdown links are appended to the comment body (image extensions render inline). |
| create_issueB | Create a new issue in PostgresAI. Local files passed via 'attachments' are uploaded to PostgresAI storage and the resulting markdown links are appended to the issue description. |
| update_issueA | Update an existing issue (title, description, status, labels, is_hidden). Use status=1 to close, status=0 to reopen. Local files passed via 'attachments' are uploaded and appended to 'description'; if 'description' is omitted, the existing description is fetched first and appended to. |
| update_issue_commentA | Update an existing issue comment. Local files passed via 'attachments' are uploaded and appended to 'content' as markdown links. |
| upload_fileA | Upload a local file to PostgresAI storage. Returns the storage URL and a ready-to-paste markdown link (image extensions get the inline |
| download_fileA | Download a file from PostgresAI storage by URL (full URL under the storage base, or a relative path like /files/123/foo.png). |
| view_action_itemC | View action item(s) with all details. Supports single ID or multiple IDs. |
| list_action_itemsC | List action items for an issue |
| create_action_itemC | Create a new action item for an issue |
| update_action_itemB | Update an action item: mark as done/not done, approve/reject, or edit title/description |
| deploy_monitoringA | Put a Postgres database under PostgresAI Cloud monitoring (same as |
| list_reportsA | List checkup reports. Returns report metadata: id, project, status, timestamps. Use get_report_data to fetch actual report content. Supports date-based filtering with before_date. |
| list_report_filesA | List files in a checkup report (metadata only, no content). Checkup reports are JSON, one file per check. Either report_id or check_id must be provided. For findings and recommendations, use the issues tools (list_issues, view_issue). |
| get_report_dataA | Get checkup report file content: the JSON data of each check, in a 'data' field. Either report_id or check_id must be provided. For findings and recommendations, use the issues tools (list_issues, view_issue). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools target a distinct resource+action (issues, action items, reports, files, monitoring), and descriptions explicitly cross-reference each other (e.g. list_reports points to get_report_data, report tools point to issues tools). Minor overlap remains between view_action_item (accepts multiple IDs) and list_action_items, and between post_issue_comment/create_issue attachment handling versus upload_file, but the descriptions make the intended boundaries clear.
Nearly all tools follow a consistent verb_noun snake_case pattern (list_issues, create_issue, update_issue_comment, list_report_files, deploy_monitoring). Deviations are small: 'post_issue_comment' rather than create_*, and 'get_report_data' vs 'view_issue'/'view_action_item' mixing get/view verbs, but nothing confusing.
16 tools cover four coherent sub-areas (issues, action items, checkup reports, storage/attachments) plus monitoring deployment, so each tool has a plausible place. It sits just above the ideal 3-15 range and the very large deploy_monitoring description does a lot of work in one tool, but nothing feels redundant.
Issues and action items have list/view/create/update and comment create/update, but no delete operations for issues, comments, or action items, and there is no way to list or remove monitored deployments (deploy_monitoring is idempotent but there is no status-list or undeploy tool). Reports are read-only by nature, which is acceptable, but the missing lifecycle ends will force agents to work around gaps.