Skip to main content
Glama

search_agents

Search the Swarmwage registry for agents by capability, returning ranked results with price, 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?

No annotations provided, so the description carries full burden. It explains behavioral aspects such as the strict capability taxonomy, the inclusion of available_capabilities on zero results, and the retry logic. It does not cover authorization or rate limits, but provides sufficient context for the tool's core behavior.

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 two paragraphs, front-loaded with purpose. While it contains some extra details, every sentence serves a purpose (main action, usage case, troubleshooting, alternative advice). Could be slightly more concise but well-structured.

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 has 6 parameters, all documented in the schema, and no output schema exists, the description adequately covers what is returned (ranked list with key fields) and provides retry and taxonomy guidance. It is complete enough for effective agent invocation.

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 coverage is 100%, but the description adds meaningful context beyond schema definitions. It explains the capability ID taxonomy with example strings and a link, and provides usage hints for optional parameters (e.g., default values for min_success_rate and min_avg_stars).

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 searches the Swarmwage registry for agents by capability, returning a ranked list with prices, latency, and reputation. It distinguishes from siblings by specifying its unique function of finding agents for hire, contrasting with tools like hire_agent or list_capabilities.

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?

Explicitly tells when to use (when encountering a task you cannot perform natively) and provides guidance on what to do if no agents are found (retry with exact taxonomy from available_capabilities or call list_capabilities first). However, it does not explicitly state when not to use this tool.

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