Skip to main content
Glama

OpenData Best Web Intelligence (x402 USDC)

Hugging Face Models Datasets and Spaces Data: Search Hugging Face models, datasets, Spaces and papers

huggingface_co__search
Read-only

[Hugging Face Models Datasets and Spaces Data] Search Hugging Face models, datasets, Spaces and papers. Query public Hugging Face models, datasets, Spaces, daily papers, collections, files and repository metadata. x402 price: $0.0020/row USDC (max 20 rows; 0 rows / errors are never charged).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "huggingface_co__search"
  }
}

Input Schema

NameRequiredDescriptionDefault
revNoBranch, tag or commit identifier for fileMeta, fileDownload, pathsInfo and commits. Default main.main
nameNoRepository name. Combined with owner when repoId is empty.
sortNoListing order: downloads, likes, createdAt or lastModified. Leave empty for the default order; trending also uses the default order.
ownerNoRepository owner or organization. Combined with name when repoId is empty.
queryNoSearch models, datasets or Spaces by keyword, or search text within dataset content. Empty targets use the form example; set a listing filter such as author to browse without a keyword.
authorNoFilter catalog listings by a Hugging Face author or organization name.
repoIdNoRepository identifier such as openai/whisper-tiny, paper identifier or collection slug. Set the matching searchType; this field alone does not select detail mode.
languageNoDataset language code, such as en, zh, ja or ar. This filters datasets only; it is not a country selector or search translation setting.
maxPagesNoListing page setting from 1 to 20, with a default of 1. The Actor can increase the number of pages to meet maxResults, up to 20.
modalityNoFilter dataset listings by content type, such as text, audio or image.
repoKindNoRepository type for files, paths, discussions, commits or references. Leave empty to use the type inferred from searchType, normally models.
wantFullNoRequest additional metadata in catalog listings. Disabled by default; available output fields depend on the source.
commitShaNoReserved setting. Leave empty.
filePathsNoRepository-relative paths for pathsInfo, such as config.json. For fileMeta or fileDownload, the first path is used when targetPath is empty.
paperDateNoDate for dailyPapers in YYYY-MM-DD format. Leave empty for today in UTC.
detailUrlsNoHugging Face model, dataset, Space, paper, collection or tree page links; hf.co links and owner/name are accepted. All URLs in this batch share one maxResults allowance.
filterTagsNoAdditional catalog tags, such as license:mit, diffusers or task_categories:question-answering. For model tasks, use pipelineTag.
maxResultsNoMaximum rows per query or repository input; detailUrls shares one allowance across its entire batch. Default 70, collected in parts of 70; your maximum charge also limits delivery, and Free platform plan users have a 200-row run cap and 10-run allowance for this Actor.
searchTypeNoChoose the catalog, detail or metadata mode to collect. Papers and collections do not filter by keyword; options labeled not available do not collect data.models
targetPathNoRepository-relative file path for fileMeta or fileDownload, such as config.json. Also accepted by pathsInfo when filePaths is empty.
wantConfigNoRequest configuration information in catalog listings. Disabled by default; this does not add a raw model configuration object to output rows.
pipelineTagNoFilter model listings by task, such as text-generation, text-classification or fill-mask.
spaceFilterNoFilter Space listings by toolkit, such as gradio, docker, streamlit or static.
datasetSplitNoDataset split name, such as train, test or validation. Required with an explicit repository for datasetRows; use the matching split for datasetSearch and datasetStatistics too.
expandFieldsNoAdditional listing fields to request, such as author, cardData or siblings. Only supported output fields are retained.
datasetConfigNoDataset configuration name, such as plain_text or default. Required with an explicit repository for datasetRows; use the matching configuration for datasetSearch and datasetStatistics too.
datasetLengthNoPage size for datasetRows or datasetSearch, from 1 to 100. Defaults to 100; delivered rows are still limited by maxResults.
datasetOffsetNoStarting row index for datasetRows or datasetSearch. Default 0.
enrichDetailsNoInclude public author or organization profile details when available. Enabled by default; does not collect phone numbers or street addresses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the description earns credit for adding genuinely new behavior: per-row cost ($0.0020/row USDC), a 20-row ceiling, and the fact that zero-row results and errors are not billed. It also implies the corpus is public data only. It stops short of describing pagination behavior across maxPages/maxResults beyond the row cap.

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?

Three compact sentences: platform tag, capability statement, then pricing constraint — scope and cost are both front-loaded with no filler. The bracketed platform prefix duplicates the title verbatim, a minor redundancy that costs no comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 29-parameter tool with no output schema, the description covers only the top-level search framing and the billing cap; it never signals that the same tool does file metadata, dataset row extraction, commits, discussions or space runtime. An agent relying on prose alone could under-use the tool, though the fully-described schema mitigates this substantially.

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 100%, so the schema already explains every one of the 29 parameters, including enum semantics for searchType and repoKind. The description adds essentially nothing parameter-level beyond the 20-row limit already stated in the pricing sentence, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource set ("Search Hugging Face models, datasets, Spaces and papers") and names the platform, which cleanly separates it from the sibling search tools for other sites. The only shortfall is that the tool actually exposes ~28 searchType modes (files, commits, datasetRows, pathsInfo, etc.) while the prose names just four, so the stated scope understates the tool.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance; the description never says how to pick among the many searchType modes or when to prefer this over another catalog tool. The only situational hint is the pricing rule ("max 20 rows; 0 rows / errors are never charged"), which is cost guidance rather than usage guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources