Skip to main content
Glama
r28ai

GitHub + Linear Dev Workflows

by r28ai

github_search_code

Read-onlyIdempotent

Search GitHub code by keyword and qualifiers such as language, repo, path, or filename to locate files and usage examples. Returns up to 1,000 results with paging; default branches only.

Instructions

Search code across GitHub. Only default branches are indexed and only files under 384 KB. The query needs a real search term, not just qualifiers. This endpoint allows ten requests per minute and returns at most 1,000 results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qYesThe search query. Combine a term with qualifiers: 'retry in:file language:python repo:owner/name'. Useful qualifiers are in:file, in:path, language:, repo:, org:, user:, path:, filename:, extension:, size:.
pageNoThe page number of the results to fetch. Defaults to 1.
perPageNoThe number of results per page (max 100). Defaults to 30.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: indexing is limited to default branches and files under 384 KB, the rate limit is ten requests per minute, and results are capped at 1,000. These are exactly the operational constraints an agent needs and are not available in the schema or hints.

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?

Four short sentences, front-loaded with purpose and followed by constraints, with no filler. Every sentence carries a distinct, useful fact.

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 search tool with no output schema, the description covers scope, indexing limits, query requirements, rate limit, and result cap. Nothing material an agent needs before invoking it is missing.

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 100%, so the baseline is 3. The description goes further by constraining the 'q' parameter ('needs a real search term, not just qualifiers'), adding a usage rule the schema's qualifier list does not state on its own.

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 code across GitHub'), which cleanly separates it from github_search_repositories and github_search_issues by the indexed resource. It does not explicitly name those siblings, so the differentiation rests on the resource noun rather than an explicit contrast.

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 actionable context: 'The query needs a real search term, not just qualifiers' tells the agent how to construct a valid call, and the indexing limits bound expectations. It never names an alternative tool or a when-not-to-use condition, so it stops short of full routing guidance.

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

Deploy Server

Other Tools