Skip to main content
Glama

github_repos_list_for_user

List a GitHub user's repositories with pagination, sorting, and type filters to find owned or member projects by username.

Instructions

List repositories for a user

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": {
      "username": "<username>"
    },
    "name": "github_repos_list_for_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoThe page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
sortNoThe property to sort the results by.
typeNoLimit results to repositories of the specified type.
per_pageNoThe number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
usernameYesusername
directionNoThe order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.4
  2. Removed
  3. Addedv1.0.2

TDQS

C2.8/5.0
Behavior2/5

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

The description lacks any behavioral details beyond the minimal purpose. No annotations are present, so the description fails to disclose whether the operation is read-only, what kind of authentication is needed, or any side effects. For a list operation, the description should at least imply safety, but it does not.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise (4 words), but it sacrifices clarity and completeness. While it is not verbose, it lacks essential context that would help an agent. A slightly longer description could improve usability without becoming wordy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of the GitHub API and the presence of 6 parameters, the description is insufficient. It does not explain pagination, return format, or how the output behaves. With no output schema, the description should provide more context, but it fails to do so.

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 the baseline is 3. The description adds no additional meaning for the parameters; it does not mention any parameters or their roles. The schema already describes each parameter adequately, so the description does not add value beyond the schema.

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 'List repositories for a user' clearly states the verb (list) and resource (repositories), with scope 'for a user'. However, it does not distinguish from sibling tools like github_repos_list_for_authenticated_user or github_repos_list_for_org, which could cause confusion about which tool to use for a specific query.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. There is no mention of prerequisites, context, or scenarios where this tool is preferred over similar listing tools for authenticated users or organizations.

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