Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Get database import link

get_import_url

Import data into a Postgres database: returns a one-time upload link (30 minutes) and the curl command. Make the file with pg_dump --no-owner --no-acl --inserts --schema=public > dump.sql; from Supabase also remove RLS policies, grants to anon/authenticated and auth.* references. The whole file runs in one transaction.

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": "get_import_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDatabase slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the single destructiveHint=false annotation, the description discloses that the link is one-time, expires in 30 minutes, that a curl command is returned, and that the entire file executes within one transaction — meaningful operational context. It stops short of saying what happens to existing tables/data or whether the operation is reversible, which matters for an import tool.

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?

Purpose and return values are front-loaded in sentence one, with preparation details following. The pg_dump and Supabase guidance is dense but earns its place by preventing malformed imports; only the trailing transaction note feels slightly tacked on.

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?

With no output schema, the description correctly explains what comes back (upload URL plus curl command) and how long it lives. For a one-parameter tool this is largely complete, with the remaining gap being preconditions and the effect on existing schema contents.

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?

There is one parameter (slug) and schema description coverage is 100%, so the schema already carries the semantics. The description adds nothing about slug resolution or what happens if it is wrong, which is the baseline-3 outcome when the schema does the work.

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?

The first sentence names a specific verb (import), a specific resource (Postgres database), and the concrete return artifacts (one-time upload link with 30-minute window plus a curl command). That is far more precise than the sibling upload-link tools, though it does not explicitly contrast itself with get_file_upload_url or get_deploy_upload_url.

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 description tells the agent how to prepare the payload (pg_dump flags, stripping RLS policies, anon/authenticated grants and auth.* references, Supabase specifics), which is genuine procedural guidance. It never says when to prefer this over import_file or link_database, nor does it state prerequisites such as the database needing to exist first.

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.