Skip to main content
Glama

Estimate a deployment

estimate_deployment
Read-onlyIdempotent

Preview GPU deployment cost in credits before committing. Validate template, GPU, and options to see the price per timeout window and receive warnings on VRAM, compatibility, credits, or host availability.

Instructions

Dry run: resolve the template/variant and GPU, validate the plan, and return the cost in credits for one timeout window plus warnings (too little VRAM, non-Blackwell card, insufficient credits, no idle hosts). Nothing is created. Call this before create_deployment and show the user the cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gpuYesGPU market slug, short name or address, e.g. "nvidia-5090" or "5090" (see list_gpus).
variantNoVariant id, e.g. "i2v-32gb". Required when the template has variants.
replicasNoParallel jobs.
scheduleNoCron expression (5 fields). SCHEDULED strategy only.
strategyNoSIMPLE runs once and stops at the timeout (predictable cost). SIMPLE-EXTEND keeps extending while credits last. SCHEDULED needs schedule. INFINITE keeps a replacement job ready.SIMPLE
templateNoTemplate id or name, e.g. "minimax-h3" (see list_templates). Omit when passing job_definition.
job_definitionNoA custom Nosana job definition object instead of a template.
timeout_minutesNoMinutes the GPU is reserved per job. Nosana refuses anything below 60. Big templates such as MiniMax H3 want 120 or more.
include_community_gpusNoAllow community GPU markets, not only the premium ones the dashboard shows.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive; the description reinforces that and adds real behavioral detail: it returns warnings for known failure modes (VRAM, non-Blackwell, insufficient credits, no idle hosts) and computes one-timeout-window credit cost. This is more than the annotations alone provide.

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?

Three dense sentences, front-loaded with the key concept 'Dry run' and a clear behavioral distinction, then specifics and a next-action recommendation. No wasted words or repetition of schema content.

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?

For a complex 9-parameter tool with no output schema, the description conveys what is returned (cost + warnings) and the side-effect-free nature of the call. It slightly under-specifies how strategy/schedule affect the estimate for non-SIMPLE strategies, but the schema's strategy descriptions and the tool's pre-flight role make it adequate.

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?

The input schema has 100% parameter description coverage and documents all defaults/enums, so the schema does the heavy lifting. The description only adds high-level references to template/variant, GPU, and timeout window, which is helpful but not necessary because each parameter is already fully described.

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 names a specific verb ('resolve', 'validate', 'return the cost'), resource (deployment plan) and outcome (credits for one timeout window plus warnings). It explicitly contrasts with create_deployment ('Nothing is created'), so an agent can distinguish it from its sibling.

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

Usage Guidelines5/5

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

'Call this before create_deployment and show the user the cost' is an explicit when-to-use instruction with the relevant alternative named. 'Dry run' and 'validate the plan' also signal it is the pre-flight planning tool rather than a mutating action.

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

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/SohniSwatantra/nosana-mcp'

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