Skip to main content
Glama

search_my_repositories

Search locally indexed personal GitHub repositories to find existing code patterns, libraries, and project setups before planning features or solving domain problems.

Instructions

Search the user's personal GitHub repositories indexed in the local vault.

ALWAYS call this tool during architectural planning (plan-mode) whenever designing a feature, choosing a library, setting up project tooling, or solving a domain problem (for example: LLM evaluation, agents, CI gates, templates, MCP servers, or data pipelines) to check how the user already solved or structured similar problems in their own GitHub repositories, complementing external documentation such as Context7.

Args: query: Search terms (e.g. "karasu-eval", "ruff pyright makefile", "fastapi sqlite"). repo_filter: Optional exact repository name to restrict the search. file_extension: Optional file extension filter (e.g. ".py", ".md", "toml"). limit: Maximum number of ranked matches to return (default 8, max 50).

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
repo_filterNo
file_extensionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It discloses a meaningful constraint — results only cover repos already indexed in the local vault — and that matches are "ranked," but it says nothing about read-only/safety profile, auth needs, index staleness, or latency, leaving gaps an agent would want before trusting it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Structure is sound — purpose, then when-to-use, then args — and it is front-loaded. However, the capitalized "ALWAYS call this tool" mandate with a long parenthetical list of example domains (LLM evaluation, agents, CI gates, templates, MCP servers, data pipelines) is heavier than needed and dilutes the core routing signal.

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?

An output schema exists, so return values need not be explained, and the args are fully covered. What remains thin is the behavioral envelope (read-only nature, indexing freshness) for a tool with zero annotations, but overall an agent has enough to call it correctly.

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 description coverage is 0%, so the description must compensate, and it largely does: all four args are documented with concrete query examples, "exact repository name" for repo_filter, extension examples for file_extension, and the limit default/max. Minor residual ambiguity (e.g. whether limit truncates ranked results, inconsistent dot prefix in "toml") keeps it from a 5.

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?

"Search the user's personal GitHub repositories indexed in the local vault" gives a specific verb (search) plus resource (personal repos) and scopes the corpus to a local index. It is clear enough to separate from a file-reading sibling, but it never names or contrasts an alternative tool, so it stops short of full sibling differentiation.

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?

The description is unusually prescriptive about when to call it (architectural planning, library choice, tooling setup, domain problems) with concrete examples, and positions it as complementary to Context7. It lacks any when-not-to-use guidance or a named alternative on the server itself, which keeps it out of the top band.

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