Skip to main content
Glama

Notion MCP Server

by gendosu

API-post-search

Search and retrieve Notion pages or databases by title, filter by object type, and sort results by last edited time using a simple API query.

Instructions

Notion | Search by title

Input Schema

NameRequiredDescriptionDefault
filterNoA set of criteria, `value` and `property` keys, that limits the results to either only pages or only databases. Possible `value` values are `"page"` or `"database"`. The only supported `property` value is `"object"`.
page_sizeNoThe number of items from the full list to include in the response. Maximum: `100`.
queryNoThe text that the API compares page and database titles against.
sortNoA set of criteria, `direction` and `timestamp` keys, that orders the results. The **only** supported timestamp value is `"last_edited_time"`. Supported `direction` values are `"ascending"` and `"descending"`. If `sort` is not provided, then the most recently edited results are returned first.
start_cursorNoA `cursor` value returned in a previous response that If supplied, limits the response to results starting after the `cursor`. If not supplied, then the first page of results is returned. Refer to [pagination](https://developers.notion.com/reference/intro#pagination) for more details.

Input Schema (JSON Schema)

{ "$defs": {}, "properties": { "filter": { "additionalProperties": true, "description": "A set of criteria, `value` and `property` keys, that limits the results to either only pages or only databases. Possible `value` values are `\"page\"` or `\"database\"`. The only supported `property` value is `\"object\"`.", "properties": { "property": { "description": "The name of the property to filter by. Currently the only property you can filter by is the object type. Possible values include `object`. Limitation: Currently the only filter allowed is `object` which will filter by type of object (either `page` or `database`)", "type": "string" }, "value": { "description": "The value of the property to filter the results by. Possible values for object type include `page` or `database`. **Limitation**: Currently the only filter allowed is `object` which will filter by type of object (either `page` or `database`)", "type": "string" } }, "type": "object" }, "page_size": { "default": 100, "description": "The number of items from the full list to include in the response. Maximum: `100`.", "format": "int32", "type": "integer" }, "query": { "description": "The text that the API compares page and database titles against.", "type": "string" }, "sort": { "additionalProperties": true, "description": "A set of criteria, `direction` and `timestamp` keys, that orders the results. The **only** supported timestamp value is `\"last_edited_time\"`. Supported `direction` values are `\"ascending\"` and `\"descending\"`. If `sort` is not provided, then the most recently edited results are returned first.", "properties": { "direction": { "description": "The direction to sort. Possible values include `ascending` and `descending`.", "type": "string" }, "timestamp": { "description": "The name of the timestamp to sort against. Possible values include `last_edited_time`.", "type": "string" } }, "type": "object" }, "start_cursor": { "description": "A `cursor` value returned in a previous response that If supplied, limits the response to results starting after the `cursor`. If not supplied, then the first page of results is returned. Refer to [pagination](https://developers.notion.com/reference/intro#pagination) for more details.", "type": "string" } }, "required": [], "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/gendosu/notion-mcp-server'

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