Skip to main content
Glama

Agent Data Tools: Compliance and checks

GitHub search: find repositories

github_search
Read-only

GitHub repository search: find public repositories by keyword, optionally in one language, ordered by best match, stars, forks or last update, with each result's stars, forks, language, topics, license and last-push date; 1-20 results. Repositories only, no user profile data. Use to find a library for a task, discover the popular projects on a topic or check what already exists before building. Example: q=x402 payments. Price $0.002/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": {
      "q": "<q>"
    },
    "name": "github_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesSearch words, e.g. x402 payments (GitHub search qualifiers such as topic:mcp or stars:>100 work too)
sortNobest-match (default), stars, forks or updated
countNoNumber of results, 1-20 (default 10)
languageNoOnly repositories mainly in this language, e.g. TypeScript

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / count / maximum
      Previous value: -9007199254740991New value: +20
    • changedInput schema / properties / count / minimum
      Previous value: --9007199254740991New value: +1
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, non-idempotent, non-destructive), the description discloses the return shape (stars, forks, language, topics, license, last-push date), the 1-20 result ceiling, and the pricing model including that failed calls are free and repeats are not. That cost/repeat detail is the practical explanation of the non-idempotent hint and is exactly the kind of context annotations cannot carry.

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?

Purpose and scope are front-loaded in the first clause, and the sentence carries a lot of useful payload without filler. It is a dense run-on with semicolons, and "each call is charged, so repeats are not free" partially duplicates the earlier price statement.

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?

With no output schema, the description takes on the job of describing return fields and does so (stars, forks, language, topics, license, last-push date). Combined with scope limits, result ceiling, and billing behavior, an agent has everything needed to decide and call correctly.

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 100%, so all four parameters are already documented, including the topic:/stars: qualifier syntax and the enum values. The description restates sort dimensions and the 1-20 count but adds no semantics the schema lacks, so the baseline of 3 applies.

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 ("find public repositories by keyword") plus the dimensions that shape the search (language, sort order, result count). It also draws a boundary against adjacent tools with "Repositories only, no user profile data," and the example query anchors the intent.

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?

Gives three concrete when-to-use scenarios (find a library for a task, discover popular projects on a topic, check what already exists before building) plus a worked example. It does not explicitly route the agent to sibling tools such as github_repo or github_releases for single-repo or release lookups, so the exclusions are only partial.

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.

Resources