Skip to main content
Glama

create_note

Create new notes in Notion with titles, content, and optional tags for organizing meetings, ideas, references, or quick memos.

Instructions

在笔记库中创建一篇新笔记。

Args: title: 笔记标题(必填) content: 笔记正文(必填,支持纯文本/Markdown) note_type: 笔记类型,可选:会议记录 | 想法 | 参考 | 速记,默认速记 tags: 标签列表,如 ["前端", "架构"],可选

Returns: 创建成功的笔记详情

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
contentYes
note_typeNo速记
tagsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the logic to create a note by preparing the data and calling the client.
    def create_note(
        title: str,
        content: str,
        note_type: str = "速记",
        tags: Optional[list[str]] = None,
    ) -> dict:
        """
        在笔记库中创建一篇新笔记。
    
        Args:
            title:     笔记标题(必填)
            content:   笔记正文(必填,支持纯文本/Markdown)
            note_type: 笔记类型,可选:会议记录 | 想法 | 参考 | 速记,默认速记
            tags:      标签列表,如 ["前端", "架构"],可选
    
        Returns:
            创建成功的笔记详情
        """
        data = NoteCreate(
            title=title,
            content=content,
            type=NoteType(note_type),
            tags=tags or [],
        )
        return get_client().create_note(data).model_dump()
  • server.py:50-50 (registration)
    Tool registration for 'create_note' using mcp.tool decorator.
    mcp.tool(create_note)
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states this is a creation operation ('创建'), implying it's a write/mutation tool, but doesn't mention permissions, rate limits, or what happens on failure. The description adds basic context about what gets created (a note with specified fields) but lacks deeper behavioral traits like idempotency or error handling.

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

Conciseness4/5

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

The description is well-structured with clear sections (purpose, Args, Returns) and uses bullet-like formatting for parameters. It's appropriately sized with no redundant information. Every sentence earns its place, though the 'Returns' section is somewhat generic ('创建成功的笔记详情' - details of successfully created note).

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?

Given the tool's moderate complexity (4 parameters, creation operation) and the presence of an output schema (which handles return values), the description is reasonably complete. It covers the core functionality and parameter meanings adequately. The main gap is lack of behavioral context (permissions, errors) which would be important for a creation tool, but the output schema reduces the need to describe return format.

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

Parameters4/5

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

The schema description coverage is 0%, so the description must compensate. It provides meaningful semantics for all 4 parameters: 'title' as required note title, 'content' as required text/Markdown body, 'note_type' with enumerated options and default, and 'tags' as optional list. This adds substantial value beyond the bare schema, though it doesn't cover all possible edge cases (e.g., title length limits).

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 the tool's purpose: '在笔记库中创建一篇新笔记' (create a new note in the note library). It specifies the verb '创建' (create) and resource '笔记' (note), making the action explicit. However, it doesn't distinguish this from sibling tools like 'append_note' or 'update_task', which would require more specific differentiation.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus alternatives. With siblings like 'append_note' (for adding to existing notes) and 'create_task' (for creating tasks instead of notes), the description lacks explicit when-to-use or when-not-to-use instructions, leaving the agent to infer usage context.

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/wauwaya/notion-workflow-mcp'

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