Skip to main content
Glama

edgegate_connect_huggingface

Store a validated HuggingFace personal access token for a workspace to enable reading private, gated, or Qualcomm-org repositories. Rotates existing tokens and requires admin role.

Instructions

Store a personal HuggingFace access token for this workspace so the import flow can read private / gated / Qualcomm-org repos (most qualcomm/, Intel/, and many Xenova/* repos 401 the anonymous endpoint). The token is validated against HF whoami before encryption and is never echoed in plaintext. If an integration already exists this tool rotates the token. Requires admin role.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesPersonal HuggingFace access token (starts with hf_). Generate one at https://huggingface.co/settings/tokens — Read scope is enough for the import flow.
workspace_idYes
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It discloses validation against HF whoami, encryption, no plaintext echo, token rotation, and admin requirement. It could additionally explain failure behavior on invalid tokens, but this is already a strong disclosure.

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 four sentences, all dense with useful information: primary action, use case, validation, encryption, rotation, and permission requirement. No filler words; everything earns its place.

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?

For a token connection tool with no output schema, the description covers the key operational aspects: purpose, prerequisites, behavior, and outcome conditions. It lacks explicit return value/success criteria, but the behavioral detail and sibling context make it adequately complete for an agent to select and invoke correctly.

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 only 50% (token is documented, workspace_id is not). The description adds context that the token is for this workspace and mentions the import flow, but it does not clarify workspace_id semantics beyond the schema's UUID format. It partially compensates, but not fully.

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 opens with 'Store a personal HuggingFace access token for this workspace,' a specific verb+resource that clearly states the action. It explains the purpose (reading private/gated repos via the import flow) and implicitly distinguishes this from siblings like import_huggingface_model, get_huggingface_integration, and disconnect_huggingface.

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 provides clear context: use when you need the import flow to access private/gated/Qualcomm-org repos. It also notes prerequisite conditions (admin role) and rotation behavior. However, it does not explicitly contrast with alternative anonymous access or the get integration tool, just implies it.

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