Skip to main content
Glama

Server Details

Connect to Hugging Face Hub and thousands of Gradio AI Applications

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.5/5 across 4 of 4 tools scored.

Server CoherenceC
Disambiguation2/5

hf_fs is a multi-purpose tool with search, ls, stat, and cat subcommands that overlap significantly with hub_repo_search and hub_repo_details. An agent could easily select the wrong tool for searching repos or retrieving details, as both hf_fs and hub_repo_search expose search capabilities and both hf_fs's stat and hub_repo_details provide metadata.

Naming Consistency2/5

The tool names use inconsistent prefixes: 'hf_fs' and 'hf_whoami' versus 'hub_repo_details' and 'hub_repo_search'. This creates two naming conventions (hf_ vs hub_repo_), and hf_fs does not follow the descriptive pattern of the other tools.

Tool Count3/5

With only 4 tools, the count is not excessive, but hf_fs is overloaded with many subcommands while the other tools are narrowly scoped. This makes the tool distribution uneven, though the total number is within a reasonable range.

Completeness3/5

The set covers read-only operations well: searching, listing, reading files, retrieving repo details, and checking auth. However, there are no write operations (create, update, delete) for repositories or files, and dataset preview is only available through hub_repo_details, which might be a gap for dataset-focused workflows.

Available Tools

4 tools
hf_fsHugging Face Hub: Find, use and view models, datasets, spaces, buckets, papers, documentation and collections. Get daily papers reports, and browse trending content. A
Read-only
Inspect

Use to access the Hugging Face Hub. Navigate resources with ls, cat, attach, find, stat, and search over hf:// URIs. Roots: hf://models, hf://datasets, hf://spaces, hf://buckets, hf://collections, hf://papers, hf://docs. For papers, ls hf://papers/ARXIV_ID to discover related resources; cat hf://papers/ARXIV_ID/paper.md or metadata.json. Documentation paths include the current version from each product's llms.txt manifest.

Grammar; each token below is one args array element: ls URI [(-R|-r|-lR|-laR|--recursive)] [(-l|-a|-la|-al|--long)] [--glob GLOB] [(-type|--type|--entry-type) TYPE] [--sort SORT] [(-limit|--limit) N] cat URI [RELATIVE_PATH] [(-offset|--offset) N] [(-max-bytes|--max-bytes) N] attach URI [--max-bytes N] stat URI [RELATIVE_PATH] find URI [(-R|-r|--recursive)] [(-name|--name|--glob) GLOB] [(-path|--path) GLOB] [(-type|--type|--entry-type) TYPE] [(-limit|--limit) N] search URI [QUERY...] [(-type|--type|--entry-type) TYPE] [--sort SORT] [--tag TAG] [--kind mcp] [(-limit|--limit) N]

TYPE = file|dir|repo|bucket|collection|paper|link. Type aliases: f=file, d=dir, l=link, model|dataset|space=repo. SORT = createdAt|downloads|likes|lastModified|likes30d|trendingScore|mainSize|id|trending|upvotes. URI uses hf://, a typed shorthand such as models/OWNER/REPO, or a canonical https://huggingface.co URL. QUERY and GLOB are each one string token. Search URI: hf://models|datasets|spaces[/OWNER], hf://collections[/OWNER], any hf://docs scope, or exactly hf://papers; not hf://. Repository and collection searches may omit QUERY to browse or filter; documentation and paper searches require it. Search joins multiple positional QUERY tokens with spaces. Cat and stat join one RELATIVE_PATH token to URI. Attach accepts exactly one complete URI and no RELATIVE_PATH or offset. Discover before access: use search, ls, or find to locate targets; use stat when target type is uncertain; then reuse the returned URI, or the Target URI for links, verbatim. Cat reads confirmed UTF-8 text files only. It rejects repositories, directories, model weights, archives, images, media, Parquet, and other binary content. Use stat for metadata instead. Attach returns a complete JPEG, PNG, or WebP repository or bucket file as image content. It classifies only by file extension, never truncates, and has a default and hard limit of 4 MiB; --max-bytes may only lower it. Find recursively matches names and paths within an owner namespace, repository, or supported documentation scope. Use search—not an unscoped find—for global repository, collection, documentation, paper, or Space discovery. Long-list flags are accepted for compatibility; hf_fs listings are already structured, so they do not alter output. Find is already recursive, so recursive flags are accepted without altering behavior. Space search: hf://spaces uses semantic search; repeat --tag to require tags, or use --kind mcp for --tag mcp-server. hf://spaces/OWNER uses owner-scoped keyword search. Documentation: ls hf://docs for products; search any docs scope; use returned hf:// URIs verbatim. Trending listings: ls hf://models/trending, hf://datasets/trending, or hf://spaces/trending. They return up to 20 entries. Trending paths imply trending order; --sort trending|trendingScore is redundant but valid. Trending papers: ls hf://papers/trending. Sort is route-specific: use it with search or supported owner/collection listings, never with repository file listings or documentation. For global trending repositories, use the /trending listing URI. TYPE filters mixed results; omit it when the URI already fixes the result type. Limits and path-specific behavior are documented at hf://README.md. Omit --limit and --sort unless the request asks for a cap, ordering, or exhaustive results. No pipes, redirects, shell expansion, or multiple commands.

ParametersJSON Schema
NameRequiredDescriptionDefault
cmdYesCommand to execute.
argsYesCommand arguments; each array item is one grammar token.

Output Schema

