Skip to main content
Glama

notion_search

Search pages and databases in a Notion workspace, or look up a person by name or email, using a specified connected account.

Instructions

Search pages and databases in the workspace, or look up a person by name or email (query_type "user").

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account": "<account>",
      "query": "<query>"
    },
    "name": "notion_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesShort, specific keywords, or a name or email.
accountYesWhich connected account (alias) to act as, e.g. "business".
page_urlNoOnly search under this page.
page_sizeNoMax results.
query_typeNo
teamspace_idNoOnly search in this teamspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does add real behavioral information beyond the schema: that query_type "user" switches from content search to identity lookup, which is not conveyed by the bare enum. It omits whether the operation is read-only, how results are ranked or capped, and any pagination behavior tied to page_size.

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?

A single front-loaded sentence with no filler; the parenthetical mode switch is compact. The parenthetical placement is slightly awkward but costs nothing in clarity.

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?

For a 6-parameter, annotation-free tool with no output schema, the description covers purpose and mode selection but says nothing about return shape, result limits, or ranking. An agent can call it, but cannot predict what comes back or how to interpret truncated results.

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 coverage is already 83%, so baseline is 3; the description goes further by explaining the semantics of the one undocumented parameter, query_type — "user" means lookup by name or email rather than content search — and reinforces that query accepts keywords, a name, or an email. Scope parameters (page_url, teamspace_id) are left to the schema.

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?

States a specific verb and resource ('Search pages and databases in the workspace') and names a distinct second mode ('look up a person by name or email'). It does not, however, distinguish itself from siblings like notion_query_database or notion_fetch, so an agent must still infer which is appropriate.

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 when the user-lookup mode applies via query_type "user", but gives no explicit when-to-use versus notion_query_database (structured database queries) or notion_fetch (direct retrieval). Guidance is implied rather than stated.

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