Skip to main content
Glama
codeocean

Code Ocean MCP Server

Official
by codeocean

search_capsules

Search Code Ocean capsules with filters, sorting, and pagination to find specific computational workflows and scientific data assets.

Instructions

Search for capsules with filtering, sorting, and pagination options. Compact results: {items: [{id, n, s, d, t}], has_more, next_token, item_count}.

Item fields: id=id, n=name, s=slug, d=description (truncated), t=tags (limited). Pagination: item_count returns the number of items in the current page. Use next_token for additional pages when has_more=true. Set include_field_names=true to add field_names with full labels. Use get_capsule(id) if full details needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
search_paramsYes
include_field_namesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes
has_moreYes
item_countYes
next_tokenNo
field_namesNo
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes the tool's behavior: it's a search operation (implied read-only), returns compact results with specific field mappings, supports pagination with next_token, and includes an option for field labels. However, it doesn't mention rate limits, authentication requirements, or error conditions, leaving some behavioral aspects uncovered.

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 well-structured and appropriately sized. It front-loads the core purpose, then details result format, pagination behavior, and usage guidance. Every sentence adds value, though the field mapping explanation (id=id, n=name, etc.) could be slightly more concise.

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?

Given the tool's complexity (search with multiple parameters) and the presence of an output schema, the description is complete enough. It explains the compact result format, pagination mechanism, and when to use alternatives. With an output schema handling return values, the description focuses appropriately on usage context and behavioral guidance.

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 schema description coverage is 0%, so the description must compensate. It adds significant value by explaining the 'include_field_names' parameter's effect and providing context about pagination behavior (next_token, has_more). While it doesn't detail all search parameters, it gives essential guidance on the tool's core functionality beyond what the bare schema provides.

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: 'Search for capsules with filtering, sorting, and pagination options.' It specifies the resource (capsules) and the core capabilities (filtering, sorting, pagination), distinguishing it from sibling tools like 'get_capsule' which retrieves full details for a single capsule.

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?

The description provides explicit guidance on when to use this tool versus alternatives: 'Use get_capsule(id) if full details needed.' It also clarifies the tool's scope by describing the compact result format and when to use pagination (when has_more=true), giving clear context for its application.

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

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