Skip to main content
Glama

search_repos

Search Spokes memory for repositories that may contain reusable code or logic before building a new solution. Use task keywords to find relevant repos.

Instructions

Search Spokes memory for repositories that may contain reusable code/logic for a task. Call this BEFORE inventing new solutions.

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_repos"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesTask description or keywords, e.g. 'music picker playlist ui'
task_idNoActive Spokes task id for audit journaling

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden, and it does disclose two useful traits: the search targets an indexed memory store rather than live code, and results are hedged ("may contain") so they are candidates to inspect, not verified matches. It omits result shape, ranking/limit behavior, and what happens when nothing is found.

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?

Two short sentences with no waste, and the action plus its timing constraint are front-loaded so an agent can act on the first read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter, non-destructive search with no output schema and no annotations, the definition covers purpose and timing but leaves the return contract and follow-up path unspecified. An agent knows when to call it but not what it will get back or whether to then call get_repo_card or search_in_repo.

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 67%, and the schema itself already explains query and task_id while limit carries only min/max/default. The description adds nothing about how to phrase the query, how limit affects results, or whether task_id is required for journaling. Adequate but no value added beyond the schema.

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 Spokes memory for repositories containing reusable code/logic. The domain qualifier ("Spokes memory") distinguishes it from a live filesystem walk, but it does not explicitly separate itself from the sibling search_in_repo, so an agent must infer that this is repo-level discovery rather than in-repo file search.

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?

"Call this BEFORE inventing new solutions" gives a clear triggering condition for the tool's use, which is genuinely actionable. However, it gives no when-not guidance and names no alternative for the adjacent cases (already know the repo, or need file-level matches) covered by siblings like search_in_repo or list_repos.

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