Skip to main content
Glama
codeocean

Code Ocean MCP Server

Official
by codeocean

update_metadata

Modify metadata for data assets including name, description, tags, mount path, and custom fields to maintain accurate organization and searchability.

Instructions

Update metadata for a data asset including name, description, tags, mount, and custom metadata.

Supports updating various metadata types:

  • Basic metadata: name (display name), description (free text description)

  • Organization: tags (keywords for searching), mount (default mount folder path)

  • Custom metadata: admin-defined custom fields with user-set values according to deployment configuration (string, number, or date fields in unix epoch format)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
data_asset_idYes
update_paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
sizeNo
tagsNo
typeYes
filesNo
mountYes
stateYes
createdYes
last_usedYes
provenanceNo
descriptionNo
source_bucketNo
app_parametersNo
failure_reasonNo
transfer_errorNo
custom_metadataNo
last_transferredNo
nextflow_profileNo
contained_data_assetsNo
Behavior2/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. While it mentions what can be updated, it doesn't describe important behavioral aspects: whether this is a partial or full update, what permissions are required, whether changes are reversible, how conflicts are handled, or what the response looks like. For a mutation tool with zero annotation coverage, this is insufficient.

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 starts with a clear purpose statement, then provides a bulleted breakdown of metadata types. Each bullet adds value by explaining the semantics of different metadata categories. There's minimal waste, though the custom metadata explanation could be slightly more concise.

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

Completeness3/5

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

Given that this is a mutation tool with no annotations but with an output schema (which handles return values), the description is moderately complete. It explains what can be updated well, but lacks behavioral context about permissions, side effects, or error conditions. The parameter semantics are strong, but overall completeness is limited by missing usage guidelines and behavioral transparency.

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 provides excellent parameter semantics despite 0% schema description coverage. It clearly explains what each metadata field represents: name as 'display name', description as 'free text description', tags as 'keywords for searching', mount as 'default mount folder path', and custom metadata as 'admin-defined custom fields'. This adds substantial value beyond the bare schema, though it doesn't cover the data_asset_id parameter.

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

Purpose4/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: updating metadata for a data asset. It specifies the types of metadata that can be updated (name, description, tags, mount, custom metadata), which provides good specificity. However, it doesn't explicitly differentiate this from sibling tools like 'rename_computation' or 'get_custom_metadata', which would require a 5.

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 provides no guidance on when to use this tool versus alternatives. There are multiple sibling tools that might overlap (rename_computation, get_custom_metadata, create_data_asset), but the description offers no comparison or context for choosing this specific update tool over others. It simply describes what the tool does without usage context.

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