Skip to main content
Glama

get_optimization_recommendations

Identifies cost optimization opportunities in Databricks, flagging idle clusters, oversized resources, and inefficient configurations so you can reduce spend.

Instructions

Identify cost optimization opportunities including idle clusters, oversized resources, and inefficient configurations.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_optimization_recommendations"
  }
}

Input Schema

NameRequiredDescriptionDefault
min_idle_hoursNoMinimum hours a cluster must be idle to be flagged (default: 24)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It never states that this is a read-only scan, whether it looks across all clusters or a single workspace, how expensive/long the call may be, or whether results are recommendations only. It adds the detection categories, which is useful, but leaves the operational profile unstated for a tool with zero annotation coverage.

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?

One efficient sentence that front-loads the core purpose and lists the categories in a natural order. No filler, though it is arguably too short for a tool with no annotations backing it.

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 no-annotation, single-optional-param read tool, the description covers what is found but not the scope of the scan, whether results are paginated, or how recommendations are shaped. Adequate as a minimum viable definition, but an agent still has to guess at scope and safety.

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?

Schema coverage is 100% and the single parameter min_idle_hours is already documented with its default of 24 in the schema. The description never mentions the threshold or how other heuristics (oversized, inefficient) are configured, so it adds nothing beyond the structured field. Baseline 3 applies.

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?

States a specific verb ("Identify") and resource ("cost optimization opportunities") and enumerates the categories detected: idle clusters, oversized resources, inefficient configurations. That makes the tool's output domain clear, but it never distinguishes itself from cost-adjacent siblings such as get_cluster_costs or analyze_spending_trends.

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 guidance on when to pick this tool over the cost-analysis siblings, no prerequisites, and no exclusions. The only hint of usage context is the phrase "cost optimization opportunities," which the agent must extrapolate from.

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