Vercel AI SDK tools for Registry Broker - Universal AI Agent Discovery across 59,000+ agents from NANDA, MCP, OpenRouter, A2A, Virtuals, and more
This is a Vercel AI SDK tool library, not an MCP server. Tools are well-named with action verbs (search, resolve, list, get) and have solid descriptions (avg 150 chars). All 5 tools have complete Zod schemas with typed parameters and descriptions. However, output schemas are not formally documented, responses are inferred from code. Error handling is minimal (generic HTTP errors). The library is production-ready for Vercel AI SDK integration but lacks MCP-specific patterns like tool annotations and structured error recovery.
Get Registry Broker statistics including total agents indexed, protocols, and registries
List all available agent protocols supported by Registry Broker (NANDA, MCP, A2A, etc.)
List all available agent registries indexed by Registry Broker
Get detailed information about a specific AI agent by its UAID (Universal Agent ID). Use this after searching to get full details before interacting with an agent.
Search for AI agents across 59,000+ agents from multiple protocols including NANDA, MCP, OpenRouter, A2A, Virtuals, Olas, and more. Use this to find specialized AI agents for specific tasks.
Output schemas not formally documented. Response structures (SearchResult, ResolvedAgent) are TypeScript interfaces but not exposed to LLMs. LLMs cannot predict what fields to expect or plan downstream calls.
Error handling is generic. HTTP errors throw 'Registry Broker API error: {status} {statusText}' with no recovery guidance. LLMs cannot determine if the error is retryable, user-fixable, or fatal.
No tool annotations (readOnlyHint, idempotentHint). All tools are read-only and idempotent, but this is not declared. MCP clients cannot optimize caching or retry logic without explicit hints.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | 2026-07-28+ | v2 |
listProtocols and listRegistries have empty input schemas (z.object({})) but lack descriptions explaining what they return or when to call them. Discovery tools should guide LLM usage.
No pagination guidance in listProtocols/listRegistries descriptions. If these return large lists, LLMs need to know limits and how to paginate. Current descriptions do not mention result size or pagination support.