Skip to main content
Glama
@prompthub/mcp
by LionelHao

PromptHub: search repos

prompthub_search

Search public PromptHub repositories by keyword to find prompt repos; returns summaries without file trees, with optional type, model, and sort filters.

Instructions

Search public PromptHub repositories by keyword. Returns repo summaries (no file trees). An empty query returns no results.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "prompthub_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch keywords.
sortNoSort order; default relevance.
typeNoFilter by repo type; default all.
modelNoRegistry model slug to rank for (e.g. claude-sonnet-4-6). Overrides host detection / PROMPTHUB_MODEL for this call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose return shape ("repo summaries (no file trees)") plus the empty-query behavior. It says nothing about authentication or visibility limits beyond "public", pagination, or result caps, which matter for a search endpoint.

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?

Three short sentences with no filler, and the core purpose is front-loaded ahead of the return-shape and edge-case notes. Every sentence carries actionable information.

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?

With four parameters fully documented in the schema and no output schema, the description supplies the essential return-shape and empty-input facts. Minor gaps around pagination and result limits keep it from being fully complete for a search tool.

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%, so per-parameter meaning is already carried by the schema, including sort/type enums and the model override. The description corroborates keyword semantics and implicitly frames results as summaries rather than trees, adding slight value without contradicting anything.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Search public PromptHub repositories by keyword"), which is clearly distinct from mutation siblings like create_repo or delete_repo. It does not name the closest read alternative, prompthub_list_repos, so the boundary between searching and listing is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the word "Search" and the keyword framing; there is no explicit statement of when to search versus list repositories or get a single repo. The one edge case given ("An empty query returns no results") is helpful but is about input handling, not tool selection.

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