Skip to main content
Glama

hub_search

Search all project cards and journal entries, including archived months, by keyword, task ID, or name to find matching lines and locations. Use it when the owning project is unknown.

Instructions

Full-text search across every project card and the entire journal, archived months included. Returns each matching line with its location. START HERE whenever you know a keyword, a task id or a name but not which project owns it — searching once beats guessing project × status against hub_task_list, which is how sessions have actually wasted calls. Also the way to find where something was discussed or decided.

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": {
      "query": "<query>"
    },
    "name": "hub_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNoreturn everything, uncapped. By default long lists are trimmed (and, where the description says so, long texts cut) to fit an agent context, and what was left out is reported in `truncated`.
queryYesplain-text substring, case-insensitive

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.88
    • changedInput schema / properties / full / description
      Previous value: -"return everything, uncapped. By default long lists are trimmed to fit an agent context and what was left out is reported in `truncated`."New value: +"return everything, uncapped. By default long lists are trimmed (and, where the description says so, long texts cut) to fit an agent context, and what was left out is reported in `truncated`."
  2. Changed1 schema field changedv0.9.0
    • addedInput schema / properties / full
      Added value: +{
      +  "description": "return everything, uncapped. By default long lists are trimmed to fit an agent context and what was left out is reported in `truncated`.",
      +  "type": "boolean"
      +}
  3. First observedv0.1.6

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden: it discloses the indexed corpus (all cards plus journal, including archived months) and the per-line return shape, which is the key behavioral fact for a search tool. It stops short of stating that the tool has no side effects, whether indexing is live or delayed, or how matching is ranked, so a small gap remains for an unannotated tool.

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?

Purpose and scope are front-loaded in the first two sentences, and the routing instruction follows in the right place. The clause 'which is how sessions have actually wasted calls' is persuasive filler that could be cut, but it is short and the rest of the text carries no redundancy.

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 only two parameters, no annotations, and no output schema, the description covers what an agent needs: what corpus is searched, what a hit looks like, and when to prefer this over a sibling. Coverage of the `full` flag is left entirely to the schema, which is acceptable given 100% coverage, but the lack of any note on ordering or result volume keeps it from a 5.

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 `query` and `full` are already documented, and the description adds nothing about them beyond restating that this is a text search. The 'matching line' phrasing loosely hints at the output granularity controlled by `full`, but the truncation contract itself lives in the schema, not in the prose. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Full-text search across every project card and the entire journal') and adds scope detail (archived months included) plus the return shape ('each matching line with its location'). An agent can distinguish it from hub_task_list, hub_recall, or hub_get on the strength of that sentence alone.

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?

Explicit routing: 'START HERE whenever you know a keyword, a task id or a name but not which project owns it,' with a named alternative (hub_task_list) and the failure mode it avoids ('searching once beats guessing project × status'). It also names a second use case, finding where something was 'discussed or decided', so both the trigger and the trade-off are stated rather than implied.

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