Skip to main content
Glama

databases

Manage Notion databases by creating, querying, and updating pages and schemas. Perform operations like filtering, sorting, and bulk edits to organize and manipulate structured data.

Instructions

Database operations: create, get, query, create_page, update_page, delete_page, create_data_source, update_data_source, update_database, list_templates. Accepts both database_id (from URL) and data_source_id (from workspace search) — auto-resolved. Databases contain data sources with schema and rows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
database_idNoDatabase ID (from Notion URL) or data_source_id (from workspace search). Auto-resolved for query/create_page/list_templates.
data_source_idNoData source ID (for update_data_source action)
parent_idNoParent page ID (for create/update_database)
titleNoTitle (for database or data source)
descriptionNoDescription
propertiesNoSchema properties (for create/update data source)
is_inlineNoDisplay as inline (for create/update_database)
iconNoIcon (for update_database): emoji (e.g. "📋"), external URL (https://...), or built-in shorthand (name:color, e.g. "document:gray")
coverNoCover image (for update_database): URL or built-in shorthand (gradient_1..11, solid_red/yellow/blue/beige, nasa_*, met_*, rijksmuseum_*, woodcuts_*)
filtersNoQuery filters (for query action)
sortsNoQuery sorts
limitNoMax query results
searchNoSmart search across text fields (for query)
page_idNoSingle page ID (for update_page)
page_idsNoMultiple page IDs (for delete_page)
page_propertiesNoPage properties to update (for update_page)
pagesNoArray of pages for bulk create/update

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/n24q02m/better-notion-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server