Skip to main content
Glama
guille-gallo

MCP GitHub Validator

by guille-gallo

get_repo_structure

Retrieve the file and folder structure of a GitHub repository to understand project organization before running validation checks.

Instructions

Get the file/folder structure of a GitHub repository. Useful for understanding project organization before validation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxDepthNoMaximum depth for file tree traversal (default: 3)
repoNameYesName of the repository to inspect
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 of behavioral disclosure. The description does not state whether this is a read-only operation, whether it makes network calls, how large the output could be, or how the structure is returned (which is significant given no output schema exists). For a tool with zero annotation coverage, this is a notable gap.

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?

Two concise sentences that front-load the core purpose and add a usage hint. No wasted words. Slightly more detail on behavior could improve it, but it is efficiently written.

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?

For a relatively simple two-parameter inspection tool with full schema coverage, this is reasonably complete. However, with no output schema and no annotations, the description doesn't clarify return format or behavioral characteristics (read-only nature, network dependency). Given the tool's simplicity, this is adequate but not rich.

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 both parameters (repoName, maxDepth) are documented in the schema itself. The description adds no parameter-level information beyond what the schema provides. Since the schema fully covers parameters, baseline 3 is appropriate.

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 states a specific verb+resource ('Get the file/folder structure of a GitHub repository') and adds context about understanding project organization. It distinguishes from siblings — 'validate_repo' and 'list_react_repos' clearly serve different purposes. Could name the repo-required precondition but otherwise purpose is clear.

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?

The description provides clear context for when to use this tool ('before validation'), which frames its role in a workflow. It doesn't explicitly mention alternatives or exclusions, but the second sentence gives useful situational guidance relative to sibling tools like validate_repo.

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/guille-gallo/mcp-github-validator'

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