Skip to main content
Glama

Search across every project

search
Read-onlyIdempotent

Search tasks, notes, and log entries across all projects to find why a decision was made or whether an approach was already tried. Hits are ranked by relevance and include matching snippets.

Instructions

Full-text search over tasks, log entries and notes across ALL your projects, ranked by relevance. Ask in words -- 'why did we choose scrypt over bcrypt' -- terms match independently and more matches rank higher; quote a phrase to require it. Stemmed in English and Turkish, with a substring match underneath so 'FileSync' finds readFileSync. Each hit carries a snippet from the matching part. Filters narrow, never search: kinds (['dead_end'] = has this been tried?, ['decision'] = why is it like this?; tasks have no kind), project (account-wide notes still come back). Leave both out unless the question has a shape. Not searched: file paths, project names. At most limit hits (default 30). Ask in the language the log is written in -- a Turkish note is found by a Turkish question -- and if a sentence finds nothing, retry with only the distinctive identifiers (3+ characters; shorter ones match as whole words only).

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": "search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindsNoOnly these kinds: 'dead_end' (has this been tried?), 'decision' (why is it like this?), 'gotcha' (what will bite me?). Tasks have no kind and are excluded.
limitNo
modelNoYour model id, e.g. 'claude-opus-5'.
queryYes
projectNoNarrow to one project (slug, name or path). Leave it out to search everything; account-wide notes come back either way.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.8
    • changedInput schema / properties / kinds / items / enum
      Previous value: -[
      -  "note",
      -  "decision",
      -  "dead_end",
      -  "question",
      -  "handoff",
      -  "convention",
      -  "gotcha",
      -  "preference"
      -]New value: +[
      +  "note",
      +  "decision",
      +  "dead_end",
      +  "question",
      +  "handoff",
      +  "convention",
      +  "gotcha",
      +  "preference",
      +  "profile",
      +  "stack",
      +  "workflow"
      +]
  2. First observedv0.1.4

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnlyHint, idempotentHint), yet the description adds substantial behavior: relevance ranking, independent term matching, phrase quoting, English/Turkish stemming, a substring layer beneath stemming, per-hit snippets, a default limit of 30, and the caveat that filters narrow but never broaden search. It even discloses that account-wide notes still surface under a project filter — exactly the kind of surprise an agent would otherwise be blind to.

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 and ranking model, and nearly every clause carries information (query syntax, filters, language, retry). The cost is density: it is one long block of semicolon-chained clauses and inline parentheticals, which is harder to scan than a short bulleted structure would be.

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?

Without an output schema, the description still explains what a hit contains (a snippet from the matching part) and that at most `limit` hits come back, so the return shape is inferable. For a read-only search tool with five params, nothing an agent needs in order to call it correctly is missing.

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?

Adds real meaning beyond the 60%-covered schema: `kinds` values are tied to question intent and it warns that tasks have no kind and are therefore excluded; `project` is clarified as slug/name/path with the account-wide-notes side effect; `limit` default is stated. The `model` parameter is never mentioned in the description, though the schema documents it, leaving one small gap.

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 set — 'Full-text search over tasks, log entries and notes across ALL your projects, ranked by relevance' — and explicitly bounds scope with 'Not searched: file paths, project names', which separates it from the file/context siblings. An agent can tell what corpus this queries without opening the schema.

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?

Gives explicit routing conditions for the optional filters ('Leave both out unless the question has a shape') and maps each filter value to a question shape ('dead_end' = has this been tried?). It also prescribes recovery behavior: ask in the language the log is written in, and retry with distinctive identifiers if a sentence returns nothing. Both when-to-use and when-not-to-use are present.

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