Skip to main content
Glama

list_repositories

List public GitHub repositories for a user with metadata like stars, forks, and languages. Sort results and limit output as needed.

Instructions

Lists all public repositories for GitHub user: octocat. Returns repository metadata including name, description, stars, forks, language, topics, and last update date. Supports sorting by stars, forks, updated date, or name. Optionally limit the number of results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
use_cacheNoWhether to use cached data (default: true)
sort_byNoSort repositories by this field
limitNoMaximum number of repositories to return
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It discloses return metadata and sorting/limiting behavior, but lacks critical details such as pagination, rate limits, authentication needs, error handling, or whether the operation is read-only (implied but not stated). For a tool with no annotations, this leaves significant behavioral gaps.

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?

The description is front-loaded with the core purpose, followed by return details and optional features. Every sentence adds value without redundancy, making it efficient and well-structured.

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?

Given no annotations and no output schema, the description provides basic purpose and return metadata but lacks completeness for a tool with 3 parameters and behavioral complexity. It should cover more about usage context, error cases, or output format to be fully adequate.

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 the schema fully documents parameters. The description adds minimal value by mentioning sorting options and limiting results, which are already covered in the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

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?

The description clearly states the specific action ('Lists all public repositories'), identifies the resource ('for GitHub user: octocat'), and distinguishes from siblings by focusing on listing repositories rather than details, stats, or other repository-related operations. It explicitly mentions the scope ('public repositories') and target user.

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 like 'get_repository_details' or 'search_projects_by_tech'. The description mentions sorting and limiting options but does not explain use cases or prerequisites for selecting this tool over siblings.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/marwaniiwael18/GitInsight-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server