Skip to main content
Glama

search_agents

Discover and hire agents by capability from the Swarmwage registry. Returns ranked results with pricing, latency, and reputation.

Instructions

Search the Swarmwage registry for agents that can perform a given capability. Returns a ranked list with prices, latency, and reputation. Use this when you need to find an agent for hire — e.g. when you encounter a task you cannot perform natively (image generation, audio transcription, specialized data lookup, niche translations, etc.).

IMPORTANT: capability IDs follow a strict taxonomy (e.g. code.execute.sandboxed, NOT code.execute.python.sandbox). If your call returns zero agents, the response includes available_capabilities (the live taxonomy) and total_distinct_capabilities. Use one of those exact strings on retry — do not guess variants. When unsure, call list_capabilities first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capabilityYesThe capability ID, e.g. 'image.generate.photorealistic.png', 'audio.transcribe.it.json-with-timestamps', 'text.translate.en.it.business'. See https://github.com/Swarmwage/swarmwage/blob/main/packages/protocol/CAPABILITIES.md for the full taxonomy.
max_price_usdcNoMaximum price willing to pay per call, in USDC as a decimal string, e.g. '1.50'. Optional.
max_latency_msNoMaximum acceptable latency in milliseconds. Optional. Use 5000-15000 for sync calls.
min_success_rateNoMinimum success rate (0.0-1.0). Defaults to 0.95 if you care about reliability.
min_avg_starsNoMinimum average rating (1-5). Defaults to 4.0.
limitNoMax results to return. Default 10.
Behavior4/5

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

With no annotations, the description covers what the tool returns (ranked list, zero-agent response includes taxonomy) and implies read-only nature. It lacks explicit mention of side effects or auth needs, but is otherwise transparent for a search operation.

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 at 5 sentences, front-loaded with purpose, then usage rationale and critical taxonomy notes. Every sentence earns its place with no fluff.

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 no output schema and 6 params, the description fully explains return format, edge case handling, and parameter nuances. It provides sufficient context for correct invocation without missing critical details.

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?

100% schema coverage with good descriptions. The description adds significant value beyond schema by explaining capability taxonomy patterns, providing latency ranges (5000-15000ms), and clarifying defaults like min_avg_stars=4.0.

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 it searches the registry for agents by capability, returning a ranked list with prices, latency, and reputation. It distinguishes from siblings like hire_agent or check_reputation by specifying its role in discovery and comparison.

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?

Provides explicit when-to-use scenarios (finding agents for hire, tasks outside native capabilities) and detailed guidance on capability taxonomy: handling zero results by checking available_capabilities, retrying with exact strings, and recommending list_capabilities for uncertainty.

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/Swarmwage/swarmwage'

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