Skip to main content
Glama

Plan a model deploy (free)

plan_deploy
Read-onlyIdempotent

What serving a Hugging Face model takes, before anything is rented: the GPU memory it needs and the machines it fits on right now, best value first, each with its hourly price and a rough speed. Free; rents and changes nothing. Call it first whenever the person wants a model running (to chat with, call from code, generate images, video or speech, or run evals against), tell them the price, then deploy_model with the option's node_id and gpu_count.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "model": "<model>"
    },
    "name": "plan_deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYesA Hugging Face model id or link, for example Qwen/Qwen3-8B; for llama.cpp, owner/repo:QUANT.
engineNoDefault vllm. omni = vLLM-Omni (image, video, speech, audio).
hf_tokenNoA Hugging Face token, for a gated or private model.
extra_argsNoThe person's own engine options, to check them before renting.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered structurally; the description still earns credit by adding that the call is free, has no side effects, and orders results best-value first with prices and rough speeds. It omits operational traits an agent might need, such as latency for large models, behavior on gated/private models when hf_token is absent, or failure modes for an unknown model id.

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 opening clause states the outcome before any setup detail, and every subsequent clause carries real information (free, non-mutating, best-value ordering, the deployment handoff). It is slightly run-on as a single chained sentence, but nothing is padding.

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?

With no output schema present, the description takes on the burden of describing the response and does so fully: GPU memory estimate, fitting machines, ordering, price and speed per option. Combined with a fully documented four-parameter schema and annotations covering safety, an agent has everything needed to call it and interpret the result.

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 description coverage is 100%, so the schema already explains model format, the engine enum and its omni variant, hf_token for gated models, and extra_args as pre-check options. The description adds no parameter-level meaning beyond that — its mention of node_id and gpu_count refers to the returned option, not to any input — so the baseline 3 applies.

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 and resource — planning a Hugging Face model deploy before anything is rented — and enumerates the return contents (GPU memory required, matching machines, hourly price, rough speed, best-value ordering). It also distinguishes itself from deploy_model by stating it rents and changes nothing, so an agent can pick between the two without opening the schemas.

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?

It gives an explicit trigger — 'Call it first whenever the person wants a model running' — with concrete use cases (chat, code calls, images, video, speech, evals) and names the follow-up tool plus the exact arguments to hand over (node_id and gpu_count). The only gap is the inverse case: it never says when to skip planning and go straight to rent_gpu or deploy_model, e.g. when the person already has a target instance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources