Skip to main content
Glama
codeocean

Code Ocean MCP Server

Official
by codeocean

download_and_read_a_file_from_data_asset

Read file content from a Code Ocean data asset by specifying the asset ID and file path to access stored computational resources.

Instructions

Use when you want to read the content of a file from a data asset

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_asset_idYes
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/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 of behavioral disclosure. The description only states what the tool does ('read the content'), with no information about permissions, rate limits, file size constraints, error handling, or what 'download_and_read' entails operationally. For a tool with no annotations, this is a significant gap in transparency.

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 a single, straightforward sentence that efficiently conveys the core purpose. It's appropriately sized and front-loaded with the key information. There's no wasted verbiage, though it could benefit from more detail given the lack of annotations and schema coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 2 parameters with 0% schema coverage, no annotations, and an output schema exists (which helps), the description is incomplete. It doesn't address parameter meanings, behavioral aspects, or usage context relative to siblings. For a tool that likely involves file I/O operations, more guidance is needed to be complete.

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?

The input schema has 2 parameters with 0% description coverage, meaning the schema provides no semantic information. The description doesn't mention parameters at all, failing to compensate for the schema gap. It doesn't explain what 'data_asset_id' or 'file_path' represent, their formats, or examples. This leaves parameters completely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the purpose as 'read the content of a file from a data asset', which is clear but vague. It specifies the action (read) and resource (file from data asset), but doesn't distinguish it from sibling tools like 'download_and_read_a_file_from_computation' or 'get_data_asset_file_urls' that might serve similar purposes. The description is functional but lacks specificity about what makes this tool unique.

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

Usage Guidelines2/5

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

The description starts with 'Use when you want to read the content of a file from a data asset', which provides basic context but no explicit guidance on when to use this tool versus alternatives. It doesn't mention when not to use it, prerequisites, or compare it to siblings like 'list_data_asset_files' or 'get_data_asset_file_urls'. This leaves the agent with minimal direction 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