Skip to main content
Glama
mcp-server-github

mcp-server-github

by DebuggingMax

list_repositories

Retrieve repositories for a GitHub user or organization, with optional sorting and type filters; omit the username to query the authenticated user.

Instructions

List repositories for a user or organization

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": "list_repositories"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort field
typeNoType filter
usernameNoUsername (omit for authenticated user)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and it discloses almost nothing. It does not say that private repositories require authentication, whether results are paginated, how large result sets are returned, or whether omitting username falls back to the authenticated user (that detail lives only in the schema). Read-only is only weakly implied by "List".

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?

A single front-loaded sentence with no filler, and the scope qualifier appears immediately. It is arguably too terse for a listing tool with filtering and pagination behavior, but nothing in it is wasted.

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?

All parameters are optional and fully documented in the schema, and no output schema exists, so the bar for the description is modest. Still, for a list operation the description omits pagination behavior and authentication-dependent visibility, which an agent needs to call it well.

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% and each of the three parameters has its own description, including the key "omit for authenticated user" note, so the schema does the heavy lifting. The description adds the user-versus-organization framing, which clarifies username scope but nothing about sort or type filtering.

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 ("List repositories") plus the scope ("for a user or organization"), which matches the username parameter's meaning. It does not distinguish itself from siblings like search_repositories or get_repository, so the agent must infer the boundary from names alone.

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 when-to-use or when-not-to-use guidance is given; the description never mentions search_repositories or get_repository, which are the obvious alternatives for repository lookup. The only implicit signal is the word "List" versus "search" or "get", which is thin.

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