Skip to main content
Glama

Start DataLens Spark cluster

datalens_sparkclusters_start

Start a stopped Spark cluster when requested to resume workloads. Confirm completion via lakehouseoperations_get before relying on the cluster.

Instructions

Start a stopped Spark cluster and return the operation.

A cluster is paid for while it runs: start one only when asked to. lakehouseoperations_get says how the operation ended. Experimental API, not measured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cluster_idYesSpark cluster id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.122.1

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (non-read-only, non-destructive, non-idempotent, open-world), yet the description adds real behavioral context the annotations cannot: billing accrues while running, the call returns an operation rather than a completed cluster, how to resolve that operation (lakehouseoperations_get), and the "Experimental API, not measured" caveat.

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?

Front-loaded with the core action, then cost guidance and the operation follow-up; every sentence earns its place. The trailing fragment "Experimental API, not measured" is terse to the point of ambiguity, which slightly dents structure.

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

Completeness5/5

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

For a single-parameter mutation with no output schema, the description covers what an agent needs: the precondition, the cost consequence, the async return, and where to check the result. Annotations carry the safety hints, so nothing material is missing.

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

Parameters3/5

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

Only one parameter (cluster_id) with 100% schema description coverage, so the schema already carries the meaning. The description adds no format or sourcing detail for cluster_id; the baseline of 3 applies for high-coverage schemas.

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 gives a specific verb and resource ("Start a stopped Spark cluster") with the precondition that the cluster must be stopped, which implicitly separates it from datalens_sparkclusters_create and datalens_sparkclusters_stop. It does not explicitly name a sibling to contrast with, so it stops just short of the top mark.

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

Usage Guidelines4/5

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

"A cluster is paid for while it runs: start one only when asked to" is an explicit when-to-use (and when-to-refrain) rule grounded in cost. It does not point to alternatives such as creating a new cluster or starting a TriNo cluster instead, so it lacks the full alternative-routing of a 5.

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

Deploy Server

Other Tools