Skip to main content
Glama

GitHub.Locker

Search GitHub projects

search_projects
Read-onlyIdempotent

Find open-source GitHub projects in the GitHub.Locker catalog by what they do. Use it when the user describes a need or a kind of tool ("a self-hosted alternative to Notion", "a Rust terminal"), and with sort week or month for what is rising within that topic. Every word of the query must appear in the project's name, description, summary, topics or language, so pass short keywords. Returns projects with stars, recent star gains, a one-line summary and links. For what is trending on GitHub overall use trending_projects; for details on one repository use get_project.

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

Input Schema

NameRequiredDescriptionDefault
sortNostars: most-starred first; day, week or month: most stars gained in that period first.stars
limitNoHow many projects to return.
queryYesOne or two short keywords per idea; every word must appear in the project.
languageNoOnly projects whose main language is this, case-insensitive.

Output Schema

NameRequiredDescriptionDefault
totalYesProjects matching the query (more than returned when limited)
projectsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already establish readOnly/idempotent/non-destructive, and the description adds the non-obvious AND-matching rule (every query word must appear in name, description, summary, topics or language), which materially changes how the agent should phrase queries. Listing returned fields (stars, star gains, summary, links) partly restates what the output schema already declares, so it falls just short of a 5.

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?

The scope and trigger come first, the matching constraint next, the return shape after, and the sibling routing last, with no filler sentences; each sentence carries distinct information.

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?

For a 4-parameter read-only search with an output schema and full annotation coverage, the description supplies everything that structured fields cannot: match logic, query-phrasing advice, and disambiguation from both siblings.

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?

With 100% schema coverage the baseline is 3, but the description goes further by explaining the matching semantics behind query ("pass short keywords") and by tying sort values to the intent of surfacing rising projects, which the enum alone does not convey.

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?

"Find open-source GitHub projects in the GitHub.Locker catalog by what they do" gives a specific verb, resource and scope, and the semantic-search framing separates it from trending_projects and get_project without the agent needing to open any 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?

It names the triggering situation with concrete user phrasings ("a self-hosted alternative to Notion", "a Rust terminal"), recommends sort=week/month for rising topics, and explicitly routes to trending_projects for overall trends and get_project for single-repository details.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.