Skip to main content
Glama

edgegate_import_huggingface_model

Import a public Hugging Face model's pre-built ONNX file into EdgeGate, registering it as an Artifact. Returns an artifact_id for edgegate_create_pipeline, with optional polling for completion.

Instructions

Import a public Hugging Face model that contains a pre-built ONNX file. EdgeGate downloads the file and registers it as an Artifact. Returns the artifact_id you can pass directly to edgegate_create_pipeline. Polls until the import completes by default (poll_for_completion=true); set to false to return immediately with the job id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameNo
revisionNomain
hf_repo_idYes
workspace_idYes
max_poll_secondsNo
poll_for_completionNo
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the download behavior, artifact registration, return value, and polling behavior including the default and the override option. This goes beyond the schema by explaining the side effects and the meaning of poll_for_completion.

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 two sentences, front-loaded with the primary purpose, and contains no filler. Every sentence contributes actionable information, making it efficient and well-structured.

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 six parameters and no output schema, the description covers the main flow, return value, and polling behavior. It is largely sufficient for an agent to select and invoke the tool, though it does not mention any HuggingFace integration prerequisites or error handling, leaving minor gaps.

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 coverage is 0% and the description does not enumerate all parameters. It does clarify poll_for_completion semantics and implies hf_repo_id/filename, but it leaves workspace_id, revision, and max_poll_seconds under-explained, relying on the schema's types and defaults.

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 uses a specific verb ('Import') with a specific resource ('public Hugging Face model that contains a pre-built ONNX file') and outcome ('registers it as an Artifact'). This clearly distinguishes it from siblings like edgegate_connect_huggingface, which is about connection rather than import.

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 gives a clear trigger condition ('contains a pre-built ONNX file') and workflow context ('Returns the artifact_id you can pass directly to edgegate_create_pipeline'). It does not explicitly name alternatives or exclusions, but the condition is explicit enough for an agent to decide when to use this tool.

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/frozo-ai/edgegate-mcp'

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