Skip to main content
Glama

apihub_search

Read-only. Searches onboarded APIHub services by free-text query, with optional category, price, and type filters. Returns up to 10 matches ranked by uptime and endpoint count, each with slug, description, endpoints array, min price in microdollars, provider name, and quality score. No authentication required. Use this when you need to find an API by capability; use apihub_list_services to browse without a query, apihub_search_external to include the external x402 catalog, or apihub_get_service when you already know a slug. Does not call any upstream API or debit credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOptional filter. 'api' = standard REST APIs, 'content' = content gateways that proxy a fixed upstream URL.
queryYesRequired free-text query matched against service name and description (case-insensitive substring match). Use 1-3 keywords describing the capability you want, e.g. 'weather' or 'stock price'.
categoryNoOptional exact-match filter. Valid values: ai, data, search, finance, media, infra, communication, content, travel.
max_price_microdollarsNoOptional upper bound on price per request in microdollars (1 USD = 1,000,000 microdollars, so 10000 = $0.01). Services whose cheapest endpoint exceeds this are excluded.

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so thoroughly. It discloses that the operation is read-only, requires no authentication, returns up to 10 matches with detailed fields, ranks by uptime and endpoint count, and explicitly states it does not call any upstream API or debit credits. This exceeds what annotations would typically provide.

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 appropriately sized at about five sentences, each earning its place: read-only status, purpose, return format, auth requirement, usage guidance, and side-effect disclosure. It is front-loaded with the most critical info and contains no filler or 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?

The description is complete for a search tool with no output schema. It covers purpose, filters, result count and ranking, return fields, auth, alternatives, and side effects (no upstream call/no credits). The absence of an output schema is compensated by explicitly listing the fields included in each match, making the tool fully self-contained.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3 per guidelines. The description adds minimal extra meaning beyond the schema—it mentions 'free-text query' and 'optional category, price, and type filters' but does not provide new syntax or semantics. The schema already fully documents each parameter, including valid values and units, so the description adds marginal value.

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 uses a specific verb ('Searches') and resource ('onboarded APIHub services'), clearly distinguishing it from siblings. It explicitly names alternatives (apihub_list_services, apihub_search_external, apihub_get_service) and states the scope of the search, making the tool's purpose unambiguous.

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?

The description provides explicit when-to-use guidance: 'Use this when you need to find an API by capability' and then lists alternatives with their specific use cases (browse without a query, include external catalog, already know a slug). This directly tells the agent when to choose this tool over siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct role: balance check, service discovery (list/search), service details, paid calls (onboarded vs external vs content), and credit top-up. The similar pairs (search vs search_external, call vs call_external) are separated by onboarded vs external scope, and descriptions explicitly guide selection.

Naming Consistency4/5

All names share the 'apihub_' prefix and use snake_case, with verbs like get, list, search, call, read. However, 'balance' and 'topup' deviate from the verb_noun pattern, making the convention slightly inconsistent but still predictable and readable.

Tool Count5/5

With 9 tools, the set is well-scoped for a credit-based API marketplace. Each tool serves a distinct step in the workflow (discover, inspect, call, manage funds), with no redundant tools and nothing missing at the broad level.

Completeness4/5

The surface covers the full lifecycle: searching and listing services, retrieving details, making calls to both onboarded and external APIs, reading content, checking balance, and topping up credits. Minor gaps like transaction history or service ratings exist but do not hinder the core purpose.