Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Enable a Postgres extension

enable_extension

Switch on a Postgres extension in a database: pgcrypto, uuid-ossp, citext, pg_trgm, unaccent or vector (pgvector). Do it before importing a Supabase dump that uses them.

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": {
      "slug": "<slug>",
      "name": "<name>"
    },
    "name": "enable_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesExtension name
slugYesDatabase slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description must carry most of the burden. It usefully discloses that the extension set is limited to a fixed whitelist, but says nothing about idempotency (re-running on an already-enabled extension), required privileges, or whether the change is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, zero filler, with the action and the valid value set front-loaded and the operational timing hint placed second. Nothing could be removed without losing information.

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?

For a two-parameter mutation with full schema coverage and no output schema, the description covers purpose, allowed values, and when to run it. The remaining gap is failure/repeat-run behavior, which matters somewhat for a schema-changing operation but is a minor omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds real value beyond it: the schema types 'name' as an unconstrained string, and the description supplies the actual allowed extension identifiers. It does not clarify the relationship between 'slug' and database identity beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Switch on a Postgres extension in a database') and then enumerates the supported extensions, so an agent knows exactly what the tool does and what values are in scope. No sibling in the catalog performs this operation, so no differentiation is needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete when-to-use condition with ordering: enable an extension before importing a Supabase dump that depends on it. It stops short of stating when NOT to use it or what to do if the extension is already enabled, so it is clear context rather than full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.