Skip to main content
Glama

search_pages

Read-only

Find page titles case-insensitively in a specified OneNote section or across all sections and notebooks when no section is given.

Instructions

Search page titles (case-insensitive) in one section, or across every section of every notebook when no section is given.

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": {
      "query": "<query>"
    },
    "name": "search_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 50)
queryYes
sectionNoSection name
notebookNoNotebook name
sectionIdNoSection id (takes precedence over names)
sectionGroupNoSection group name, to pick a section inside a group

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds that matching is case-insensitive and that omitting a section widens to all notebooks. It says nothing about result ordering, default result count, or truncation behavior, which matters for a search tool.

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?

One sentence, front-loaded with the verb and resource, followed by the scoping rule. No filler, and nothing that could be cut without losing information.

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 search tool with no output schema, the definition covers scope but not the shape of results returned, which fields are matched, or how notebook and sectionGroup narrow results. It is adequate but leaves real gaps an agent would hit on first call.

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

Parameters3/5

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

Schema coverage is 83%, so the schema documents most parameters, including limit and sectionId precedence, and the baseline 3 applies. The description adds only the section/no-section behavior; it does not explain the notebook, sectionGroup, or limit parameters or how they interact with the search scope.

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?

A specific verb and resource: 'Search page titles (case-insensitive)'. It also states the scope variants (one section vs. all sections of all notebooks), so an agent can tell it apart from read/get tools. It stops short of naming sibling list_pages or explaining the search-vs-list distinction.

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?

It implies when the broad mode applies: omitting a section searches everything. That is useful, but there is no explicit when-to-use or when-not-to-use versus list_pages or get_page, and no precondition guidance, so the agent must infer the choice.

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