Skip to main content
Glama

Search Documents by Title

search_docs
Read-onlyIdempotent

Search documents by title using workspace metadata to quickly find and access docs with their IDs, URLs, and trash status.

Instructions

Fast search for documents by title using workspace metadata. Much faster than exporting each doc. Returns docId, title, direct URL, and inTrash for each match.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagNoOptional tag filter (case-insensitive substring match against resolved tag names).
limitNoMax results to return (default: 20).
queryYesSearch query — matched case-insensitively against doc titles.
sortByNoSort by match relevance (default) or by updatedAt.
matchModeNoHow to match titles (default: substring).
workspaceIdNoWorkspace ID (optional if default set).
sortDirectionNoSort direction for updatedAt sorting (default: desc).
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive. Description adds context about speed and return fields, but no additional behavioral details beyond that.

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?

Two sentences, front-loaded with core purpose, no wasted words.

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

Completeness4/5

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

With no output schema, description lists return fields (docId, title, URL, inTrash). 7 parameters are documented in schema. Sufficient for a read-only search tool.

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 parameters are well-documented. Description does not add meaning beyond what schema already provides.

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?

Description clearly states the tool searches documents by title using workspace metadata, and lists the returned fields. It distinguishes from 'exporting each doc' but not from sibling search tools like 'find_doc_by_title'.

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?

Description implies usage for fast title search instead of exporting, but lacks explicit when-to-use or when-not-to-use guidance relative to sibling tools.

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/DAWNCR0W/affine-mcp-server'

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