Skip to main content
Glama
mcp-server-postgres

mcp-server-postgres

by Ismail-2001

confirm_ddl

Confirm and execute high-risk DDL operations with a server-issued validation token to complete validated schema changes.

Instructions

Confirms and executes high-risk DDL operations after receiving a validation token.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>"
    },
    "name": "confirm_ddl"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesThe confirmation token provided by the server.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only that the operation is high-risk and that it executes a DDL change. It says nothing about irreversibility, required privileges, whether the change is transactional or rolled back on failure, or what a failed confirmation returns — all critical for a destructive mutation. The single word 'high-risk' is the only risk signal present.

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?

One sentence, front-loaded with the action and the risk level, with no filler. It is efficient, though so terse that it leaves the reader wanting a second sentence on consequences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a high-risk mutation tool with no annotations and no output schema, so the description is the only place an agent could learn about consequences, permissions, or failure behavior — and it covers none of them. An agent knows what the tool does but not what it costs to be wrong, which is inadequate for an irreversible DDL operation.

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 coverage is 100% and the single parameter already documents itself as 'the confirmation token provided by the server.' The description restates that the token is validated but adds no format, lifetime, or sourcing detail beyond the schema, so the baseline of 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?

States a specific pair of verbs (confirms and executes) and a specific resource class (high-risk DDL operations), which is enough to separate it from the read-oriented siblings like query, explain, and describe_table. It stops short of naming a sibling directly, but the 'high-risk DDL' framing makes the scope unmistakable.

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?

The phrase 'after receiving a validation token' implies a prerequisite two-step workflow (token obtained elsewhere, then this call), which is useful implicit guidance. It never states what to do if no token exists, whether the token is single-use or expiring, or which sibling produces the token, so the usage guidance is implied rather than explicit.

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