notion_get_database

Pack: notion_connect · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/notion_get_database for the schema, then POST the same URL with its arguments for the data.

Get a Notion database schema by ID. Returns all properties, field types, and configuration to understand structure.

Parameters

NameTypeRequiredDescription
database_idstringyesNotion database ID (UUID format, with or without dashes)

Example call

Arguments

{
  "database_id": "a1b2c3d4e5f641d4a716446655440000"
}

curl

curl -X POST https://gateway.pipeworx.io/notion_connect/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"notion_get_database","arguments":{"database_id":"a1b2c3d4e5f641d4a716446655440000"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('notion_get_database', {
  "database_id": "a1b2c3d4e5f641d4a716446655440000"
});

Response shape

FieldTypeDescription
objectstringObject type (‘database’)
idstringDatabase ID
created_timestringISO 8601 creation timestamp
last_edited_timestringISO 8601 last edit timestamp
created_byobjectCreator user object
last_edited_byobjectLast editor user object
titlearrayDatabase title content blocks
descriptionarrayDatabase description content blocks
propertiesobjectDatabase properties and their configurations
parentobjectParent object reference
archivedbooleanWhether database is archived
urlstringNotion web URL for the database
Full JSON Schema
{
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "description": "Object type ('database')"
    },
    "id": {
      "type": "string",
      "description": "Database ID"
    },
    "created_time": {
      "type": "string",
      "description": "ISO 8601 creation timestamp"
    },
    "last_edited_time": {
      "type": "string",
      "description": "ISO 8601 last edit timestamp"
    },
    "created_by": {
      "type": "object",
      "description": "Creator user object",
      "properties": {
        "object": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    },
    "last_edited_by": {
      "type": "object",
      "description": "Last editor user object",
      "properties": {
        "object": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    },
    "title": {
      "type": "array",
      "description": "Database title content blocks",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "text": {
            "type": "object",
            "properties": {
              "content": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "description": {
      "type": "array",
      "description": "Database description content blocks"
    },
    "properties": {
      "type": "object",
      "description": "Database properties and their configurations"
    },
    "parent": {
      "type": "object",
      "description": "Parent object reference"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether database is archived"
    },
    "url": {
      "type": "string",
      "description": "Notion web URL for the database"
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the notion_connect pack
{
  "mcpServers": {
    "notion_connect": {
      "url": "https://gateway.pipeworx.io/notion_connect/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 30, 2026