Skip to main content
Glama
meshive

meshive-mcp

Official
by meshive

Register Model

register_model

Registers a Hugging Face model for serving and returns a registration_id to deploy it later; model files download only when deployed.

Instructions

Register a Hugging Face model for serving and return its registration_id for deploy_serving. It costs nothing: the model downloads only when deployed. Run detect_model first; registering the same repo again returns the existing registration. framework is vllm (default) or sglang; hf_token_id (from source_credentials) is for private repos. Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.

Input Schema

NameRequiredDescriptionDefault
nameNo
frameworkNo
workspaceNo
hf_token_idNo
operation_idNo
context_lengthNo
huggingface_repoYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the description correctly spends its words elsewhere: no cost at registration, download deferred until deploy, private-repo auth via hf_token_id, and retry/timeout semantics tied to operation_id. The only weakness is a mild tension with idempotentHint=false, since 're-registering returns the existing registration' reads as idempotent behavior—though it is arguably about identity rather than effect.

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 core purpose, cost model, and prerequisite are front-loaded in the first two sentences, with mechanics after. The operation_id paragraph is somewhat generic boilerplate that likely repeats across all write tools, but it is justified given the retry guidance.

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?

An output schema exists, so return values need no explanation, and annotations carry the safety profile; the description supplies the non-structured essentials (prerequisite, deferred download, dedupe, auth, retry). Only the undocumented optional parameters (name, workspace, context_length) leave a real gap for an agent configuring a registration.

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 0%, so the description must compensate, and it only partly does: it explains `framework` (vllm default or sglang), `hf_token_id` provenance (from source_credentials), and `operation_id`, but says nothing about `name`, `workspace`, or `context_length`. Roughly half of the 7 parameters remain undocumented anywhere.

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?

States a specific verb and resource ('Register a Hugging Face model for serving') plus the immediate output contract ('return its `registration_id` for deploy_serving'), which chains it to the correct downstream sibling. It is clearly distinguishable from detect_model, models, model_sets, and deploy_serving.

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?

Explicitly names a prerequisite ('Run detect_model first'), states the repeat-call behavior ('registering the same repo again returns the existing registration'), and routes the result to deploy_serving. It also explains the operation_id discipline and what to do after a timeout (check operation_status).

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