Skip to main content
Glama

set_cluster_rate

Set the GPU cost rate per hour for a cluster to enable cost estimates. Requires admin role and updates audit log.

Instructions

Set the GPU cost rate for a cluster.

Required to enable cost estimates (get_cost_estimate). Can be updated at any time. Requires organisation admin role.

Write operation — recorded in the audit log.

Args: cluster_name: Name of the cluster. rate_per_gpu_hour: Cost per GPU per hour (e.g. 2.50 for $2.50/GPU/hr). currency: ISO 4217 currency code (default: USD).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyNoUSD
cluster_nameYes
rate_per_gpu_hourYes
Behavior4/5

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

Without annotations, the description carries full burden. It discloses 'Write operation — recorded in the audit log', indicating it is auditable. It does not detail side effects or validation limits, but the write nature is clear.

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

Conciseness5/5

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

The description is concise with no wasted words. It front-loads the core purpose, then provides brief context and structured parameter details. Every sentence serves a purpose.

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 three parameters, no output schema, and no annotations, the description covers purpose, usage conditions, audit logging, and parameter meanings. It lacks error conditions or return value details, but is otherwise complete.

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?

Schema coverage is 0%, so description must compensate. It provides an Args section with clear explanations: cluster_name as 'Name of the cluster', rate_per_gpu_hour with an example '$2.50/GPU/hr', and currency with default 'USD'. This adds meaningful context beyond schema titles.

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 starts with a clear verb-resource pair 'Set the GPU cost rate for a cluster.' It explicitly states the purpose and distinguishes from siblings like get_cluster_rate and get_cost_estimate by explaining it is required to enable cost estimates.

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?

The description provides usage context: required to enable cost estimates, can be updated at any time, and requires organisation admin role. It lacks explicit when-not-to-use but gives clear prerequisites.

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/VibOpsai/vibops-mcp'

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