@@ -16,7 +16,7 @@ import (
1616// listCommits creates a tool to get commits of a branch in a repository.
1717func listCommits (client * github.Client ) (tool mcp.Tool , handler server.ToolHandlerFunc ) {
1818 return mcp .NewTool ("list_commits" ,
19- mcp .WithDescription ("Gets commits of a branch in a repository" ),
19+ mcp .WithDescription ("Get list of commits of a branch in a GitHub repository" ),
2020 mcp .WithString ("owner" ,
2121 mcp .Required (),
2222 mcp .Description ("Repository owner" ),
@@ -85,7 +85,7 @@ func listCommits(client *github.Client) (tool mcp.Tool, handler server.ToolHandl
8585// createOrUpdateFile creates a tool to create or update a file in a GitHub repository.
8686func createOrUpdateFile (client * github.Client ) (tool mcp.Tool , handler server.ToolHandlerFunc ) {
8787 return mcp .NewTool ("create_or_update_file" ,
88- mcp .WithDescription ("Create or update a single file in a repository" ),
88+ mcp .WithDescription ("Create or update a single file in a GitHub repository" ),
8989 mcp .WithString ("owner" ,
9090 mcp .Required (),
9191 mcp .Description ("Repository owner (username or organization)" ),
@@ -164,7 +164,7 @@ func createOrUpdateFile(client *github.Client) (tool mcp.Tool, handler server.To
164164// createRepository creates a tool to create a new GitHub repository.
165165func createRepository (client * github.Client ) (tool mcp.Tool , handler server.ToolHandlerFunc ) {
166166 return mcp .NewTool ("create_repository" ,
167- mcp .WithDescription ("Create a new GitHub repository" ),
167+ mcp .WithDescription ("Create a new GitHub repository in your account " ),
168168 mcp .WithString ("name" ,
169169 mcp .Required (),
170170 mcp .Description ("Repository name" ),
@@ -227,7 +227,7 @@ func createRepository(client *github.Client) (tool mcp.Tool, handler server.Tool
227227// getFileContents creates a tool to get the contents of a file or directory from a GitHub repository.
228228func getFileContents (client * github.Client ) (tool mcp.Tool , handler server.ToolHandlerFunc ) {
229229 return mcp .NewTool ("get_file_contents" ,
230- mcp .WithDescription ("Get contents of a file or directory" ),
230+ mcp .WithDescription ("Get the contents of a file or directory from a GitHub repository " ),
231231 mcp .WithString ("owner" ,
232232 mcp .Required (),
233233 mcp .Description ("Repository owner (username or organization)" ),
@@ -287,7 +287,7 @@ func getFileContents(client *github.Client) (tool mcp.Tool, handler server.ToolH
287287// forkRepository creates a tool to fork a repository.
288288func forkRepository (client * github.Client ) (tool mcp.Tool , handler server.ToolHandlerFunc ) {
289289 return mcp .NewTool ("fork_repository" ,
290- mcp .WithDescription ("Fork a repository" ),
290+ mcp .WithDescription ("Fork a GitHub repository to your account or specified organization " ),
291291 mcp .WithString ("owner" ,
292292 mcp .Required (),
293293 mcp .Description ("Repository owner" ),
@@ -344,7 +344,7 @@ func forkRepository(client *github.Client) (tool mcp.Tool, handler server.ToolHa
344344// createBranch creates a tool to create a new branch.
345345func createBranch (client * github.Client ) (tool mcp.Tool , handler server.ToolHandlerFunc ) {
346346 return mcp .NewTool ("create_branch" ,
347- mcp .WithDescription ("Create a new branch" ),
347+ mcp .WithDescription ("Create a new branch in a GitHub repository " ),
348348 mcp .WithString ("owner" ,
349349 mcp .Required (),
350350 mcp .Description ("Repository owner" ),
0 commit comments