Skip to main content
Glama

search

Find files in a workspace using full-text search, tag filtering, or partial name matching. Narrow results to a specific library for precise retrieval.

Instructions

Find files in a workspace when you don't know their exact ID. Pick a mode: "text" runs a full-text search over file contents and titles; "tags" returns files carrying ALL of the given tagIds (AND logic); "files" matches by partial file name/title. Reach for search before get when you only know roughly what you want; use list with type=files instead when you just need everything in a library. Optionally narrow to one library with libraryId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYestext: full-text search; tags: find files matching ALL specified tags (AND logic); files: find files by partial name/title match
limitNo
queryNoSearch query (mode=text or mode=files)
offsetNo
tagIdsNoTag IDs to match (mode=tags)
libraryIdNoLimit search to a specific library
workspaceIdNo
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses behaviors such as the logic for each mode (AND for tags) and optional narrowing by libraryId. However, it does not mention pagination (limit/offset) or error handling, which would be useful.

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 concise, front-loads the purpose, explains modes clearly, and provides usage guidance—all in two efficient sentences with no fluff.

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?

Given the complexity (7 parameters, no output schema), the description covers the main intent, mode selection, library narrowing, and sibling differentiation. It does not describe the return format, but it's fairly complete for a search tool.

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 description coverage is 57%. The description adds meaning beyond schema by explaining when to use each mode and the AND logic for tags. For parameters like limit, offset, and workspaceId, no additional info is provided, but overall it adds value.

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 purpose: 'Find files in a workspace when you don't know their exact ID.' It also explains three distinct search modes (text, tags, files), which distinguishes it from siblings like 'get' and 'list'.

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

Usage Guidelines5/5

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

Explicit usage guidance is provided: 'Reach for search before `get` when you only know roughly what you want; use `list` with type=files instead when you just need everything in a library.' This clearly tells the agent when to use this tool and when to use alternatives.

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/contextium-io/contextium-mcp-server'

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