Skip to main content
Glama

get_repository_info

Check if a GitHub repository is cloned locally and retrieve its metadata, including analysis suitability.

Instructions

Get information about a repository and whether it's already cloned locally.

Args:
    repo_url: GitHub repository URL
    working_directory: Directory where analysis folder should be located

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_urlYes
working_directoryNo.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_urlYesGitHub repository URL
repo_nameYesRepository name
local_pathYesLocal path where repository would be/is stored
already_clonedYesWhether repository is already cloned locally
working_directoryYesWorking directory used
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that it checks local clone status, implying filesystem access, but does not specify network requirements, authorization, or other behaviors. It adds some context but lacks completeness.

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 concise with a clear first sentence stating purpose, followed by parameter descriptions. No unnecessary words or redundancy.

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

Completeness4/5

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

Given the tool's simplicity (2 parameters, no nested objects, output schema exists), the description adequately covers purpose and parameter meanings. However, it lacks usage guidelines and behavioral details that would be helpful for an agent, but it's not severely incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It adds meaningful descriptions: 'GitHub repository URL' for repo_url and 'Directory where analysis folder should be located' for working_directory, which go beyond the schema's just names and types.

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 'Get information about a repository and whether it's already cloned locally', providing a specific verb and resource. It distinguishes this from sibling tools like 'analyze_repository' which likely performs analysis, and 'list_generated_guides' which lists guides.

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 explicit guidance on when to use this tool versus alternatives. It does not mention prerequisites, limitations, or when not to use it. Given the existence of sibling tools, this is a significant gap.

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/lucidopus/codeglance-mcp'

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