Skip to main content
Glama

List accessible GitHub repositories

sources.github.repositories.list
Read-only

List repositories accessible through an authorized project's stored GitHub connection. If disconnected, call sources.github.connection.get and wait for the user to authorize in the browser before retrying. Public repository validation and deployment do not require this tool.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sources.github.repositories.list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoone-based page; defaults to 1
per_pageNorepositories per page from 1 to 100; defaults to 50
project_idNoproject in the selected organization; omit only when the organization has one project
organization_idNoorganization membership to use for this call; omit only when the account has one current membership

Output Schema

NameRequiredDescriptionDefault
repositoriesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description adds the auth precondition (an authorized stored connection) and the disconnection failure mode with its remedy. That is exactly the kind of operational context annotations cannot convey.

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?

Three sentences, each earning its place: what it lists, what to do on failure, and what it is not needed for. The primary purpose is front-loaded.

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 an output schema present, return values need not be described, and annotations cover the safety profile. Preconditions, failure handling, and scope exclusions are all present, so nothing an agent needs to invoke this correctly is missing.

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 description coverage is 100%, so page, per_page, project_id, and organization_id are already documented in the schema. The description adds no format, default, or interaction detail beyond that, so the baseline 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 (list repositories) scoped to those 'accessible through an authorized project's stored GitHub connection.' The scoping phrase alone distinguishes it from siblings like sources.github.validate and sources.github.connection.get, without 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?

Gives an explicit recovery path when the connection is missing ('call sources.github.connection.get and wait for the user to authorize in the browser before retrying') and an explicit exclusion ('Public repository validation and deployment do not require this tool'). Both when-to-use and when-not are stated.

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