Skip to main content
Glama
IBM

IBM watsonx.data MCP Server

Official
by IBM

create_presto_engine

Create a Presto engine in watsonx.data to enable SQL querying across your data lakehouse. Configure node types, autoscaling, and catalog associations.

Instructions

Create a new Presto engine in watsonx.data.

EXAMPLE PAYLOAD: { "origin": "native", "display_name": "My-Presto-Engine", "description": "Presto engine with autoscaling", "tags": [], "associated_catalogs": [], "configuration": { "size_config": "custom", "coordinator": { "node_type": "starter", "quantity": 1 }, "worker": { "node_type": "starter", "quantity": 1 }, "autoscaling_enabled": true, "autoscaling_config": { "type": "cpu", "target": 40, "min_worker_quantity": 1, "max_worker_quantity": 18, "query_termination_grace_period_min": 1, "scale_in_stabilization_window_min": 5, "scaling_step_size": 1 } } }

Args: origin: (required) "native" display_name: (required) Display name for the engine configuration: (required) Engine configuration with required fields: - size_config: (required) "custom" (recommended) or predefined options (may be supported) - coordinator: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1} - worker: (required) {"node_type": typically "starter" or "cache_optimized", "quantity": 1-18 recommended} - autoscaling_enabled: (optional) boolean to enable autoscaling - autoscaling_config: (required if autoscaling_enabled is true) autoscaling configuration object (see AUTOSCALING section) associated_catalogs: (optional) List of catalog names to associate description: (optional) Engine description 50 characters max engine_id: (optional) Custom engine ID (must match pattern: presto-0 through presto-1000) tags: (optional) Tags for the engine

AUTOSCALING (OPTIONAL): To enable autoscaling, include these fields in the configuration:

  • autoscaling_enabled: true (boolean)

  • autoscaling_config: { "type": "cpu" or "memory", "target": 1-100 (target utilization percentage, e.g., 40), "min_worker_quantity": 1-18 (minimum workers), "max_worker_quantity": 1-18 (maximum workers), "query_termination_grace_period_min": 1-120 (grace period before terminating queries), "scale_in_stabilization_window_min": 5-60 (stabilization window for scale-in), "scaling_step_size": 1-18 (nodes to add/remove per scaling action) }

PREDEFINED SIZE CONFIGS: If using predefined configs, exact node types and quantities must match:

  • starter: 1 coordinator + 1 worker (both bx2.48x192)

  • small: 1 coordinator + 3 workers (both ox2.16x128)

  • medium: 1 coordinator + 6 workers (both ox2.16x128)

  • large: 1 coordinator + 12 workers (both ox2.16x128)

Returns: Dict with created engine details including engine_id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
originYes
display_nameYes
configurationYes
associated_catalogsNo
descriptionNo
engine_idNo
tagsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations provided, so the description carries the full burden. It details configuration options and constraints (e.g., engine_id pattern, description length), but does not disclose side effects (e.g., permissions needed, cost, idempotency, or conflict handling). Lacks information about the creation process length or error scenarios.

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 with clear sections (example payload, args, autoscaling, predefined configs, returns). It is somewhat lengthy but organized, and the key information is front-loaded. Some redundancy exists between the example and the parameter descriptions, but overall it is efficient.

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 complexity (nested objects, many optional fields), the description covers configuration details, autoscaling, predefined sizes, and return value. It includes constraints and examples. However, it lacks information on error handling, validation behavior, and does not mention that engine names must be unique or that certain configurations may fail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It thoroughly explains each parameter, including required/optional status, types, nested structures (e.g., configuration with coordinator/worker/autoscaling), constraints (e.g., min/max quantities), and provides an example payload. The autoscaling section details all fields. This adds significant meaning beyond the schema.

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 'Create a new Presto engine in watsonx.data.' It provides specific verb and resource, and the details (predefined configs, autoscaling) align with Presto engine creation. While it doesn't explicitly compare with sibling tools (e.g., create_prestissimo_engine), the tool name and context make the purpose unambiguous.

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?

No explicit guidance on when to use this tool versus alternatives like create_spark_engine or create_prestissimo_engine. It does not include prerequisites, limitations, or when not to use. The description focuses on the 'how' but not the 'when'.

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/IBM/ibm-watsonxdata-mcp-server'

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