Skip to main content
Glama

lumoz_deploy_custom_model

Deploy any open-weights Hugging Face model, LLM, or fine-tuned classifier (e.g. "meta-llama/Llama-3.1-8B-Instruct", "mistralai/Mistral-7B-v0.1", "Qwen/Qwen2.5-7B-Instruct") to Lumoz serverless GPU compute.

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": {
      "name": "<name>",
      "hf_repo_id": "<hf_repo_id>"
    },
    "name": "lumoz_deploy_custom_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable display name for the deployed model.
taskNoMachine learning task pipeline.text-generation
hf_tokenNoOptional Hugging Face user access token (required for gated repos like Llama-3).
hf_repo_idYesThe Hugging Face model repository ID (e.g. "meta-llama/Llama-3.1-8B-Instruct" or "deepseek-ai/DeepSeek-R1-Distill-Qwen-8B").
descriptionNoOptional model description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but discloses nothing about what deployment entails: no mention of provisioning latency, whether the call is synchronous or returns a job/deployment ID, billing implications of running serverless GPU compute, or whether deployments can be torn down. It only identifies the destination platform and the allowed model class.

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?

A single front-loaded sentence with the verb and destination stated immediately and no filler. The three example repo IDs are somewhat redundant with the schema's hf_repo_id example but still help ground the model class.

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

Completeness2/5

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

For a five-parameter deployment tool with no annotations and no output schema, the description omits critical caller-facing facts: what the call returns (endpoint URL, deployment ID, job handle), how long it takes, and how failures or gated-repo auth rejections surface. These gaps matter because nothing else in the definition covers them.

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 all five parameters (name, hf_repo_id, task, hf_token, description) are already documented including the gated-repo token requirement and the task enum. The description adds no meaning beyond the schema, so the 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 (deploy) and resource (open-weights Hugging Face model/LLM/classifier) with a concrete destination (Lumoz serverless GPU compute), plus example repo IDs that pin down the input domain. It does not explicitly contrast itself with lumoz_run_model or lumoz_train_image_model, so an agent must infer that this creates a hosted deployment rather than running or training one.

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?

The description names no conditions for choosing this over siblings such as lumoz_run_model or lumoz_test_trained_model, no prerequisites, and no exclusions beyond the implicit 'open-weights' qualifier. Usage is only inferable from the verb 'deploy' itself.

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