Skip to main content
Glama

get_note

Retrieve complete details of a single Notion page, including its body content, by providing the page ID. Use this tool to access full note information for workflow management.

Instructions

获取单篇笔记的完整详情(含 body 内容)。

Args: note_id: Notion 页面 ID include_content: 是否返回页面 body 内容,默认 True

Returns: 笔记详情,如果 include_content=True 则包含 content 字段

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
note_idYes
include_contentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the logic to fetch a note from Notion by its ID, optionally including its content.
    def get_note(note_id: str, include_content: bool = True) -> dict:
        """
        获取单篇笔记的完整详情(含 body 内容)。
    
        Args:
            note_id:         Notion 页面 ID
            include_content: 是否返回页面 body 内容,默认 True
    
        Returns:
            笔记详情,如果 include_content=True 则包含 content 字段
        """
        client = get_client()
        note = client.get_note(note_id)
        result = note.model_dump()
        if include_content:
            result["content"] = client.get_note_content(note_id)
        return result
  • server.py:49-49 (registration)
    Registration of the get_note tool within the MCP server setup.
    mcp.tool(get_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. It discloses that the tool retrieves details and can optionally include body content, which is useful behavioral context. However, it doesn't mention permissions, rate limits, error conditions, or whether it's a read-only operation (though 'get' implies read-only). The description adds some value but lacks comprehensive behavioral details.

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 concise. The first sentence states the purpose clearly, followed by organized sections for Args and Returns. Every sentence adds value: the purpose, parameter explanations, and return behavior. No wasted words or redundancy.

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 low complexity (2 parameters, no nested objects) and the presence of an output schema (which handles return values), the description is reasonably complete. It covers purpose, parameters, and return conditions. However, for a tool with no annotations, it could benefit from more behavioral context like error handling or permissions.

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?

Schema description coverage is 0%, so the description must compensate. It provides clear semantics for both parameters: note_id as a Notion page ID and include_content as a boolean controlling body content inclusion, with a default value. This adds meaningful context beyond the bare schema. However, it doesn't specify the format of note_id (e.g., UUID) or detail what 'body 内容' entails.

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: '获取单篇笔记的完整详情(含 body 内容)' (Get the complete details of a single note, including body content). It specifies the verb ('获取' - get) and resource ('笔记' - note), and distinguishes it from sibling tools like list_notes or search_notes by focusing on a single note. However, it doesn't explicitly differentiate from get_task or other get_* tools beyond the resource type.

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 usage context by specifying it's for retrieving a single note's details, suggesting it should be used when you have a specific note_id. However, it lacks explicit guidance on when to use this versus alternatives like list_notes (for multiple notes) or search_notes (for filtered searches). No exclusions or prerequisites are mentioned.

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