Skip to main content
Glama

Notion MCP Server

by kimjungyeol

notion_retrieve_database

Retrieve a Notion database by ID and specify the response format as JSON or Markdown. Use JSON for editing purposes and Markdown for simplified readability.

Instructions

Retrieve a database in Notion

Input Schema

NameRequiredDescriptionDefault
database_idYesThe ID of the database to retrieve.It should be a 32-character string (excluding hyphens) formatted as 8-4-4-4-12 with hyphens (-).
formatNoSpecify the response format. 'json' returns the original data structure, 'markdown' returns a more readable format. Use 'markdown' when the user only needs to read the page and isn't planning to write or modify it. Use 'json' when the user needs to read the page with the intention of writing to or modifying it.markdown

Input Schema (JSON Schema)

{ "properties": { "database_id": { "description": "The ID of the database to retrieve.It should be a 32-character string (excluding hyphens) formatted as 8-4-4-4-12 with hyphens (-).", "type": "string" }, "format": { "default": "markdown", "description": "Specify the response format. 'json' returns the original data structure, 'markdown' returns a more readable format. Use 'markdown' when the user only needs to read the page and isn't planning to write or modify it. Use 'json' when the user needs to read the page with the intention of writing to or modifying it.", "enum": [ "json", "markdown" ], "type": "string" } }, "required": [ "database_id" ], "type": "object" }

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/kimjungyeol/mcp-notion-server'

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