Skip to main content
Glama

get_trending_models

Retrieve currently trending models on Hugging Face by live trending score. Filter by task (e.g., text-generation) and adjust result count up to 50.

Instructions

List models trending on Hugging Face right now, by live trending score.

Use this for "what's popular", "what's new", or "what are people using lately". For a specific keyword or an exhaustive search, use search_models.

Args: task: Optional exact Hub pipeline tag to filter by, e.g. "text-to-image" or "text-generation". Leave empty for all tasks. limit: Maximum number of results (default 10, capped at 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNo
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations provided, so description fully bears the transparency burden. It describes the tool as listing trending models by score, which implies a read-only operation. No destructive or rate-limiting info needed given simplicity.

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?

Concise, well-organized: first sentence states purpose, then usage guideline, then parameter details. Every sentence adds value. No fluff.

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 tool's simplicity and existence of output schema, the description is largely complete. Covers purpose, usage, and parameters. Could mention that results are live, but not essential.

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?

Input schema has no descriptions (0% coverage), so description compensates fully. Explains task parameter as 'optional exact Hub pipeline tag' with examples like text-to-image, and limit parameter with default (10) and cap (50).

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?

Clearly states it lists models trending on Hugging Face by live trending score. Distinguishes from search_models by specifying it's for 'what's popular' rather than keyword search.

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?

Explicitly provides usage context: 'Use this for "what's popular", "what's new", or "what are people using lately".' Directly names alternative tool search_models for specific keyword or exhaustive search.

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/farnoosh-afshinrad/model-card-chat-mcp'

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