Skip to main content
Glama
watsonx Platform MCP Server

watsonx Platform MCP Server

by manjotsidhu

create_asset

Creates a generic asset in a watsonx project using a name, asset type, and optional type-specific attributes or description, enabling project resource registration.

Instructions

Generic asset creation — confirmed live at POST /v2/assets?project_id=... (not /transactional/v2/assets, which is 404). asset_id is present directly at the top level of the response, no defensive extraction needed for this one.

Input Schema

NameRequiredDescriptionDefault
nameYes
asset_typeYese.g. 'data_asset', 'script', or a product-defined type.
attributesNoOpaque per-type payload, becomes the asset's `entity` content. Empty for a bare data_asset.
project_idYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description carries most of the burden. It usefully discloses the response shape ('asset_id is present directly at the top level', no defensive extraction), which matters since there is no output schema, but it says nothing about duplicate-name handling, validation errors, or permission requirements for a create operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the purpose, but a large share of the text is debugging trivia (the /transactional/v2/assets 404 note) that costs the agent attention without changing how the tool is called. The genuinely valuable sentence, about the response shape, is buried in parentheses.

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?

For a 5-parameter mutation tool with no output schema, the return-shape note is a meaningful addition. However, prerequisites, error behavior for invalid asset_type values, and how attributes maps to the resulting entity are absent, leaving the definition partial for its complexity.

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 description coverage is only 40%: name and project_id have no descriptions at all, and asset_type/attributes are only partially documented. The description adds no parameter meaning beyond referencing project_id as a URL query value, so it fails to compensate for the coverage gap.

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 opening clause 'Generic asset creation' gives a clear verb+resource, and 'generic' hints at a default create path. It does not, however, distinguish this from sibling create tools such as upload_asset_file or explain what 'generic' excludes, so sibling differentiation is incomplete.

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?

There is no when-to-use guidance: nothing says when to pick create_asset over upload_asset_file, or what prerequisites (an existing project, permissions) must hold. The only routing information given is an internal endpoint URL, which is implementation trivia rather than usage guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.