Skip to main content
Glama

edgegate_compile_genie

Submit a genie compile job for a target device chipset, choosing one of three input formats: HuggingFace repo, ONNX artifacts, or precompiled bundle. Returns a job ID to poll for progress.

Instructions

Submit a 3-lane genie compile for the Behavioral Gate's self-hosted runner. Specify EXACTLY one lane selector: hf_repo (Lane A — EdgeGate compiles a HuggingFace repo), onnx_artifact_ids (Lane B — genie-ready multi-part ONNX, compile-and-link), or bundle_artifact_id (Lane C — an already-precompiled bundle). Returns a job_id to poll. Requires workspace admin access.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hf_repoNoLane A: a HuggingFace repo id EdgeGate compiles into a genie bundle.
device_idYesTarget device chipset id the bundle compiles for, e.g. sm8550.
workspace_idYes
onnx_artifact_idsNoLane B: genie-ready multi-part ONNX artifact ids to compile-and-link.
bundle_artifact_idNoLane C: an already-precompiled genie bundle artifact id.
Behavior3/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 does disclose that the operation is asynchronous (returns a job_id to poll) and requires workspace admin access. However, it omits any side effects (e.g., resource consumption, persistence of the compile job) and does not clarify whether the operation is destructive or creates persistent artifacts. This is better than nothing but not fully transparent.

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?

Two sentences, front-loaded with the main action, and every phrase earns its place. It packs lane definitions, return value, and authorization requirement without redundancy. No fluff or repetition of schema details.

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?

The tool has no output schema, but the description covers the key return behavior ('Returns a job_id to poll') and mentions the required admin scope. It explains the three compile lanes sufficiently. Minor gaps exist—such as explicitly stating that workspace_id and device_id are always required or pointing to a status-check sibling—but the core context is complete enough for a competent agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 80%, so the schema already documents most parameters. The description adds meaningful value by labeling each selector as Lane A/B/C and explicitly stating 'EXACTLY one lane selector', which clarifies the mutual exclusivity that the schema alone does not convey. This is more than the baseline 3.

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+resource ('Submit a 3-lane genie compile') and clearly distinguishes the tool from siblings by enumerating the three distinct lanes (hf_repo, onnx_artifact_ids, bundle_artifact_id). This is far more specific than a generic 'compile' and matches the unique purpose of this tool.

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 explicitly instructs the user to specify exactly one lane selector and names each option, giving clear context about required inputs. It also states a prerequisite (workspace admin access). However, it does not explicitly contrast with sibling tools like edgegate_llm_compile or mention when NOT to use this tool, which prevents a 5.

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