Skip to main content
Glama

Search repositories

search_repos
Read-only

Search open-source GitHub repositories by keywords (hybrid keyword + semantic search) with optional language, topic and star filters.

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1).
sortNo
queryNoSearch words, e.g. "vector database". May be empty if a filter is given.
topicNoTopic slug, e.g. "machine-learning".
languageNoPrimary language as GitHub names it, e.g. "Rust", "TypeScript".
per_pageNoResults per page (default 20, max 50).
min_starsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false. The description adds a genuinely useful behavioral detail beyond them: results come from hybrid keyword + semantic matching, which tells the agent results may not be exact literal matches. It omits pagination/result-size behavior, but the schema covers that.

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?

A single sentence, front-loaded with the verb and resource, with filters trailing. Nothing redundant or padded.

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 7-parameter search tool with no output schema, the description covers the primary filters but leaves the sort enum, pagination behavior and what a result contains unexplained. Adequate to start a call, not complete enough to call optimally.

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 71%, so the schema does most of the work (examples for query, topic, language, defaults for page/per_page). The description restates language, topic and star filtering but adds no meaning beyond the schema, and says nothing about sort, which is the only enum parameter.

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?

The description gives a specific verb (search) and resource (open-source GitHub repositories) plus the mechanism (hybrid keyword + semantic). It only implicitly distinguishes itself from siblings like similar_repos and topic_repos, so an agent must infer that this is the keyword-entry point rather than a discovery tool.

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?

Usage is implied by 'search by keywords' and the optional filters, but no sentence says when to prefer this over topic_repos or similar_repos. The agent must infer the routing decision from the sibling names alone.

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.