Skip to main content
Glama
matlock08

Watson Discovery MCP Server

by matlock08

list_project_collections

List all collections within a Watson Discovery project to retrieve their names and UUIDs for inventory or further operations.

Instructions

Watson Discovery List Project Collections

Description

The Watson Discovery List Project Collections return a lists of existing collections for the specified project and returns structured information about each collection

Function

This tool connects to your IBM Watson Discovery instance using your provided authentication credentials, listing the available collections of a project, and returns structured information about each collection.

Use Cases

  • Inventory management of Watson Discovery collections

  • Collection selection for further operations, such as querying

  • Pre-processing step before performing operations on specific projects and collections

  • Integration with automated workflows that require collection UUIDs

Authentication

This tool requires valid IBM Cloud IAM API credentials to access your Watson Discovery instance. Ensure your service account has appropriate permissions to list collections.

Output Format

Results are returned as a structured array of collections objects, each containing:

  • name: The collection name (string)

  • collection_id: The collection's UUID (string in UUID format)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
Behavior3/5

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

Describes behavior as reading collections and returning structured info. No annotations provided, so description carries full burden, but lacks details on pagination, errors, or performance. Adequate for a read list operation.

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?

Well-structured with sections (Description, Function, Use Cases, Authentication, Output Format). Some redundancy ('return a lists' vs 'listing'), but overall efficient and front-loaded.

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?

Covers authentication, use cases, and output format details (name and collection_id). Missing error handling and pagination, but for a simple list tool this is reasonable.

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

Parameters2/5

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

Schema coverage is 0% – no parameter-level description. The description only implies project_id via 'specified project', adding minimal meaning beyond the schema's title. Fails to compensate for low coverage.

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?

Clearly states 'list existing collections for the specified project' – a specific verb+resource. Differentiates from siblings (get_projects lists projects, query_project queries data).

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?

Provides explicit use cases (inventory, selection, pre-processing) and mentions authentication requirements. Lacks explicit 'when not to use' or comparison to siblings, but context is clear.

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/matlock08/watson_discovery_mcp'

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