Skip to main content
Glama
rohanvinaik

ModelAtlas

by rohanvinaik

hf_build_index

Fetch AI models from HuggingFace or Ollama and index them into a semantic network. Extracts metadata, anchor links, and embeddings, adding to the network with each call.

Instructions

Fetch models and add them to the semantic network.

Runs the full extraction pipeline: fetches models, extracts bank positions,
anchor links, and metadata, then stores everything in the network database.
This is additive — multiple calls enrich the same network.

Args:
    category: Category label for this batch (e.g. "text-generation", "code")
    task: HuggingFace task filter to scope models. If None, uses category.
    source: Source to index from — 'huggingface' (default), 'ollama', or 'all'
    limit: Max models to fetch (default 2000)
    min_likes: Minimum likes threshold (default 5, only for huggingface)
    force: Currently unused; network is always additive

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo
forceNo
limitNo
sourceNohuggingface
categoryYes
min_likesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the full pipeline (fetch, extract, store), the additive behavior, and clarifies that the `force` parameter is unused. This provides good transparency for a mutation tool.

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 description is front-loaded with the main purpose and pipeline summary. The parameter documentation is structured but slightly verbose. Overall, it efficiently conveys key information without excessive wordiness.

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 the complexity (6 params, no output schema details, sibling diversity), the description adequately covers behavior and parameters. It lacks explicit mention of return values, but an output schema exists to provide that.

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

Parameters5/5

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

Despite 0% schema description coverage, the description's docstring explains every parameter in detail, including relationships (e.g., `task` vs `category`), default behaviors, and source-specific constraints (e.g., `min_likes` only for HuggingFace). This adds significant value beyond the schema.

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 clearly states the tool's purpose: 'Fetch models and add them to the semantic network.' It details the extraction pipeline and distinguishes this from sibling tools focused on searching or retrieving single models.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description notes the additive nature ('multiple calls enrich the same network'), which indicates usage context. However, it does not explicitly state when not to use this tool or provide alternatives, leaving the agent to infer usage boundaries.

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/rohanvinaik/ModelAtlas'

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