Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NOTION_TOKENYesYour Notion integration token. Get it from https://www.notion.so/my-integrations → Create integration → Copy token → Share pages with integration

Tools

Functions exposed to the LLM to take actions

NameDescription
pages

Page lifecycle: create, get, update, archive, restore, duplicate. Requires parent_id for create. Returns markdown content for get.

databases

Database operations: create, get, query, create_page, update_page, delete_page, create_data_source, update_data_source, update_database. Databases contain data sources with schema and rows.

blocks

Block-level content: get, children, append, update, delete. Page IDs are valid block IDs. Use for precise edits.

users

User info: list, get, me, from_workspace. Use from_workspace if list fails due to permissions.

workspace

Workspace: info, search. Search returns pages/databases shared with integration. Use filter.object for type.

comments

Comments: list, create. Use page_id for new discussion, discussion_id for replies.

content_convert

Convert: markdown-to-blocks, blocks-to-markdown. Most tools handle markdown automatically.

help

Get full documentation for a tool. Use when compressed descriptions are insufficient.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Pages Tool Docs
Databases Tool Docs
Blocks Tool Docs
Users Tool Docs
Workspace Tool Docs
Comments Tool Docs
Content Convert Tool Docs

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