Skip to main content
Glama

Create Semantic Page

create_semantic_page

Create a structured AFFiNE page with semantic section templates—meeting notes, project hub, spec page, wiki—or custom blocks to organize content effectively.

Instructions

Create an AFFiNE-native page with intentional section structure and native block composition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoPage title.
pageTypeNoSemantic page template to seed default sections.
sectionsNoOptional explicit section structure. If omitted, the page type defaults are used.
parentDocIdNoOptional parent doc to link the new page under in the sidebar.
workspaceIdNoAFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured.
Behavior3/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false. The description adds minimal behavioral context beyond creating a page. It doesn't specify side effects like sidebar linking or template application details, but annotations cover the safety profile adequately.

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?

Single sentence, front-loaded with the key action ('Create an AFFiNE-native page'). No redundant phrases. Very concise.

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

Completeness3/5

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

Given full schema coverage and standard annotations, the description is minimally complete. However, it lacks explanation of what a 'Semantic Page' is or guidance on choosing pageType templates. With many sibling creation tools, more context would help.

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

Parameters3/5

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

Schema has 100% description coverage for all 5 parameters. The description does not add extra meaning beyond what the schema provides. Baseline of 3 is appropriate as no compensation is needed.

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

Purpose4/5

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

The description clearly states it creates an AFFiNE-native page with intentional section structure and native block composition. It distinguishes from siblings like create_doc or create_doc_from_markdown by emphasizing 'semantic' structure, but does not explicitly differentiate.

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

Usage Guidelines3/5

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

The description implies use for creating structured pages with sections, but provides no explicit when-to-use or when-not-to-use guidance. No alternatives are mentioned, leaving the agent to infer context from the name and schema.

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/DAWNCR0W/affine-mcp-server'

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