@@ -16,7 +16,7 @@ import (
16
16
// listCommits creates a tool to get commits of a branch in a repository.
17
17
func listCommits (client * github.Client ) (tool mcp.Tool ,handler server.ToolHandlerFunc ) {
18
18
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" ),
20
20
mcp .WithString ("owner" ,
21
21
mcp .Required (),
22
22
mcp .Description ("Repository owner" ),
@@ -85,7 +85,7 @@ func listCommits(client *github.Client) (tool mcp.Tool, handler server.ToolHandl
85
85
// createOrUpdateFile creates a tool to create or update a file in a GitHub repository.
86
86
func createOrUpdateFile (client * github.Client ) (tool mcp.Tool ,handler server.ToolHandlerFunc ) {
87
87
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 aGitHub repository" ),
89
89
mcp .WithString ("owner" ,
90
90
mcp .Required (),
91
91
mcp .Description ("Repository owner (username or organization)" ),
@@ -164,7 +164,7 @@ func createOrUpdateFile(client *github.Client) (tool mcp.Tool, handler server.To
164
164
// createRepository creates a tool to create a new GitHub repository.
165
165
func createRepository (client * github.Client ) (tool mcp.Tool ,handler server.ToolHandlerFunc ) {
166
166
return mcp .NewTool ("create_repository" ,
167
- mcp .WithDescription ("Create a new GitHub repository" ),
167
+ mcp .WithDescription ("Create a new GitHub repository in your account " ),
168
168
mcp .WithString ("name" ,
169
169
mcp .Required (),
170
170
mcp .Description ("Repository name" ),
@@ -227,7 +227,7 @@ func createRepository(client *github.Client) (tool mcp.Tool, handler server.Tool
227
227
// getFileContents creates a tool to get the contents of a file or directory from a GitHub repository.
228
228
func getFileContents (client * github.Client ) (tool mcp.Tool ,handler server.ToolHandlerFunc ) {
229
229
return mcp .NewTool ("get_file_contents" ,
230
- mcp .WithDescription ("Get contents of a file or directory" ),
230
+ mcp .WithDescription ("Getthe contents of a file or directory from a GitHub repository " ),
231
231
mcp .WithString ("owner" ,
232
232
mcp .Required (),
233
233
mcp .Description ("Repository owner (username or organization)" ),
@@ -287,7 +287,7 @@ func getFileContents(client *github.Client) (tool mcp.Tool, handler server.ToolH
287
287
// forkRepository creates a tool to fork a repository.
288
288
func forkRepository (client * github.Client ) (tool mcp.Tool ,handler server.ToolHandlerFunc ) {
289
289
return mcp .NewTool ("fork_repository" ,
290
- mcp .WithDescription ("Fork a repository" ),
290
+ mcp .WithDescription ("Fork aGitHub repository to your account or specified organization " ),
291
291
mcp .WithString ("owner" ,
292
292
mcp .Required (),
293
293
mcp .Description ("Repository owner" ),
@@ -344,7 +344,7 @@ func forkRepository(client *github.Client) (tool mcp.Tool, handler server.ToolHa
344
344
// createBranch creates a tool to create a new branch.
345
345
func createBranch (client * github.Client ) (tool mcp.Tool ,handler server.ToolHandlerFunc ) {
346
346
return mcp .NewTool ("create_branch" ,
347
- mcp .WithDescription ("Create a new branch" ),
347
+ mcp .WithDescription ("Create a new branch in a GitHub repository " ),
348
348
mcp .WithString ("owner" ,
349
349
mcp .Required (),
350
350
mcp .Description ("Repository owner" ),