Skip to main content
Glama
mohamedarif-m

IBM Content Services MCP Server

document_search

Search for documents in IBM FileNet by content and metadata filters. Define a class, properties, and conditions to retrieve matching documents.

Instructions

PREREQUISITES IN ORDER: To use this tool, you MUST call two other tools first in a specific sequence.

  1. determine_class tool to get the class_name for search_class. The search class must be a document class or a document subclass.

  2. get_searchable_property_descriptions to get a list of valid property_name for search_properties

Description: This tool will execute a request to search for documents based on content and the metadata criteria.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
search_parametersYesComplete set of parameters for executing a repository search.
search_termNoThe words for CBR search. This will be used to search for documents based on their CBR indexed content and metadata If empty string or None, then only search by metadata.
max_resultsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must carry the burden of behavioral disclosure. It mentions content and metadata search and prerequisites, but does not disclose return format, pagination, permissions, or side effects. An output schema exists but is not shown; description could still add value here.

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?

The description is structured with a prerequisites section and a summary sentence. While the prerequisites are necessary, they are verbose. No redundant information, but the main description is brief.

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 (nested parameters, output schema exists, sibling tools), the description covers purpose, prerequisites, and basic behavior. It lacks details on edge cases and output interpretation, but the input schema provides some of that. Annotations would further improve completeness.

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?

The description specifies that search_term is for CBR content search and can be empty for metadata-only, adding meaning beyond the schema. It also clarifies that search_class and search_properties require prior tool calls. With 67% schema coverage, this adds useful context.

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 searches for documents based on content and metadata criteria, distinguishing it from sibling tools like lookup_documents_by_name and repository_object_search. The prerequisites section further clarifies the scope.

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 description explicitly lists prerequisite steps (determine_class, get_searchable_property_descriptions) and notes that the search class must be a document class or subclass, providing clear usage guidance. However, it does not explain when to use this tool versus alternatives like repository_object_search.

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/mohamedarif-m/filenet-mcp-localfile'

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