Skip to main content
Glama
ergut

MCP server for LogSeq

by ergut

create_page

Creates a new page in Logseq, automatically parsing markdown into a block hierarchy with headings, lists, code blocks, and YAML frontmatter as page properties.

Instructions

Create a new page in Logseq with properly structured blocks.

Markdown content is automatically parsed into Logseq's block hierarchy:

  • Headings (# ## ###) create nested sections

  • Lists (- or 1.) become proper block trees

  • Code blocks are preserved as single blocks

  • YAML frontmatter (---) becomes page properties

Example content:

---
tags: [project, active]
priority: high
---

# Project Title
Introduction paragraph.

## Tasks
- Task 1
  - Subtask A
- Task 2

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesTitle of the new page
contentNoMarkdown content to parse into blocks (optional)
propertiesNoPage properties (merged with frontmatter if both provided)
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Without annotations, the description provides good behavioral context: automatic parsing of markdown into block hierarchy, merging frontmatter with properties parameter, and preservation of code blocks. It does not cover error handling or whether existing pages are overwritten, but covers core behavior well.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with purpose. The example is instructive and concise. Every sentence adds value, and the markdown parsing details are compactly presented.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers creation and content parsing thoroughly, but lacks explanation of return values or what happens if a page with the same title exists. Given the tool's complexity and lack of output schema, these gaps reduce completeness slightly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds significant value beyond the schema: it explains that content is optional, markdown is parsed into blocks, and the 'properties' parameter merges with frontmatter. This helps the agent understand parameter interactions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Create a new page in Logseq with properly structured blocks,' which is a specific verb+resource. It distinguishes from sibling tools like update_page and delete_page by focusing on creation and block structure.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains when to use the tool (creating a page) and provides details about content parsing (headings, lists, code blocks, frontmatter). However, it does not explicitly mention when not to use it or compare to alternatives like insert_nested_block.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/ergut/mcp-logseq'

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