Skip to main content
Glama
codeocean

Code Ocean MCP Server

Official
by codeocean

get_capsule

Retrieve metadata for a specific Code Ocean capsule using its unique ID. Use this tool to fetch detailed information about known computational workflows and data assets.

Instructions

Retrieve metadata for a specific capsule by its ID.Use only to fetch metadata for a known capsule ID. Do not use for searching.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capsule_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
slugYes
tagsNo
fieldNo
ownerYes
statusYes
articleNo
createdYes
versionsNo
submissionNo
descriptionNo
last_accessedNo
cloned_from_urlNo
release_capsuleNo
original_capsuleNo
Behavior3/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 states the tool retrieves metadata, implying a read-only operation, but doesn't disclose behavioral traits like authentication requirements, rate limits, error conditions, or what metadata fields are returned. The description is minimal but doesn't contradict any annotations.

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 two sentences with zero waste: the first states the purpose, and the second provides usage guidelines. It's front-loaded and appropriately sized for a simple retrieval tool.

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 tool's low complexity (1 parameter, no annotations, but has an output schema), the description is reasonably complete. It covers purpose and usage well, but lacks details on behavioral aspects like permissions or error handling. The output schema likely handles return values, so this isn't a major gap.

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 adds meaning beyond the input schema by clarifying that 'capsule_id' must be a 'known capsule ID', implying it should be an existing identifier. With 0% schema description coverage and only 1 parameter, this compensates adequately, though it doesn't specify format or constraints.

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 verb 'Retrieve' and the resource 'metadata for a specific capsule by its ID', making the purpose specific and unambiguous. It distinguishes from sibling tools like 'search_capsules' by explicitly stating it's for fetching metadata for a known ID, not for searching.

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 ('Use only to fetch metadata for a known capsule ID') and when not to use ('Do not use for searching'), with a clear alternative implied by the sibling tool 'search_capsules'. This gives the agent precise context for tool selection.

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