postgres__sql_read
[postgres · risk:low] Execute a read-only SQL query against a Postgres database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Read-only SQL query (SELECT) to execute | |
| database | Yes | Target database name |
[postgres · risk:low] Execute a read-only SQL query against a Postgres database
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Read-only SQL query (SELECT) to execute | |
| database | Yes | Target database name |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. Only mentions 'risk:low' and 'read-only', but fails to disclose what happens on query failure, authentication needs, or connection behavior. Minimal behavioral information.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single-sentence description is very concise. However, it could be slightly more structured (e.g., separated risk and type). No wasted words, but front-loading of key info could be improved.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 2 parameters, full schema coverage, no output schema, and no annotations, the description is minimally adequate. It doesn't explain return format, error handling, or execution context (e.g., connection pooling). Gaps exist.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with brief parameter descriptions. The description adds no additional meaning beyond the schema; it merely restates the parameter purposes. Baseline 3 applies since schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states 'Execute a read-only SQL query against a Postgres database', providing a specific verb and resource. It clearly distinguishes from sibling tools, which are mostly niche APIs for specific services.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for read-only queries but does not provide explicit guidance on when to use this tool versus alternatives. No exclusions or context about prerequisites are given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.
Each tool is prefixed with its service name, and within each service, tools have distinct actions (e.g., mail_read vs. availability_find). The duvera tools cover different subdomains like dev, finance, and food with no overlap, making selection unambiguous.
All tools follow the pattern service__action_object or service__category_action, using lowercase with underscores. The order of verb and noun varies slightly (e.g., package_track vs. boardingpass_show), but the naming is highly predictable and readable.
With 52 tools, the server is large but justified as a gateway aggregating many external services. Each tool corresponds to a common task for its service, so no tool feels extraneous, though the total number is high.
The tool surface covers a wide array of services but only provides one or two basic operations per service (mostly read-only). While this suits a quick-lookup gateway, deeper workflows (e.g., creating or updating resources) are missing, leaving gaps for many use cases.