database-query

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Query Notion Database

查询Notion数据库

Use the Notion MCP server to query a database on the user's behalf.
通过Notion MCP服务器代表用户查询数据库。

Workflow

工作流程

  1. Interpret the request to extract:
    • Target database (by name or ID)
    • Optional filter(s) or sort(s) the user describes.
  2. If multiple databases match the name, ask the user to choose the correct one.
  3. Perform a query that:
    • Applies the requested filters (e.g. status = Active, owner = Alice, due date this week).
    • Limits to a reasonable number of rows (e.g. 20-50) unless the user explicitly asks for more.
  4. Present the results in a compact table-like format with:
    • Key properties (e.g. Name, Status, Owner, Due).
    • A short summary if the database has rich text content.
  5. If no rows match, say so clearly and suggest alternative filters.
  1. 解析请求以提取:
    • 目标数据库(通过名称或ID)
    • 用户描述的可选筛选条件或排序规则
  2. 如果多个数据库匹配该名称,请让用户选择正确的数据库。
  3. 执行查询,要求:
    • 应用请求的筛选条件(例如:状态=活跃,所有者=Alice,截止日期为本周)。
    • 除非用户明确要求更多,否则将结果行数限制在合理范围内(例如20-50行)。
  4. 以紧凑类表格格式呈现结果,包含:
    • 关键属性(例如:名称、状态、所有者、截止日期)。
    • 如果数据库包含富文本内容,提供简短摘要。
  5. 如果没有匹配的行,请明确告知用户并建议其他筛选条件。

Important

注意事项

Avoid dumping raw JSON. Focus on readability and decision-making value for the user.
避免输出原始JSON。重点关注内容的可读性和对用户决策的价值。