Skip to main content
Glama

hub_search

Read-onlyIdempotent

Search MOGA Hub’s component package library by keyword or browse recent packages without sign-in to find and preview assets for import.

Instructions

Search MOGA Hub, the online library of component packages (no sign-in): words match a package's name, title, description or tag; with none, the newest. Each result: name, tag, title, description, version, size, imports, preview pictures (light, dark) and, when this project has it, imported { tag, version }. Bring one in with hub_import. Fails when offline; nothing local depends on it.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hub_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent and non-destructive behavior, but the description adds real value beyond them: it discloses the offline failure mode, the no-authentication requirement, that nothing local depends on the call, and how results differ per project (the imported field appears only when this project has the package). Pagination/rate-limit behavior around the limit parameter is not disclosed, so it falls short of a 5.

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?

Front-loaded with the core action in the first clause, then progressively adds matching rules, result shape, and the import hand-off. The result-field enumeration is dense but justified given there is no output schema; the parentheses and semicolons make it slightly harder to scan than it needs to be.

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?

For a simple two-parameter read tool with no output schema, listing the returned fields (including preview picture variants and the conditional imported object) is exactly the right compensation. The only material gap is that the limit parameter's behavior—and therefore how to retrieve more than one page of results—is left undocumented.

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 coverage is 0%, so the description must carry the load. It explains query semantics well (matching against name, title, description or tag, and defaulting to newest when empty), but the limit parameter is never mentioned—no hint of default result count, maximum, or whether more results can be paged in.

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?

Names a specific verb and resource ("Search MOGA Hub, the online library of component packages") and scopes it further by explaining what a query matches. It also distinguishes itself from the import sibling by explicitly routing follow-up work to hub_import, so an agent can separate discovery from installation.

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?

Clear context for when to use: search the online hub for component packages, with an explicit note that no sign-in is needed and a pointer to hub_import for actually bringing a package in. It lacks an explicit statement about when not to use it (e.g., versus a local/workspace search sibling), which keeps it short of a 5.

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

Deploy Server

Other Tools