Skip to main content
Glama

Find Docmost pages

find_pages
Read-only

Search pages by full-text query, filter by label or trash, or list recently updated pages, optionally limited to one space. Supports pagination and returns results for reading or restoring.

Instructions

Finds pages by full-text search, by label or in a space's trash, or with none of those lists the most recently updated pages, optionally within one space.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "find_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOnly pages carrying this label, most recently updated first; case does not matter.
limitNoMaximum results to return; defaults to 20.
queryNoWords to search page titles and bodies for.
cursorNonextCursor from the previous call, to fetch the next results.
inTrashNoList the pages in spaceId's trash, most recently deleted first, with the page ids restore_page takes; deleted subpages come back with their parent and aren't listed separately.
spaceIdNoSpace id from get_workspace; limits the results to that space, and is needed with inTrash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A4/5.0
Behavior4/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 genuinely useful behavioral context beyond that: unfiltered calls return the most recently updated pages, results can be scoped to one space, and the trash mode is a distinct listing. It stops short of describing result shape or pagination semantics, which remain in the schema.

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?

Everything is packed into one well-structured sentence with the primary capability front-loaded and the space scoping modifier placed last. No filler or repetition. The density is high, and the enumerated alternatives read slightly list-like but remain clear.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Six optional parameters, no output schema, and full schema coverage mean the description's job is to explain mode selection, which it does completely. All four access paths and the space scoping are accounted for, and annotations handle the safety profile.

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 description coverage is 100%, so the schema already explains label, query, spaceId, cursor, limit, and inTrash in detail. The description adds only marginal semantics, chiefly that the filter modes are alternatives to one another ("or with none of those") rather than combinable. That is a useful hint but not enough to exceed the baseline materially.

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 uses a specific verb ("Finds") and resource ("pages"), then enumerates the exact modes: full-text search, label filter, space trash, or default most-recently-updated. This lets an agent understand the tool's capability precisely. It does not distinguish itself from the sibling list_pages, which likely overlaps and would need explicit routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The mode-to-parameter mapping is clearly implied: supply a query for full-text, a label for labeled pages, inTrash for trash, and nothing for recent updates. That is actionable when-to-use guidance. However, it never states when NOT to use it instead of list_pages or export_pages, so a routing gap remains.

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