ParametersJSON Schema
NameRequiredDescription
opYes
lfsNo
uriYes
urlNo
pathNo
sizeNo
typeNo
bytesNo
existsNo
contentNo
entriesNo
sectionNo
warningsNo
arxiv_urlNo
mime_typeNo
namespaceNo
truncatedNo
target_uriNo
next_offsetNo
content_typeNo
published_atNo
daily_papers_uriNo
daily_papers_dateNo
truncation_reasonNo
truncation_messageNo
Behavior5/5

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

The description goes well beyond the readOnlyHint annotation, detailing specific behaviors: 'Cat reads confirmed UTF-8 text files only. It rejects repositories, directories, model weights, archives, images, media, Parquet, and other binary content.' It also discloses Attach's 4 MiB hard limit, file-extension-based classification, and Find's inherently recursive nature. No contradiction with annotations.

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 lengthy but well-structured, with clear sections for grammar, commands, and behavioral notes. While every sentence adds value, the sheer volume makes it less concise than optimal. The front-loaded purpose statement and organized layout earn it a high score, but the density prevents a perfect 5.

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

Completeness5/5

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

Given the tool's complexity (six commands, many flags, URI types, and edge cases), the description is exceptionally complete. It covers all command semantics, filtering, sorting, binary file limitations, trending behavior, and points to hf://README.md for further details. With an output schema present, no critical context is missing.

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?

The input schema only describes cmd and args generically. The description adds a complete grammar for each command, including flags like --recursive, --glob, --type, --sort, --limit, and specifics about URI formats, TYPE aliases, SORT options, and tokenization. This massively enriches parameter understanding far beyond the schema's 100% coverage.

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: 'Use to access the Hugging Face Hub. Navigate resources with ls, cat, attach, find, stat, and search over hf:// URIs.' It specifies the resource (Hugging Face Hub) and the verbs/commands available, distinguishing it from sibling tools like hf_whoami and hub_repo_search which are more specialized.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Discover before access: use search, ls, or find to locate targets; use stat when target type is uncertain.' It also advises against unscoped find for global discovery and instructs to 'Omit --limit and --sort unless the request asks for a cap, ordering, or exhaustive results.' These are clear when-to-use and when-not-to-use directives.

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

hf_whoamiHugging Face User InfoA
Read-only
Inspect

Inspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential values.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds valuable context by explicitly stating it is read-only and 'never returns credential values', providing a strong security guarantee. This goes beyond the annotations, though it partly repeats the read-only hint.

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 concise and front-loaded, using two sentences to convey purpose, scope, and a key security property. Every word earns its place without waste.

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

Completeness5/5

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

Given the tool's simplicity (no parameters), the presence of an output schema, and clear annotations, the description adequately covers the essential contextual information. It explains what the tool does, its read-only nature, and credential safety, making it 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.

Parameters4/5

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

The tool has zero parameters, so the baseline is 4. The schema coverage is vacuously 100%, and the description correctly avoids inventing parameter details. No additional parameter explanation is needed.

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 specifies the tool's function with a specific verb ('inspect') and resource ('Hugging Face authentication context'), listing the exact data covered (account, org memberships, credential access details). It distinguishes itself from sibling tools focused on file systems or repo operations.

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 clearly implies its purpose, but it does not explicitly state when to use this tool versus alternatives like hf_fs or hub_repo_details. No when-not-to-use guidance is provided, so usage context is implied rather than explicit.

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

hub_repo_detailsHub Repository DetailsA
Read-only
Inspect

Get details for one or more Hugging Face repos (model, dataset, or space). Auto-detects type unless specified. For datasets, use operations: overview, dataset_structure, dataset_preview. Use dataset_structure first to discover configs, splits, sizes, and schema. Use dataset_preview only when config and split are known, unless the dataset has a single config/split.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoRow count for dataset_preview. Defaults to 5 and is clamped to 1-100.
splitNoDataset Viewer split. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure.
configNoDataset Viewer config. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure.
offsetNoRow offset for dataset_preview. Defaults to 0.
repo_idsYesRepo IDs for (models|dataset/space) - usually in author/name format (e.g. openai/gpt-oss-120b)
repo_typeNoSpecify lookup type; otherwise auto-detects
operationsNoDetails to return. Defaults to ["overview"]. For datasets, prefer ["overview", "dataset_structure"] first; then call ["dataset_preview"] with config and split.
Behavior4/5

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

Annotations already provide readOnlyHint=true and destructiveHint=false, and the description adds behavioral context by explaining auto-detection of repo type and the recommended ordering of dataset operations. No contradiction with annotations.

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 three sentences long, beginning with the core purpose and followed by targeted guidance for datasets. No redundant or filler content; each sentence 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 tool with 7 parameters and no output schema, the description covers the dataset workflow well, including discovery and preview conditions. It does not detail return shapes, but given the read-only nature and strong annotations, this is sufficient.

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 covers 100% of parameters with descriptions, so baseline is 3. The description adds semantic value by linking operations to parameters (e.g., dataset_structure before dataset_preview, using config/split only when known), exceeding the schema's per-parameter descriptions.

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 'Get details for one or more Hugging Face repos (model, dataset, or space)' with a specific verb, resource, and scope. It differentiates from siblings like hub_repo_search by focusing on details retrieval and mentions auto-detection of repo type.

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?

Provides clear workflow for datasets: 'Use dataset_structure first to discover configs, splits, sizes, and schema. Use dataset_preview only when config and split are known.' This gives explicit context, though it does not mention when NOT to use the tool or direct alternatives among sibling tools.

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

Discussions

No comments yet. Be the first to start the discussion!

Related MCP Servers

View all MCP Servers

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources