Skip to main content
Glama

get_workers

Retrieve N working models from distinct providers, verified alive and ranked by tier and latency, for use in translation pipelines or batch evaluation.

Instructions

Get N verified-alive models across N distinct providers, ranked by tier then latency.

The single most common pattern for translation pipelines and batch evaluation: "give me N working models from N different providers". Returns model_ids ready to use with run(model_id=...) or batch_run(model_id=...).

Provider diversity is enforced: at most 1 model per provider. Models are verified alive by default (sends a real prompt to confirm non-empty output).

Args: count: Number of workers to return (default 5) min_tier: Minimum quality tier (default "A") free_only: Only include free models (default false) verified: Verify models produce non-empty output (default true)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
min_tierNoA
verifiedNo
free_onlyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: models are verified alive by default (sends real prompt), provider diversity is enforced (at most 1 per provider), ranking by tier then latency, and return format of model_ids.

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 with a clear structure: summary line, use case context, then detailed parameter explanations. Every sentence adds value without redundancy.

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 4 parameters, no required ones, and an output schema, the description is complete. It covers purpose, behavior, parameter details, and return value context, leaving no gaps for an AI agent to misinterpret.

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?

Schema description coverage is 0%, so the description must add all parameter meaning. The 'Args' section clearly explains each parameter (count, min_tier, free_only, verified) with defaults and semantics, fully compensating for the lack of schema 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 the tool's purpose: 'Get N verified-alive models across N distinct providers, ranked by tier then latency.' It specifies the action, resource, and key constraints, distinguishing it from siblings like 'list_models' or 'get_fastest'.

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?

The description identifies common use cases: 'translation pipelines and batch evaluation' and explains the output is ready for 'run' or 'batch_run'. It provides context for when to use the tool, though it stops short of explicitly stating when not to use 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/srclight/model-radar'

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