Skip to main content
Glama

relentless_list

Retrieve all entries from a Notion database to view existing content or search through records. Returns complete entry data for comprehensive content management.

Instructions

List all entries from a Notion database. Returns full content for all entries. Use this to see what content exists or to search through entries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
databaseYesThe database name (e.g., "blog", "docs", "leads")

Implementation Reference

  • The handler for the 'relentless_list' tool. It validates the database parameter, constructs the Relentless API endpoint, calls it using relentlessRequest, and formats the response as MCP content.
    case 'relentless_list': { const { database } = args as { database: string } if (!database) { throw new McpError(ErrorCode.InvalidParams, 'Missing required parameter: database') } console.error(`[${new Date().toISOString()}] Listing all from ${database}`) const endpoint = `${RELENTLESS_API_BASE}/api/v1/public/db/${database}/list` const result = await relentlessRequest(endpoint) return { content: [ { type: 'text', text: `Found ${Array.isArray(result) ? result.length : 0} entries:\n\n${JSON.stringify( result, null, 2 )}`, }, ], } }
  • src/index.ts:264-279 (registration)
    Registration of the 'relentless_list' tool in the MCP server's list of tools, including its name, description, and input schema.
    { name: 'relentless_list', description: 'List all entries from a Notion database. Returns full content for all entries. Use this to see what content exists or to search through entries.', inputSchema: { type: 'object', properties: { database: { type: 'string', description: 'The database name (e.g., "blog", "docs", "leads")', }, }, required: ['database'], }, }, {
  • Input schema for the 'relentless_list' tool, defining the required 'database' string parameter.
    inputSchema: { type: 'object', properties: { database: { type: 'string', description: 'The database name (e.g., "blog", "docs", "leads")', }, }, required: ['database'], },

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/PranaytheSingh/relentless-mcp'

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