Skip to main content
Glama

search_in_page

Search for plain text inside a Notion page with optional scope to a specific toggle. Finds case-insensitive substring matches in raw block content.

Instructions

Search raw Notion block plain text inside a page, optionally scoped to one toggle or toggleable heading by title. Matching is case-insensitive plain substring search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYesPage ID
queryYesPlain substring to search for (case-insensitive, non-empty)
within_toggleNoOptional toggle title to restrict search scope (case-insensitive)
Behavior3/5

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

With no annotations, the description carries full burden. It discloses case-insensitive substring matching and optional scoping, but lacks details on edge cases (e.g., no matches, invalid toggle title), return format, or performance implications. It is adequate but not comprehensive.

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 a single sentence that is front-loaded with the action and key details. Every piece of information is relevant, and there is no verbosity or repetition.

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 no output schema, the description does not specify return format or error handling. For a search tool, additional context about result structure or limitations would improve completeness. It remains adequate for basic use.

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 100%, so baseline is 3. The description adds value by clarifying that search is on 'raw Notion block plain text' and that scoping includes 'toggleable heading', beyond the schema's 'toggle title'. This enhances understanding of the parameters.

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

Purpose5/5

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

The description clearly states the tool's action ('search raw Notion block plain text inside a page') and its optional scoping to a toggle or toggleable heading. It distinguishes from sibling tools like 'search' (global) and 'find_replace' by being page-specific and read-only.

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 for searching within a specific page without providing explicit guidance on when to choose this over alternatives like 'search' or 'find_replace'. There is no mention of prerequisites or context where this tool is preferred.

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/Grey-Iris/easy-notion-mcp'

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